Comments (13)
Seems related
cosmos/gaia#2756
from ledger-cosmos-go.
I'm getting:
Error: failed to generate ledger key: failed to retrieve device: ledger nano S: no ledger connected
On both Ventura 13.6 and Sonoma 14.0.
Sonoma prompted me if I wanted to allow the Ledger device to connect at the OS level and I explicitly said yes. Perhaps the binary needs to be given explicit permission to use USB now?
from ledger-cosmos-go.
I'm in the same situation.
from ledger-cosmos-go.
I sounds to me that this is related to this https://support.apple.com/en-us/102282 as Tony was suggesting.
We will investigate
from ledger-cosmos-go.
@jleni curiously I can confirm what @zmanian said where older binaries seem to work
from ledger-cosmos-go.
I'm gettin a slightly different error but on the second time that I ran the command it worked fine.
macOS Sonoma 14.0
Ledger NanoS+
Ledger Cosmos app: v2.34.12
> gaiad version
v13.0.0
> gaiad keys add ledger1 --ledger
Error: failed to generate ledger key: failed to recover pubkey: hidapi: unknown failure: address rejected for path m/44'/118'/0'/0/0
Usage:
gaiad keys add <name> [flags]
I just ran the command again and I was able to create the key.
PS:
I was able to reproduce the first error: please, check that you closed LedgerLive or any other app that might be using usb port
> gaiad keys add ledger1 --ledger
override the existing name ledger1 [y/N]: y
Error: failed to generate ledger key: failed to retrieve device: ledger nano S: hidapi: failed to open device
from ledger-cosmos-go.
@ftheirs that seems like a different problem.
I can confirm I have repeatedly tried this and get the exact same error every time.
That includes repeatedly plugging in and unplugging the Ledger, across two different computers, both of which exhibit the same error "ledger nano S: no ledger connected"
from ledger-cosmos-go.
Hey @zmanian, @tony-iqlusion, @jjangg96: there is a new release from ledger-cosmos-go. Can you check if it works on your end? The issue is related to some legacy code for mac os 10.5 and earlier versions.
from ledger-cosmos-go.
Any suggestions where best to try it out?
I tried to use it on Agoric which is our most pressing issue here, however that's currently using v0.11 of ledger-cosmos-go
and v0.13 is not a drop-in replacement:
# github.com/cosmos/cosmos-sdk/crypto/ledger
../../../../../go/pkg/mod/github.com/agoric-labs/[email protected]/crypto/ledger/ledger_real.go:18:10: cannot use device (variable of type *ledger_cosmos_go.LedgerCosmos) as SECP256K1 value in return statement: *ledger_cosmos_go.LedgerCosmos does not implement SECP256K1 (wrong type for method SignSECP256K1)
have SignSECP256K1([]uint32, []byte, byte) ([]byte, error)
want SignSECP256K1([]uint32, []byte) ([]byte, error)
from ledger-cosmos-go.
hey @tony-iqlusion, have you checked this release? There is another team that didn't want to upgrade to v0.13.x because of the breaking changes from Textual mode.
from ledger-cosmos-go.
Okay, that compiled, and I'm getting a slightly different error (the same one @zmanian was getting):
Error: failed to generate ledger key: failed to retrieve device: ledger nano S: hidapi: failed to open device
from ledger-cosmos-go.
FYI, I was able to get agd
to work again using this patch to Agoric from @zmanian: Agoric/agoric-sdk#8462
It bumps hid
to v0.9.2
from ledger-cosmos-go.
Yeap, the issue is related to hid module but it's a dependency from ledger-go and ledger-cosmos-go. Great to hear that it's working on your end too 🎉
from ledger-cosmos-go.
Related Issues (19)
- version check is too strict for custom projects HOT 2
- Test Ledger Integration against Cosmos SDK 0.39 signing changes HOT 10
- Upgrade to latest ledger-go
- FindLedgerTendermintValidatorApp on error should unconditionally Close() the Ledger to avoid leaking
- FindLedgerCosmosUserApp could use a single defer and check on a named return err to close Ledger
- all: unnecessary use of fmt.Errorf for non-formatting errors, could instead use errors.New
- Upgrade from `go dep` to `go mod` HOT 1
- Tag new release or use upstream in sdk HOT 2
- depends on zondax/ledger-go HOT 2
- Refactor/rework release process HOT 1
- Rework fork relations HOT 1
- Unclear code due to unnecessary err value return in FindLedgerCosmosUserApp
- LedgerCosmos.CheckVersion error on unsupported version should display the Ledger major version for a better user experience HOT 1
- LedgerCosmos.GetBip32bytes has pedantic variables and non-idiomatic usages, unnecessary if err != nil, yet could just plainly invoke early returns HOT 1
- LedgerCosmos.getAddressPubKeySECP256K1 sends back wrong HRP length recommendation to user HOT 2
- LedgerCosmos.getAddressPubKeySECP256K1 could use string operations as they are for properly checking runes instead of bytes HOT 1
- Drop CGO HOT 1
- unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wstringop-overflow" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ledger-cosmos-go.