diff --git a/Cargo.lock b/Cargo.lock index 7c2929ab..4aae311c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "pbkdf2" -version = "0.13.0-rc.10" +version = "0.13.0" dependencies = [ "belt-hash", "digest", diff --git a/bcrypt-pbkdf/Cargo.toml b/bcrypt-pbkdf/Cargo.toml index 3f100632..da9b117f 100644 --- a/bcrypt-pbkdf/Cargo.toml +++ b/bcrypt-pbkdf/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.85" [dependencies] blowfish = { version = "0.10", features = ["bcrypt"] } -pbkdf2 = { version = "0.13.0-rc.10", default-features = false } +pbkdf2 = { version = "0.13", default-features = false } sha2 = { version = "0.11", default-features = false } # optional features diff --git a/password-auth/Cargo.toml b/password-auth/Cargo.toml index 2359b9a9..40fd7a3a 100644 --- a/password-auth/Cargo.toml +++ b/password-auth/Cargo.toml @@ -22,7 +22,7 @@ password-hash = { version = "0.6", features = ["alloc", "getrandom", "phc"] } # optional dependencies argon2 = { version = "0.6.0-rc.7", optional = true, default-features = false, features = ["alloc", "password-hash"] } -pbkdf2 = { version = "0.13.0-rc.10", optional = true, default-features = false, features = ["phc"] } +pbkdf2 = { version = "0.13", optional = true, default-features = false, features = ["phc"] } scrypt = { version = "0.12.0-rc.10", optional = true, default-features = false, features = ["phc"] } [features] diff --git a/pbkdf2/CHANGELOG.md b/pbkdf2/CHANGELOG.md index e275b3eb..c2e0e30d 100644 --- a/pbkdf2/CHANGELOG.md +++ b/pbkdf2/CHANGELOG.md @@ -5,13 +5,52 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 0.13.0 (UNRELEASED) +## 0.13.0 (2026-04-21) +### Added +- Customizable `Params` for `Pbkdf2` type ([#798]) +- Modular Crypt Format (MCF) support ([#806], [#808]) +- `alloc` feature ([#816]) +- `kdf::{Kdf, Pbkdf}` implementations ([#823]) + +### Changed +- Bump edition to 2024; MSRV 1.85 ([#563]) +- Use `EagerHash` in bounds ([#592]) +- Use `phc` crate for PHC hash types ([#761]) +- Rename `simple` features to `phc` ([#776]) +- Have `Pbkdf2::new` take algorithm/params args ([#805]) +- Fallible `Params` constructors ([#810]) +- Bump `password-hash` dependency to v0.6 ([#848]) +- Bump `digest` dependency to v0.11 ([#849]) +- Use 210,000 iterations for PBKDF2-HMAC-SHA512 per OWASP ([#857]) +- Bump `hmac` dependency to v0.13 ([#870]) +- Bump `sha2` to v0.11 ([#872]) + ### Removed -- The `parallel` crate feature ([#702]) +- `parallel` crate feature ([#702]) +- `std` feature ([#760]) - `sha1` feature ([#853]) +- `Sync` bounds ([#876]) +[#563]: https://github.com/RustCrypto/password-hashes/pull/563 +[#592]: https://github.com/RustCrypto/password-hashes/pull/592 [#702]: https://github.com/RustCrypto/password-hashes/pull/702 -[#853]: https://github.com/RustCrypto/password-hashes/pull/835 +[#760]: https://github.com/RustCrypto/password-hashes/pull/760 +[#761]: https://github.com/RustCrypto/password-hashes/pull/761 +[#776]: https://github.com/RustCrypto/password-hashes/pull/776 +[#798]: https://github.com/RustCrypto/password-hashes/pull/798 +[#805]: https://github.com/RustCrypto/password-hashes/pull/805 +[#806]: https://github.com/RustCrypto/password-hashes/pull/806 +[#808]: https://github.com/RustCrypto/password-hashes/pull/808 +[#810]: https://github.com/RustCrypto/password-hashes/pull/810 +[#816]: https://github.com/RustCrypto/password-hashes/pull/816 +[#823]: https://github.com/RustCrypto/password-hashes/pull/823 +[#848]: https://github.com/RustCrypto/password-hashes/pull/848 +[#849]: https://github.com/RustCrypto/password-hashes/pull/849 +[#853]: https://github.com/RustCrypto/password-hashes/pull/853 +[#857]: https://github.com/RustCrypto/password-hashes/pull/857 +[#870]: https://github.com/RustCrypto/password-hashes/pull/870 +[#872]: https://github.com/RustCrypto/password-hashes/pull/872 +[#876]: https://github.com/RustCrypto/password-hashes/pull/876 ## 0.12.2 (2023-07-08) ### Fixed diff --git a/pbkdf2/Cargo.toml b/pbkdf2/Cargo.toml index 655fbd64..e5c61394 100644 --- a/pbkdf2/Cargo.toml +++ b/pbkdf2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pbkdf2" -version = "0.13.0-rc.10" +version = "0.13.0" authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" description = "Generic implementation of PBKDF2" diff --git a/scrypt/Cargo.toml b/scrypt/Cargo.toml index 1eee49d8..a3cc0890 100644 --- a/scrypt/Cargo.toml +++ b/scrypt/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.85" [dependencies] cfg-if = "1.0" -pbkdf2 = { version = "0.13.0-rc.10", path = "../pbkdf2" } +pbkdf2 = { version = "0.13", path = "../pbkdf2" } salsa20 = { version = "0.11", default-features = false } sha2 = { version = "0.11", default-features = false } rayon = { version = "1.11", optional = true } diff --git a/yescrypt/Cargo.toml b/yescrypt/Cargo.toml index c03cac80..90f3736c 100644 --- a/yescrypt/Cargo.toml +++ b/yescrypt/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.85" [dependencies] ctutils = "0.4" hmac = { version = "0.13", default-features = false } -pbkdf2 = { version = "0.13.0-rc.10", default-features = false, features = ["hmac"] } +pbkdf2 = { version = "0.13", default-features = false, features = ["hmac"] } salsa20 = { version = "0.11", default-features = false } sha2 = { version = "0.11", default-features = false }