Skip to content

chore(deps): Bump x25519-dalek from 2.0.1 to 3.0.0 - #115

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/x25519-dalek-3.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/x25519-dalek-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps x25519-dalek from 2.0.1 to 3.0.0.

Changelog

Sourced from x25519-dalek's changelog.

3.0.0

  • Update the digest dependency to 0.9. This requires a major version because the digest traits are part of the public API, but there are otherwise no changes to the API.

2.1.0

  • Make Scalar::from_bits a const fn, allowing its use in const contexts.

2.0.0

  • Fix a data modeling error in the serde feature pointed out by Trevor Perrin which caused points and scalars to be serialized with length fields rather than as fixed-size 32-byte arrays. This is a breaking change, but it fixes compatibility with serde-json and ensures that the serde-bincode encoding matches the conventional encoding for X/Ed25519.
  • Update rand_core to 0.5, allowing use with new rand versions.
  • Switch from clear_on_drop to zeroize (by Tony Arcieri).
  • Require subtle = ^2.2.1 and remove the note advising nightly Rust, which is no longer required as of that version of subtle. See the subtle changelog for more details.
  • Update README.md for 2.x series.
  • Remove the build.rs hack which loaded the entire crate into its own build.rs to generate constants, and keep the constants in the source code.

The only significant change is the data model change to the serde feature; besides the rand_core version bump, there are no other user-visible changes.

1.2.4

  • Specify a semver bound for clear_on_drop rather than an exact version, addressing an issue where changes to inline assembly in rustc prevented clear_on_drop from working without an update.

1.2.3

  • Fix an issue identified by a Quarkslab audit (and Jack Grigg), where manually constructing unreduced Scalar values, as needed for X/Ed25519, and then performing scalar/scalar arithmetic could compute incorrect results.
  • Switch to upstream Rust intrinsics for the IFMA backend now that they exist in Rust and don't need to be defined locally.
  • Ensure that the NAF computation works correctly, even for parameters never used elsewhere in the codebase.
  • Minor refactoring to EdwardsPoint decompression.
  • Fix broken links in documentation.
  • Fix compilation on nightly broken due to changes to the #[doc(include)] path root (not quite correctly done in 1.2.2).

1.2.2

... (truncated)

Commits
  • 6d96eb7 Bump version to 3.0.0.
  • c68b30f Merge pull request #330 from isislovecruft/fix/move-coc
  • 2ee6193 Merge pull request #327 from huitseeker/digests-0.9
  • 91a0fae Move CoC section from CONTRIBUTING.md to new file.
  • 5038fcf Merge pull request #308 from isislovecruft/fix/pippenger-typo
  • 6afd8ff Update sha2, digest to 0.9
  • 3cc13a7 Merge branch 'master' into develop
  • c4824e1 Merge branch 'release/2.1.0'
  • 3fc47ef Bump version to 2.1.0
  • f04b830 Merge branch 'master' into develop
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Dependency update (cargo or github-actions) rust Rust ecosystem update labels Jul 13, 2026
@gonzafg2

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/x25519-dalek-3.0.0 branch from af6420e to 6a238fd Compare July 18, 2026 00:24
@gonzafg2

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/x25519-dalek-3.0.0 branch from 6a238fd to 57d7b0f Compare July 18, 2026 01:49
@gonzafg2

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/x25519-dalek-3.0.0 branch from 57d7b0f to ffc267b Compare July 18, 2026 03:08
@gonzafg2

Copy link
Copy Markdown
Owner

Closing: this bump cannot merge as-is. x25519-dalek 3.0.0 pulls curve25519-dalek 5.0.0 while ed25519-dalek 2.x stays on curve25519-dalek 4.1.3, leaving two copies of the curve core (and two fiat-crypto versions) in the pre-auth dependency tree — against MANIFIESTO #4 (small surface). The right move is a coordinated x25519-dalek 3.x + ed25519-dalek 3.x bump (both converge on curve25519-dalek 5) as a deliberate PR recorded in an ADR subsidiary to RFC-0003, once the fresh 3.0.0 majors have had time to season. Tracked in the Phase-2 roadmap issue #109. No urgency: the 2.x line has no advisories (cargo deny/audit green).

@gonzafg2 gonzafg2 closed this Jul 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/x25519-dalek-3.0.0 branch July 18, 2026 03:30
gonzafg2 added a commit that referenced this pull request Jul 18, 2026
…endabot (#119)

PR #68 (a dependabot patch-and-minor group merge) silently bumped the
workspace tokio requirement from ~1.51 to ~1.52, contradicting both
ADR-0022 ('a bump to a newer LTS is its own superseding ADR ... never
a silent Cargo.lock drift') and the manifest comment that still read
'tilde keeps us on the 1.51.x LTS line'. PR #117 would have repeated
the drift to ~1.53.

Restore the requirement to ~1.51 (lock at 1.51.4, the latest LTS
patch) and add dependabot ignore rules so the pin is enforced by
config rather than reviewer memory: tokio minor/major bumps are
ignored (patch backports stay enabled, which is the point of the LTS
line), and semver-major bumps of the RFC-0003 dalek primitives are
ignored because they must move together onto one curve25519-dalek
line via a coordinated, ADR-recorded PR (see #115).

Claude-Session: https://claude.ai/code/session_01J2SZwLuDm1KjfYyPM8npTa

Signed-off-by: Gonzalo Fleming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency update (cargo or github-actions) rust Rust ecosystem update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant