Skip to content

v0.5.0

Latest

Choose a tag to compare

@gblach gblach released this 28 Oct 20:21
· 4 commits to main since this release

Breaking changes

  • The default crypto backend is now RustCrypto (rust-crypto feature) instead of aws-lc-rs. To keep using aws-lc-rs, enable the aws-lc-rs feature: passki = { version = "0.5", default-features = false, features = ["aws-lc-rs"] }.

    Added

  • Pluggable crypto backends, selected by Cargo feature: rust-crypto (default, pure Rust, built on ed25519-dalek, p256, p384 and rsa), aws-lc-rs (AWS-LC library) and graviola (the graviola crate). If several are enabled, aws-lc-rs is used first, then graviola, then rust-crypto. Enabling none of them is a compile error.

  • Criterion benchmarks comparing the backends (benches/backends.rs), with results in docs/benchmarks.md.

  • Salvo web framework example in examples/.

Changed

  • Random challenges are now made with getrandom, so they work the same with every backend.