go-ethereum/accounts
Daniel Liu 47d17e1b97
accounts/usbwallet: fix ledger access for latest firmware and add Ledger Flex #31004 (#1414)
The latest firmware for Ledger Nano S Plus now returns `0x5000` for it's
product ID, which doesn't match any of the product IDs enumerated in
`hub.go`.

This PR removes the assumption about the interfaces exposed, and simply
checks the upper byte for a match.

Also adds support for the `0x0007` / `0x7000` product ID (Ledger Flex).

Co-authored-by: Michael de Hoog <michael.dehoog@coinbase.com>
2025-09-03 15:45:34 +08:00
..
abi all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
keystore accounts/keystore: simplify tests using t.TempDir() (#30150) 2025-01-24 16:54:12 +08:00
scwallet accounts: avoid duplicate regex compilation (#29943) 2025-01-24 16:54:12 +08:00
usbwallet accounts/usbwallet: fix ledger access for latest firmware and add Ledger Flex #31004 (#1414) 2025-09-03 15:45:34 +08:00
accounts.go accounts: fix typo (#1413) 2025-09-03 15:44:49 +08:00
accounts_test.go accounts: run tests in parallel (#28544) 2025-01-24 16:54:12 +08:00
errors.go accounts: fix typo in comments (#24805) 2025-01-24 16:54:11 +08:00
hd.go accounts: fix typo in comments (#24805) 2025-01-24 16:54:11 +08:00
hd_test.go accounts: run tests in parallel (#28544) 2025-01-24 16:54:12 +08:00
manager.go accounts: properly close managed wallets when closing manager (#28710) 2025-01-24 16:54:12 +08:00
sort.go accounts: smartcard wallet without the dependency on libpcsclite (#19273) 2025-01-24 16:18:29 +08:00
url.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00
url_test.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00