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

feat(suite-native): enable device PIN protection card for model T1B1 #15040

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

yanascz
Copy link
Contributor

@yanascz yanascz commented Oct 23, 2024

Related Issues

#14615 #14616

Screenshots:

@yanascz yanascz requested a review from a team as a code owner October 23, 2024 16:16
@PeKne PeKne added the mobile Suite Lite issues and PRs label Oct 24, 2024
Copy link
Contributor

@PeKne PeKne left a comment

Choose a reason for hiding this comment

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

Good job on that. It works like a charm 🚀

@@ -102,12 +107,14 @@ export const DevicePinActionButton = ({
});

const { param, successMessageKey, canceledMessageKey } = actionConfigMap[type];

const result = await TrezorConnect.changePin({
Copy link
Contributor

Choose a reason for hiding this comment

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

Also please wrap this in deviceAccess request call https://github.com/trezor/trezor-suite/blob/af34896eb90028cc6b7a43795772dcc61e107bd8/suite-native/device-mutex/src/requestDeviceAccess.ts. All the device interaction of suite-native should use it to avoid concurrent access to the device memory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks.

@yanascz yanascz force-pushed the feat/device-pin-protection-t1 branch from 3d27f6d to dfec2b6 Compare October 24, 2024 10:03
@yanascz yanascz merged commit b43f5d3 into develop Oct 24, 2024
88 checks passed
@yanascz yanascz deleted the feat/device-pin-protection-t1 branch October 24, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Suite Lite issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants