Add model id for Ledger Nano Gen5
What changed, and why it matters
This commit simply adds a new identifier (0x80) for the upcoming Ledger Nano Gen5 hardware wallet to HWI's list of known Ledger devices. It is a routine device-support addition with no security-relevant behavior change.
No security action required; review as normal device-support maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch extends the LEDGER_MODEL_IDS dictionary in hwilib/devices/ledger.py with one new entry mapping model ID 0x80 to the string ‘ledger_nano_gen5’. No code logic, parsing, cryptography, or access control is modified. The change is additive and cannot introduce a vulnerability on its own.
Changed components
hwilib/devices/ledger.pyInspect captured patch +2 / −1
diff --git a/hwilib/devices/ledger.py b/hwilib/devices/ledger.py
index d3cf463..97eba1e 100644
--- a/hwilib/devices/ledger.py
+++ b/hwilib/devices/ledger.py
@@ -78,7 +78,8 @@ LEDGER_MODEL_IDS = {
0x40: "ledger_nano_x",
0x50: "ledger_nano_s_plus",
0x60: "ledger_stax",
- 0x70: "ledger_flex"
+ 0x70: "ledger_flex",
+ 0x80: "ledger_nano_gen5"
}
LEDGER_LEGACY_PRODUCT_IDS = {
0x0001: "ledger_nano_s",
Why this scored 20/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.