Skip to content
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

curve25519-dalek unmaintained #63

Closed
npmccallum opened this issue Jul 15, 2022 · 3 comments
Closed

curve25519-dalek unmaintained #63

npmccallum opened this issue Jul 15, 2022 · 3 comments

Comments

@npmccallum
Copy link

I filed a PR against curve25519-dalek to update dependencies:

dalek-cryptography/curve25519-dalek#403

However, it appears that the crate is unmaintained and forces old dependencies all downstreams. There are numerous PRs requesting dependency updates that have all been ignored: https://github.com/dalek-cryptography/curve25519-dalek/pulls

I recommend we drop this curve OR make it optional until such time as a practical implementation can be made.

@rjzak @tarcieri

@jedisct1
Copy link
Member

jedisct1 commented Jul 15, 2022

There's curve25519-dalek-ng, a fork that resulted from an internal drama, but the last release is actually older than curve25519-dalek.

An alternative would be to use BoringSSL (that supports X25519 and Ed25519).

@tarcieri
Copy link

We've had some previous requests to fork the dalek crates under @RustCrypto.

If that sounds interesting to you, it'd be helpful if you could leave a note about your use cases on this issue: RustCrypto/elliptic-curves#497

@jedisct1
Copy link
Member

ed25519-dalek was replaced with ed25519-compact.

Neved4 pushed a commit to carbon-vault/sequoia that referenced this issue May 9, 2023
  - 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants