Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Intermittent failure to unwrap APDU responses from device on Mac #55

Open
cmihai opened this issue Feb 25, 2019 · 2 comments
Open

Intermittent failure to unwrap APDU responses from device on Mac #55

cmihai opened this issue Feb 25, 2019 · 2 comments

Comments

@cmihai
Copy link

cmihai commented Feb 25, 2019

Hi. I'm trying to write a custom wallet GUI for the Ledger Nano S (using the default Bitcoin app https://github.com/LedgerHQ/ledger-app-btc on the device itself), and I'm having trouble making it work reliably on Mac OS.

On Linux and Windows, querying the device works fine, however, on Mac, it fails about 50% of the time. Inspecting the packets returned by hid_read shows me that the device sometimes returns the bytes 00 01 00 01 05 00 bf 00 01 04, instead of the 00 01 00 01 05 00 00 <size> <response> which I expect. Would anyone know what might be going wrong here?

@cmihai
Copy link
Author

cmihai commented Mar 14, 2019

@btchip Would you have any ideas?

@vineetpant
Copy link

hello i am facing the exact same issue with ethereum ledger app ,it succeeds 50 percent of time and throws 00 01 00 01 05 00 bf 00 01 04 bytes randomly and it causes crash in my code..
Have you found some resolution for this ? please let me know

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants