chore(python): add root debug keys for T3W1 authentication
What changed, and why it matters
This commit adds two extra public debug root keys (Ed25519 and ML-DSA-44) to the Python trezorlib library so it can authenticate the upcoming T3W1 hardware variant during development. Debug keys are already public, non-production trust anchors; adding more of them is a routine key-list update and does not by itself create a vulnerability.
No security action required. Treat as routine key inventory update. If reviewing, verify the new _root_keys constants are indeed debug keys and match the intended T3W1 staging keyset.
Security signals we found
Adds debug-only root public keys, not production keys
No private key material present in diff
No change to validation logic, signature checks, or certificate parsing
No changelog entry suggests routine/internal key update
Evidence from the diff
The change extends the ROOT_CERTIFICATES tuple in python/src/trezorlib/authentication.py with RootKey entries for the T3W1 device using existing _root_keys constants T3W1_DEV_AUTH_ROOT_DEBUG_ED25519_HEX and T3W1_DEV_AUTH_ROOT_DEBUG_MLDSA44_HEX. These are debug (non-production) root public keys used for device-authentication certificate chain validation in trezorlib. The constants are already defined elsewhere; this commit only registers them in the verifier list alongside the existing P256 debug key.
Changed components
python/src/trezorlib/authentication.pyT3W1 device authentication (debug/staging mode)Inspect captured patch +2 / −0
### python/src/trezorlib/authentication.py
@@ -351,6 +351,8 @@ def pubkey_for_oid(self, oid: ObjectIdentifier) -> PublicKey:
"Trezor Safe 7",
True,
_pk_p256(_root_keys.T3W1_DEV_AUTH_ROOT_DEBUG_P256_HEX),
+ _pk_ed25519(_root_keys.T3W1_DEV_AUTH_ROOT_DEBUG_ED25519_HEX),
+ _pk_mldsa44(_root_keys.T3W1_DEV_AUTH_ROOT_DEBUG_MLDSA44_HEX),
),
RootCertificate(
# Root staging keys for T3W1.Why this scored 18/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.