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

Include a valid staging certificate for TS5 emulator #3944

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Conversation

matejcik
Copy link
Contributor

fixes #3765

includes certificate verification code and supersedes #3464
@andrewkozlik please have a look, I believe all your comments from #3464 are applied here

@matejcik matejcik requested a review from prusnak as a code owner June 12, 2024 09:42
@matejcik matejcik requested review from mmilata and obrusvit and removed request for prusnak and mmilata June 12, 2024 09:42

cryptography_version = [int(x) for x in cryptography.__version__.split(".")]
if cryptography_version[0] < 41:
raise ImportError("cryptography>=41 is required for this module")
Copy link
Member

Choose a reason for hiding this comment

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

nit:

Suggested change
raise ImportError("cryptography>=41 is required for this module")
raise ImportError(f"cryptography>=41 is required for this module, found cryptography=={cryptography.__version__}")

Copy link
Member

@mmilata mmilata left a comment

Choose a reason for hiding this comment

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

Did not spot any issue.

test_authenticate_device can now be reenabled for T3T1: f97105e (needs fixtures, closes #3596)

python/src/trezorlib/authentication.py Show resolved Hide resolved
@@ -0,0 +1,79 @@
static const unsigned char T2B1_der[] = {
0x30, 0x82, 0x01, 0x9f, 0x30, 0x82, 0x01, 0x45, 0xa0, 0x03, 0x02, 0x01,
Copy link
Member

Choose a reason for hiding this comment

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

make cstyle changes indent on the generated files

@matejcik matejcik force-pushed the matejcik/translation-versions branch from 70db3d5 to ce24362 Compare June 18, 2024 11:25
Base automatically changed from matejcik/translation-versions to main June 18, 2024 11:25
@matejcik matejcik force-pushed the matejcik/emu-cert branch from 96d37a6 to f924815 Compare June 18, 2024 12:09
Copy link

github-actions bot commented Jun 18, 2024

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T2B1 Safe 3 test(screens) main(screens) test(screens) main(screens) 2724
T3T1 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@matejcik matejcik force-pushed the matejcik/emu-cert branch from f924815 to e774178 Compare June 18, 2024 14:36
Copy link

github-actions bot commented Jun 18, 2024

legacy UI changes device test(screens) main(screens)

@matejcik matejcik force-pushed the matejcik/emu-cert branch from e774178 to bf60ae7 Compare June 19, 2024 07:36
@matejcik matejcik mentioned this pull request Jun 19, 2024
@matejcik matejcik force-pushed the matejcik/emu-cert branch from f3d403c to 5623f6d Compare June 20, 2024 13:21
@matejcik
Copy link
Contributor Author

added certificate whitelist check in aab2eaf

@matejcik matejcik force-pushed the matejcik/emu-cert branch from 2b33189 to bf22aa3 Compare June 24, 2024 13:43
@matejcik matejcik force-pushed the matejcik/emu-cert branch from 05480f1 to 2297cb7 Compare June 25, 2024 10:14
@matejcik matejcik force-pushed the matejcik/emu-cert branch from 2297cb7 to f6924c1 Compare June 25, 2024 11:35
@matejcik matejcik merged commit f6924c1 into main Jun 25, 2024
20 of 22 checks passed
@matejcik matejcik deleted the matejcik/emu-cert branch June 25, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Replace T3T1 debug caPubKey
4 participants