dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
328 stars 133 forks source link

Implement reused secret keys for Noise/X3DH/etc protocols #71

Closed isislovecruft closed 2 years ago

isislovecruft commented 3 years ago

This implements secret keys which are technically reusable, but discouraged from reuse due to not having serialisation methods, in order to facilitate certain keying constructs in the Noise protocol and others which require doing Diffie-Hellman operations more than once with a single somewhat-ephemeral key. (cf. #57)

isislovecruft commented 2 years ago

Thanks @rozbb! I've implemented your suggestions above.