Skip to content

deps(deps): bump scrypt from 0.11.0 to 0.12.0#4327

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/cargo/scrypt-0.12.0
Open

deps(deps): bump scrypt from 0.11.0 to 0.12.0#4327
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/cargo/scrypt-0.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor

Bumps scrypt from 0.11.0 to 0.12.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 4, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/scrypt-0.12.0 branch 2 times, most recently from 931b989 to ba52cd8 Compare June 4, 2026 12:05
Bumps [scrypt](https://github.com/RustCrypto/password-hashes) from 0.11.0 to 0.12.0.
- [Commits](RustCrypto/password-hashes@scrypt-v0.11.0...scrypt-v0.12.0)

---
updated-dependencies:
- dependency-name: scrypt
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/scrypt-0.12.0 branch from ba52cd8 to 4829389 Compare June 4, 2026 12:47
@proggeramlug

Copy link
Copy Markdown
Contributor

Blocked on a coordinated RustCrypto cipher-stack migration — deferring.

This bump fails to compile (E0277: StreamCipher/KeyIvInit/BlockCipherEncrypt not satisfied) because it pulls one crate into the cipher 0.5 ecosystem while perry-stdlib still pins the rest of the AES stack at cipher 0.4:

  • aes = 0.8, cbc = 0.1, ctr = 0.9, scrypt = 0.11 (all cipher-0.4 / crypto-common-0.1).

Making ctr 0.10 (or scrypt 0.12) build requires upgrading the whole group togetheraes 0.8→0.9, cbc 0.1→0.2, ctr 0.9→0.10, scrypt 0.11→0.12 — plus migrating ~163 lines of correctness-critical crypto code across 6 files (crypto/{cipher,kdf,util}.rs, webcrypto/{aes,util}.rs, webcrypto.rs) to the cipher-0.5 API (new KeyIvInit/inout 0.2 buffers, BlockCipher{Encrypt,Decrypt} trait split).

Since these are routine minor bumps with no security advisory (security-audit passes on the current pins), I'm not landing a blind AES/scrypt API migration here. This needs a dedicated, test-vector-validated feat(deps): migrate AES stack to cipher 0.5 PR that bumps all four crates at once; this dependabot PR should ride on top of (or be superseded by) that. Leaving open as a tracked blocker rather than closing.

@proggeramlug

Copy link
Copy Markdown
Contributor

Update — confirmed upstream-blocked (not just deferred). I tried the full cipher-0.4→0.5 stack bump (aes 0.9, cbc/ecb 0.2, ctr 0.10, scrypt 0.12, aes-gcm 0.11, chacha20poly1305 0.11, ghash 0.6, aes-kw 0.4) and cargo can't resolve it:

error: failed to select a version for the requirement `aes-gcm = "^0.11"`
    aes-gcm = { version = "0.11.0-rc.4" }

aes-gcm (needed by the node:crypto + WebCrypto AES-GCM surface) has no stable cipher-0.5 release yet — only 0.11.0-rc.4. Since ctr 0.10/scrypt 0.12 require aes 0.9/cipher 0.5, and aes 0.9 forces aes-gcm 0.11, this bump can't land without pinning correctness-critical AEAD to a release candidate. Holding until aes-gcm 0.11 ships stable, at which point the whole stack moves in one PR. Leaving open as a tracked, upstream-blocked item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant