-
Notifications
You must be signed in to change notification settings - Fork 133
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
Non-semver pin on zeroize =1.3
leads to incompatibility with any crate that requires zeroize >1.4
#92
Comments
See upstream issues:
See also: #89 |
That upstream issue is now merged? And #89 is closed. Is there other problems? |
The
|
I'm also experiencing an issue with this. Looking forward to a resolve.
|
Waiting for it |
#99 is the tracking ticket to follow development |
- Note: `x25519-dalek` is broken. It depends on zeroize `=1.3`, but crates like rsa depend on newer versions of zeroize. - See WebAssembly/wasi-crypto#63 , dalek-cryptography/x25519-dalek#92 . - Resolve this by using `x25519-dalek-ng`, which fixes this issue. This is a common workaround, and is also used by, for instance OpenMLS: https://github.com/openmls/openmls/blob/3ff090fd4881cb796d4688f7f174929a7521dbf1/openmls_rust_crypto/README.md?plain=1#L3 - Fixes #910.
Cargo normally lets you install and use two concurrent versions of a crate, but only if they are not semver compatible (rust-lang/cargo#6584).
Therefore the current hard requirement on
zeroize =1.3
is inconvenient as it prevents using any crates that depend on newer versions of that crate.Please would it be possible to lift this requirement so that later versions of the zeroize crate can be used? As far as I know semver compatibility means that should be OK — am I missing something (does zeroize not follow semver?).
The text was updated successfully, but these errors were encountered: