-
Notifications
You must be signed in to change notification settings - Fork 157
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
Bump aead
crate dependency to v0.5
#444
Conversation
Codecov Report
@@ Coverage Diff @@
## master #444 +/- ##
=======================================
Coverage 87.21% 87.21%
=======================================
Files 40 40
Lines 1955 1955
=======================================
Hits 1705 1705
Misses 250 250 Continue to review full report at Codecov.
|
It would be nice to get a more specific callout in the CHANGELOG about this one, specifically, what I as a dev need to do around this in order to update (to aes-siv 0.7). This PR makes it seem like it is just a dependency update, but this is a breaking change in |
@roy-work did you follow the link in the description? RustCrypto/traits#1058 As noted there, the only major change is replacing |
@tarcieri I did, and I did make that replacement; there is still other breakage:
which was introduced at 0.7, so it isn't as simple as just updating the
(The arg here, |
https://docs.rs/aes-siv/latest/aes_siv/#usage
https://docs.rs/aes-siv/latest/aes_siv/#usage You need to explicitly specify the cipher the key is for, e.g. |
That works, thank you! (The need for that is apparently new, though.) Although, the two lines here are…
Which seems equivalent to:
… which I might leave it as. (This code has been around since |
Release PR: RustCrypto/traits#1058