-
Notifications
You must be signed in to change notification settings - Fork 71
Upgrade dependency on Mbed Crypto to v2.0.0 #56
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
Conversation
One thing to note is that because of bindgen being unable to generate bindings for Also, we'll need, at some point, to implement what Mbed Crypto calls |
This commit bumps the import version for the Mbed Crypto dependency to 2.0.0. It includes updates to make the code compatible and tests passing again. Signed-off-by: Ionut Mihalcea <[email protected]>
@@ -34,7 +34,7 @@ toml = "0.4.2" | |||
serde = { version = "1.0", features = ["derive"] } | |||
|
|||
[package.metadata.config] | |||
mbed-crypto-version = "mbedcrypto-1.1.0" | |||
mbed-crypto-version = "mbedcrypto-2.0.0" |
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.
😎
&& key_id != 0 | ||
&& key_id < constants::PSA_MAX_PERSISTENT_KEY_IDENTIFIER | ||
|| key_id == 0 | ||
|| key_id > constants::PSA_MAX_PERSISTENT_KEY_IDENTIFIER |
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.
Good catch :P
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.
I'm still horrified I made that mistake in the first place.
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.
It happens to the best of us.
Bumping dependency version of Mbed Crypto to 2.0.0. Also making all changes required to keep the service functional. This included a change in the client library, bumping that to
0.1.5
.This resolves #38