Bump crate versions #97
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
k256to 0.11,sha2to 0.10,hkdfto 0.12,chacha20poly1305to 0.10, andzeroizeto 1.5 (and MSRV to 1.57), so that we could use the newZeroizeOnDropfunctionality. In particular,SecretBoxandSecretKeynow implementZeroizeOnDrop. Fixes Rethink zeroization whenZeroizeOnDropis available #89CanBeZeroizedOnDrop;GenericArraysupportsZeroizesincegeneric-array0.14.6pyo3to 0.16Note that it is not clear from the documentation, but
#[derive(ZeroizeOnDrop)]works as follows: if a field isZeroizeOnDrop, it is skipped, if it'sZeroize, it's zeroized, if it's neither, an error is raised. So e.g. in the case when it's derived forSecretKeythere won't be double zeroization (because thek256::SecretKeyimplementsZeroizeOnDropitself), but rather a compile-time check that the whole object is correctly zeroized on drop.