Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #604: add support for ledger nano s plus
8874f3a update udev rules to include ledger nano s+ (Leibniz137) 8c91d84 add model id for ledger nano s plus (Leibniz137) Pull request description: fixes #595 by adding the nano s plus model id. I am not familiar with this codebase, so maybe I am missing something, but it seemed as simple as adding this one line. I only did two manual integration tests, just to see that `hwi enumerate` recognized my ledger nano s plus: 1st test: ledger nano s+ plugged in, but not unlocked ``` % hwi --expert --debug enumerate DEBUG:ledgercomm:=> b001000000 DEBUG:ledgercomm:<= 0107426974636f696e05322e302e340102 9000 DEBUG:ledgercomm:=> e105000000 DEBUG:ledgercomm:<= 6982 INFO:jade.tcp:Connecting to tcp:127.0.0.1:2222 DEBUG:root:Failed to connect to Jade simulator at tcp:127.0.0.1:2222 DEBUG:root:[Errno 61] Connection refused [{"type": "ledger", "model": "ledger_nano_s_plus", "label": null, "path": "DevSrvsID:4295015068", "error": "Could not open client or get fingerprint information: ('0x6982', 'Error in command', '')", "code": -13}] ``` 2nd test: ledger nano s+ plugged in and unlocked: ``` % hwi --expert --debug enumerate DEBUG:ledgercomm:=> b001000000 DEBUG:ledgercomm:<= 0107426974636f696e05322e302e340102 9000 DEBUG:ledgercomm:=> e105000000 DEBUG:ledgercomm:<= ... 9000 INFO:jade.tcp:Connecting to tcp:127.0.0.1:2222 DEBUG:root:Failed to connect to Jade simulator at tcp:127.0.0.1:2222 DEBUG:root:[Errno 61] Connection refused [{"type": "ledger", "model": "ledger_nano_s_plus", "label": null, "path": "DevSrvsID:4295015068", "fingerprint": "...", "needs_pin_sent": false, "needs_passphrase_sent": false}] ``` (Note, fingerprint is redacted) Let me know if there are any other tests I should run. I am also not sure if i need to add the `0x0005` code to the `LEDGER_LEGACY_PRODUCT_IDS` dict as well? ACKs for top commit: achow101: ACK 8874f3a Tree-SHA512: 678ffba6e862ca40a5429b6894a44d59299b79ce97226e43dfe1b3790971f68157d93a50d6af9b60276b4f18f310a59465847de85c3dd3df81857d536d6a4ec6
- Loading branch information