RustCrypto: PAKEs
Password-Authenticated Key Agreement protocols implementation.
Warnings
Crates in this repository have not yet received any formal cryptographic and security reviews.
No efforts were yet taken in regards of blinding or erasing secrets from the memory.
USE AT YOUR OWN RISK.
Supported algorithms
Name | Crates.io | Documentation |
---|---|---|
SRP | ||
spake2 |
Rust version requirements
The MSRV (Minimum Supported Rust Version) is 1.32.0 . If/when this changes, it will be noted in the changelog, and the crate semver will be updated. So downstream projects should depend upon e.g. spake2 = "0.2"
to avoid picking up new versions that would require a newer compiler.
SRP-v0.4.1 actually works with rustc-1.31.1, but this will probably be changed in the next release.
SPAKE2 required rustc-1.32 beginning with spake2-v0.2.0 .
Our CI scripts check all builds against a pinned version of rustc to test the intended MSRV. Sometimes upstream dependencies make surprising changes that could require a newer version of rustc, without changes to the source code in this repository, but hopefully this won't happen very frequently.
License
All crates are licensed under either of
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.