LedgerHQ / ledgerjs

⛔️ MOVED to monorepo "ledger-live"
https://github.com/LedgerHQ/ledger-live
Apache License 2.0
574 stars 375 forks source link

SECURITY_STATUS_NOT_SATISFIED #550

Open Mae6e opened 3 years ago

Mae6e commented 3 years ago

Hi, I have an error in this line: const result = await btc.getWalletPublicKey("44'/0'/0'/0/0"); return result.bitcoinAddress;

Error at new TransportStatusError (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\errors\dist\index.cjs.js:289:18) at TransportNodeHid.Transport.send (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:59:15) at async getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-app-btc\lib\getWalletPublicKey.js:40:20) at async Btc.getWalletPublicKey (C:\Users\Sazegar\Desktop\Arz4u\node_modules\@ledgerhq\hw-transport\lib\Transport.js:240:16) at async getBtcAddress (C:\Users\Sazegar\Desktop\Arz4u\test.js:36:19) { message: 'Ledger device: Security not satisfied (dongle locked or have invalid access rights) (0x6982)', statusCode: 27010, statusText: 'SECURITY_STATUS_NOT_SATISFIED' }

gre commented 3 years ago

Thanks

Mae6e commented 3 years ago

Thankful. I must choose Bitcoin on my device. I want to generate bitcoin and other currencies addresses, without changing the device. Is there no way? and Control the device by writing my own code