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

fix: hardware wallets are now detected using their VID #953

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

AngelCastilloB
Copy link
Member

Hardware wallet logic now looks for VID rather than manufacturer string

trezor: 'SatoshiLabs',
const VENDOR_IDS = {
ledger: [ledgerUSBVendorId],
trezor: [0x534c, 0x1209], // Model T HID 0x534c and others 0x1209
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Model T the only exception here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a link to that code ref inline then to back this logic up

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (and squashed)

@rhyslbw rhyslbw linked an issue Sep 25, 2024 that may be closed by this pull request
@AngelCastilloB AngelCastilloB force-pushed the feat/LW-11582-fix-hw-wallet-detection branch from b7e9307 to 8feacce Compare September 25, 2024 06:39
Copy link

sonarcloud bot commented Sep 25, 2024

@rhyslbw rhyslbw merged commit 90c3fde into main Sep 25, 2024
2 checks passed
@rhyslbw rhyslbw deleted the feat/LW-11582-fix-hw-wallet-detection branch September 25, 2024 06:48
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

Successfully merging this pull request may close these issues.

Trezor Safe 5 is not supported
3 participants