LedgerHQ / app-ssh-agent

Simple SSH and GPG agent for Ledger Blue and Nano S
Apache License 2.0
81 stars 27 forks source link

ledgerblue.commException.CommException: Exception : Invalid channel #12

Open knocte opened 7 years ago

knocte commented 7 years ago

I got this error when trying to connect, and with the Fido app running in the device.

$ python getPublicKey.py 
=> 8002000115058000002c80082b34800000000000000000000000
Traceback (most recent call last):
  File "getPublicKey.py", line 63, in <module>
    result = dongle.exchange(bytes(apdu))
  File "/home/andres/.local/lib/python2.7/site-packages/ledgerblue/comm.py", line 116, in exchange
    response = unwrapResponseAPDU(0x0101, result, 64)
  File "/home/andres/.local/lib/python2.7/site-packages/ledgerblue/ledgerWrapper.py", line 69, in unwrapResponseAPDU
    raise CommException("Invalid channel")
ledgerblue.commException.CommException: Exception : Invalid channel