Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Trezor Safe 5 #745

Open
JTheMan opened this issue Jul 10, 2024 · 0 comments
Open

Support Trezor Safe 5 #745

JTheMan opened this issue Jul 10, 2024 · 0 comments

Comments

@JTheMan
Copy link

JTheMan commented Jul 10, 2024

The Trezor Safe 5 is not currently working in Sparrow wallet v1.9.1. It relies on HWI to do this.
I think all we need to do is update file hwilib/devices/trezorlib/models.py with the following changes:

add to internal names section:

T3T1= TrezorModel(
name="Safe 5",
internal_name="T3T1",
minimum_version=(2, 1, 0),
vendors=VENDORS,
usb_ids=((0x1209, 0x53C1), (0x1209, 0x53C0)),
default_mapping=mapping.DEFAULT_MAPPING,
)

and update the model base names section as below:

==== model based names ====

TREZOR_ONE = T1B1
TREZOR_T = T2T1
TREZOR_R = T2B1
TREZOR_SAFE3 = T2B1
TREZOR_SAFE5 = T3T1
TREZOR_DISC1 = DISC1

TREZORS = {T1B1, T2T1, T2B1, T3T1, DISC1}

I got this from https://github.com/trezor/trezor-firmware/blob/main/python/src/trezorlib/models.py
There is now a new entry for the Trezor Safe 5 ..

There was a similar issue with the Trezor Safe 3 adding that issue here for reference..
#713

This was the commit that added support for Trezor Safe 3 back then. So likely something similar must be done.
4374514

FYI .. Trezor now requires Passphrase on the device only.

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

No branches or pull requests

1 participant