Skip to content

⬆️ Bump password-hash from 0.5.0 to 0.6.1 in the password-hashing-crates group across 1 directory#2980

Open
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/cargo/password-hashing-crates-664d59d395
Open

⬆️ Bump password-hash from 0.5.0 to 0.6.1 in the password-hashing-crates group across 1 directory#2980
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/cargo/password-hashing-crates-664d59d395

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 21, 2026

Bumps the password-hashing-crates group with 1 update in the / directory: password-hash.

Updates password-hash from 0.5.0 to 0.6.1

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 21, 2026
@github-actions github-actions Bot added lib This issue is about lib crate break API braking change labels Apr 21, 2026
@dependabot dependabot Bot changed the title ⬆️ Bump password-hash from 0.5.0 to 0.6.1 in the password-hashing-crates group ⬆️ Bump password-hash from 0.5.0 to 0.6.1 in the password-hashing-crates group across 1 directory Apr 23, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/password-hashing-crates-664d59d395 branch 2 times, most recently from dde4c02 to cc2478b Compare April 27, 2026 04:22
Bumps the password-hashing-crates group with 1 update in the / directory: [password-hash](https://github.com/RustCrypto/traits).


Updates `password-hash` from 0.5.0 to 0.6.1
- [Commits](RustCrypto/traits@password-hash-v0.5.0...password-hash-v0.6.1)

---
updated-dependencies:
- dependency-name: password-hash
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: password-hashing-crates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/password-hashing-crates-664d59d395 branch from cc2478b to fcae4a4 Compare April 27, 2026 14:33
Updates `pbkdf2` from 0.12.2 to 0.13.0, which is the rest of the
`password-hashing-crates` Dependabot group. Dependabot opened a
PR for `password-hash` only because pbkdf2 0.13 dropped the
`simple` and `parallel` features in favor of `phc`, and resolution
fails before the new feature names are wired up.

Notes:

- The companion `password-hash` 0.5.0 -> 0.6.1 bump is reverted in
  this commit. argon2 0.5.3 still pins `password-hash ^0.5`, so
  upgrading the direct dependency leaves the argon2 path with
  mismatched `PasswordHash` types and breaks the build. pbkdf2 0.13
  pulls in `password-hash 0.6` transitively; libpna keeps
  `password-hash 0.5` directly and bridges the two ecosystems
  through PHC strings inside `lib/src/hash.rs`.

- pbkdf2 0.13 made `Params` fields private and enforces a 1000-round
  minimum. `entry::write::hash` now uses `Params::new_with_output_len`
  with the cipher key size, and the 1-round PBKDF2 fixtures in
  `archive::tests` are bumped to 1000 rounds.

- The `[target.'cfg(not(target_os = "emscripten"))']` override is
  removed because the `parallel` (rayon) feature was removed
  upstream and was never actually exercised by the PHC path libpna
  uses.

- Hash helpers now return concrete `(Output, String)` / `Output`
  values instead of borrowed `PasswordHash<'a>`, removing
  cross-version type coupling.
Comment thread lib/src/hash.rs
let ps = ph.to_string();
let ph = derive_password_hash(&ps, b"pass").unwrap();
assert!(ph.hash.is_some());
let derived = derive_password_hash(&ps, b"pass").unwrap();
Comment thread lib/src/hash.rs
let ps = ph.to_string();
let ph = derive_password_hash(&ps, b"pass").unwrap();
assert!(ph.hash.is_some());
let derived = derive_password_hash(&ps, b"pass").unwrap();
@github-actions github-actions Bot removed the break API braking change label Apr 28, 2026
pbkdf2 0.13's `Params::new_with_output_len` rejects rounds below
`MIN_ROUNDS = 1000`. Update the two CLI integration tests that
previously exercised the path with `r=1` so they continue to run
under the upgraded crate.

Companion fix to the libpna test bumps in 693dd48 — same
constraint, this time on the `--pbkdf2 r=N` CLI option.
@github-actions github-actions Bot added the cli This issue is about cli application label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli This issue is about cli application dependencies Pull requests that update a dependency file lib This issue is about lib crate rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants