Closed pinkforest closed 11 months ago
To me this crate's whole purpose is providing a simple interface for ECDHE.
If people want patterns that go beyond ECDHE, they should be using curve25519-dalek
directly, IMO.
Yup so we can make StaticSecret
optional (with it's warning) and leave EphemeralSecret as ECDHE "baseline"
But maybe another crate can do ReusableSecret
StaticSecret
perhaps.. with a strong warnign
E.g. we could deprecate it as optional and tell it will go away at some stage whilst keeping it for forward compat ?
This would give the existing downstream possibility to migrate at least to recent curve whilst looking at options replacing Reusable
/StaticSecret
if so - and we can track who uses the feature/s as now StaticSecret
isn't optional we can't track who uses it.
StaticSecret
was made optional so this can be closed
ReusableSecret
is optional featureShould
StaticSecret
be optional that can also makerand_core
optional ?To that matter should
EphemeralSecret
be optional as well ? :thinking: