You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move the hash/MAC/PBKDF2 dependencies to the digest 0.11 ecosystem #154
Several RustCrypto crates that the other algorithm issues need (cmac 0.8, shake, cshake, k12, turboshake, ascon-hash256, and hkdf 0.13, which cas-lib already uses) are built on digest 0.11. cas-lib's hashers, HMAC and PBKDF2 are still on the digest 0.10 generation, so HKDF already needs a second copy of sha2 under the sha2-hkdf alias. Moving the remaining crates to the digest 0.11 generation together removes the alias and unblocks the new hash, XOF, MAC, KDF and password-hash work.
Bump sha2, sha3, blake2, hmac and pbkdf2 to their digest 0.11 releases
Remove the sha2-hkdf alias from Cargo.toml and point src/kdf/hkdf.rs at sha2
Check whether argon2, scrypt, hpke, rsa and ed25519-dalek still pull digest 0.10, and say in the PR which ones do
cargo audit --deny unsound --deny yanked passes
Implementation notes
This should not change any public API or output. The existing NIST KATs (tests/hashers.rs, tests/message.rs) and Wycheproof runs prove the digests, HMACs and PBKDF2 outputs stay identical.
Use targeted cargo update -p <crate> rather than a blanket cargo update.
PR title: chore(deps): … (or refactor:), not a feature.
Tests
cargo test --release --locked passes unchanged on Linux, Windows and macOS.
Docs
No new APIs; only update docs/EXAMPLES.md if an example's imports change.
Activity