Skip to content

build(deps): bump x25519-dalek 2.0 -> 3.0 across the workspace#244

Merged
systemslibrarian merged 7 commits into
mainfrom
deps/x25519-dalek-3.0
Jul 17, 2026
Merged

build(deps): bump x25519-dalek 2.0 -> 3.0 across the workspace#244
systemslibrarian merged 7 commits into
mainfrom
deps/x25519-dalek-3.0

Conversation

@systemslibrarian

Copy link
Copy Markdown
Owner

Combined bump superseding the three single-crate Dependabot PRs #232, #233, #235, which cannot compile individually (same workspace-lockstep issue as the aes-gcm 0.11 bump, #227).

Code changes required by 3.0 (curve25519-dalek 5.0, rand_core 0.10)

  • random_from_rng(OsRng) no longer accepts rand_core 0.6's OsRng → switched call sites to the new ::random() (via the getrandom crate feature), which keeps the same panic-on-RNG-failure semantics and resolves to the getrandom 0.4 dependency both crates already carry (wasm_js backend already configured).
  • Dropped now-unused rand_core::OsRng imports.
  • Updated crypto_core/fuzz/Cargo.lock so the cargo-fuzz CI jobs pick up 3.0.

Drive-by cleanups in touched builds

  • wasm.rs encode_data: the block_size parameter was silently ignored — now marked unused and documented (this path emits a single packet; no fountain coding).
  • rust_crypto python-gated AES-GCM: replaced deprecated Nonce::from_slice with Nonce::try_from (missed by build(deps): bump aes-gcm 0.10 → 0.11 across all crates + API migration #227 because these sites only compile under the python feature).

Verification

  • cargo clippy --workspace --all-targets -- -D warnings clean
  • cargo test -p crypto_core and cargo test -p meow_crypto_rs all green (incl. the Fable bug-hunt PoC tests covering X25519 low-order rejection and zeroization)
  • pq, python,pq, and wasm feature combinations compile

Closes #232, closes #233, closes #235.

🤖 Generated with Claude Code

systemslibrarian and others added 7 commits July 17, 2026 04:25
Combined bump superseding Dependabot PRs #232/#233/#235, which each
bumped one crate's manifest and could not compile alone (same lockstep
issue as the aes-gcm 0.11 bump in #227).

Code changes required by 3.0 (curve25519-dalek 5.0, rand_core 0.10):
- StaticSecret/EphemeralSecret::random_from_rng(OsRng) no longer
  accepts rand_core 0.6's OsRng; switch call sites to ::random()
  (new 'getrandom' feature), which keeps the same panic-on-RNG-failure
  semantics and uses the getrandom 0.4 dep both crates already carry
  (wasm_js backend already configured for wasm builds).
- Drop now-unused rand_core::OsRng imports.
- Update crypto_core/fuzz/Cargo.lock for the cargo-fuzz CI jobs.

Drive-by cleanups in touched builds:
- wasm.rs encode_data: mark the ignored block_size parameter as unused
  and document that this path emits a single packet (no fountain
  coding) instead of implying the value takes effect.
- rust_crypto python-gated AES-GCM paths: replace deprecated
  Nonce::from_slice with Nonce::try_from (missed by #227 because this
  code only compiles under the 'python' feature).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@systemslibrarian
systemslibrarian merged commit a213f2a into main Jul 17, 2026
81 checks passed
@systemslibrarian
systemslibrarian deleted the deps/x25519-dalek-3.0 branch July 17, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant