-
-
Notifications
You must be signed in to change notification settings - Fork 672
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
Conversation
|
||
cryptography_version = [int(x) for x in cryptography.__version__.split(".")] | ||
if cryptography_version[0] < 41: | ||
raise ImportError("cryptography>=41 is required for this module") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
raise ImportError("cryptography>=41 is required for this module") | |
raise ImportError(f"cryptography>=41 is required for this module, found cryptography=={cryptography.__version__}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,79 @@ | |||
static const unsigned char T2B1_der[] = { | |||
0x30, 0x82, 0x01, 0x9f, 0x30, 0x82, 0x01, 0x45, 0xa0, 0x03, 0x02, 0x01, |
There was a problem hiding this comment.
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
70db3d5
to
ce24362
Compare
96d37a6
to
f924815
Compare
|
f924815
to
e774178
Compare
|
e774178
to
bf60ae7
Compare
f3d403c
to
5623f6d
Compare
added certificate whitelist check in aab2eaf |
2b33189
to
bf22aa3
Compare
05480f1
to
2297cb7
Compare
2297cb7
to
f6924c1
Compare
fixes #3765
includes certificate verification code and supersedes #3464
@andrewkozlik please have a look, I believe all your comments from #3464 are applied here