Repository navigation
chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) - #179
Conversation
…ther (Proposed) The coordinated bump the #109 comment of 2026-07-18 deferred, subsidiary to RFC-0003. Evaluates the four points that comment asked for: API (ed25519-dalek 3 drops std; no first-party code change needed), zeroize and static_secrets (kept; x25519 secrets now erase on drop only), MSRV (1.85, below the workspace's 1.92), and maturity/audit (no advisory on either line; Verus coverage applies to curve25519-dalek 4.1.3, not 5.0; no known public audit of 5.0/3.0). States the value plainly: no vulnerability fixed; Cargo.lock 102 -> 88, no duplicated crates in quantumssh-core, signature 3 aligned with ADR-0035's ml-dsa. Records that the dalek crates are BSD-3-Clause (RFC-0003 says Apache-2.0 or MIT; deny.toml allows BSD-3-Clause). Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Zeroizing<Vec<u8>> (kex.rs, auth.rs, transport.rs) and Zeroizing<String> need zeroize's alloc feature. The workspace never declared it: it arrives only through feature unification from ed25519-dalek's std feature (ed25519-dalek/std -> alloc -> zeroize?/alloc and curve25519-dalek/alloc). Dropping std from ed25519-dalek, as its 3.x line requires, would break the build in 35 places with no code change of ours. Declare it where it is used. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…-dalek 5) Implements ADR-0036. ed25519-dalek drops the removed std feature and the unused rand_core feature; x25519-dalek keeps static_secrets and zeroize. No first-party code change. Cargo.lock: 102 -> 88 packages; cargo tree -d -e normal -p quantumssh-core prints nothing (was sha2, digest, rand_core, block-buffer, crypto-common, cpufeatures in two versions each). fmt, clippy -D warnings, test --workspace (34 + 103 + 35) and build --release pass. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Flips Status to Accepted inside the implementing PR (repo pattern since #128), points Links/Decision at #179, and historicises the three drafting-time phrasings (table header, advisory sentence, ADR-0035 availability). Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThis PR performs a coordinated major-version bump of New findingsNo findings reached the reporting threshold (≥ 80). Checked: memory safety (CLAUDE.md §1), post-quantum KEX default (§2), zero-legacy (§3 + RFC-0006 migration window for |
|
I have enough to report. Both lenses are validated: the dependency graph resolves ( PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThe PR bumps Verification performed
New findings💡 Suggestions (nice to have)
No finding reached the ≥80 threshold. The dependency bump is justified, |
…nes, present vs future controls) claude-review on #177: - 'The 4.x/2.x line has had no release since mid-2024' was false for ed25519-dalek 2.2.0 (2025-07-09); now scoped per crate. - The diff is two manifest lines (zeroize/alloc belongs to #175). - The Verus-loss paragraph listed Phase-3 fuzzing as a present control; present controls (RFC 7748 vectors, OpenSSH interop gate) are now separated from the future one, and the text says nothing currently replaces the formal guarantee. opencode suggestions on #177 and #179: - Refers to 'the ml-dsa ADR proposed in #174' instead of citing the not-yet-permanent number ADR-0035 as established. - pkcs8/der/spki leave Cargo.lock (they are not compiled today). - The RFC-0003 licence sentence lives in its Guide-level explanation. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…nes, present vs future controls) claude-review on #177: - 'The 4.x/2.x line has had no release since mid-2024' was false for ed25519-dalek 2.2.0 (2025-07-09); now scoped per crate. - The diff is two manifest lines (zeroize/alloc belongs to #175). - The Verus-loss paragraph listed Phase-3 fuzzing as a present control; present controls (RFC 7748 vectors, OpenSSH interop gate) are now separated from the future one, and the text says nothing currently replaces the formal guarantee. opencode suggestions on #177 and #179: - Refers to 'the ml-dsa ADR proposed in #174' instead of citing the not-yet-permanent number ADR-0035 as established. - pkcs8/der/spki leave Cargo.lock (they are not compiled today). - The RFC-0003 licence sentence lives in its Guide-level explanation. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
Round 1 summary.
claude-review approved with no findings. Codex |
…dencies opencode review #2 suggestion on #177: getrandom 0.4 is a dev-dependency of ed25519-dalek 3.0.0, and rand_core 0.10 and signature 3 are optional there (signature 3 still enters through ed25519 3, a normal dependency). The API bullet now names the runtime moves only. Verified against the crates.io dependency metadata of ed25519-dalek 3.0.0 and ed25519 3.0.0. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…s-dalek-3x Signed-off-by: Gonzalo Fleming <[email protected]> # Conflicts: # docs/adr/0036-dalek-3x-coordinated-bump.md
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThe PR bumps Previous issues
New findings💡 Suggestions (nice to have)
Verification performed
Decision: 🟢 Approved. |
opencode suggestions on #177 (review #3) and #179 (review #2): - curve25519-dalek 4.2.0 was published 2025-07-09 and yanked; both maintenance statements now say 'no usable 4.x release since 2024-06-18' and name it (verified on crates.io). - The licence cell said 'all six' with no referent; it now says 'all three crates'. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…s-dalek-3x Signed-off-by: Gonzalo Fleming <[email protected]>
|
Round 3 summary. These are opencode suggestions; both reviewers approved.
|
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThe PR bumps Previous issues
New findings💡 Suggestions (nice to have)
Verification performed
Decision: 🟢 Approved. |
… primitive stack opencode suggestion on #179 (review #3): RFC-0003 section 'Operational dependencies of this decision' only lists four follow-up ADRs and never mentions the dalek crates; the primitive stack (with x25519-dalek and ed25519-dalek) is in its Guide-level explanation. Related and Links now point there, consistent with the licence note. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…s-dalek-3x Signed-off-by: Gonzalo Fleming <[email protected]>
|
Round 4 summary.
|
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThe PR bumps Previous issues
New findingsNo finding reached the ≥ 80 threshold. Checked: memory safety (CLAUDE.md #1, Verification performed
Decision: 🟢 Approved. |
…ther (Proposed) (#177) * docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) The coordinated bump the #109 comment of 2026-07-18 deferred, subsidiary to RFC-0003. Evaluates the four points that comment asked for: API (ed25519-dalek 3 drops std; no first-party code change needed), zeroize and static_secrets (kept; x25519 secrets now erase on drop only), MSRV (1.85, below the workspace's 1.92), and maturity/audit (no advisory on either line; Verus coverage applies to curve25519-dalek 4.1.3, not 5.0; no known public audit of 5.0/3.0). States the value plainly: no vulnerability fixed; Cargo.lock 102 -> 88, no duplicated crates in quantumssh-core, signature 3 aligned with ADR-0035's ml-dsa. Records that the dalek crates are BSD-3-Clause (RFC-0003 says Apache-2.0 or MIT; deny.toml allows BSD-3-Clause). Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0036 — review fixes (2.x release date, two manifest lines, present vs future controls) claude-review on #177: - 'The 4.x/2.x line has had no release since mid-2024' was false for ed25519-dalek 2.2.0 (2025-07-09); now scoped per crate. - The diff is two manifest lines (zeroize/alloc belongs to #175). - The Verus-loss paragraph listed Phase-3 fuzzing as a present control; present controls (RFC 7748 vectors, OpenSSH interop gate) are now separated from the future one, and the text says nothing currently replaces the formal guarantee. opencode suggestions on #177 and #179: - Refers to 'the ml-dsa ADR proposed in #174' instead of citing the not-yet-permanent number ADR-0035 as established. - pkcs8/der/spki leave Cargo.lock (they are not compiled today). - The RFC-0003 licence sentence lives in its Guide-level explanation. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0036 — ed25519-dalek 3's runtime vs optional/dev dependencies opencode review #2 suggestion on #177: getrandom 0.4 is a dev-dependency of ed25519-dalek 3.0.0, and rand_core 0.10 and signature 3 are optional there (signature 3 still enters through ed25519 3, a normal dependency). The API bullet now names the runtime moves only. Verified against the crates.io dependency metadata of ed25519-dalek 3.0.0 and ed25519 3.0.0. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0036 — yanked 4.2.0 and licence cell wording opencode suggestions on #177 (review #3) and #179 (review #2): - curve25519-dalek 4.2.0 was published 2025-07-09 and yanked; both maintenance statements now say 'no usable 4.x release since 2024-06-18' and name it (verified on crates.io). - The licence cell said 'all six' with no referent; it now says 'all three crates'. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0036 — cite RFC-0003's Guide-level explanation for the primitive stack opencode suggestion on #179 (review #3): RFC-0003 section 'Operational dependencies of this decision' only lists four follow-up ADRs and never mentions the dalek crates; the primitive stack (with x25519-dalek and ed25519-dalek) is in its Guide-level explanation. Related and Links now point there, consistent with the licence note. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> --------- Signed-off-by: Gonzalo Fleming <[email protected]>
Signed-off-by: Gonzalo Fleming <[email protected]> # Conflicts: # docs/adr/0036-dalek-3x-coordinated-bump.md
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThis PR performs a coordinated semver-major bump of Previous issues
|
PR Review: chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5) (#179)Decision: 🟢 Approved Executive summaryThe PR bumps Previous issues
New findingsNo finding reached the ≥ 80 threshold. Checked, all clean:
Verification performed
Decision: 🟢 Approved. |
Summary
This PR implements ADR-0036 (#177):
ed25519-dalekandx25519-dalekmove to 3.0.0 together, both oncurve25519-dalek5.0.0.ed25519-dalekdropsstd, which 3.x removed, andrand_core, which first-party code does not use because the server never generates keys.verifykeeps its 2.x semantics.Accepted, the repo pattern for an ADR implemented by a single PR.Verification (local, macOS, Rust 1.99)
curve25519-dalek 5.0.0,ed25519-dalek 3.0.0,x25519-dalek 3.0.0,signature 3.0.0Cargo.lockcargo tree -d -e normal -p quantumssh-corenothing to print. Before, six crates were duplicated:sha2,digest,rand_core,block-buffer,crypto-common,cpufeaturescargo clippy --workspace --all-targets -- -D warningscargo test --workspacecargo build --workspace --releaseThe OpenSSH interop gate (ADR-0020) runs in CI against the release binary and exercises X25519 inside the hybrid KEX, plus Ed25519 host signing and user-signature verification, end to end.
Stacked: merge order
This PR's base is the ADR-0036 branch (#177).
zeroize/alloc. This branch carries that commit as a cherry-pick so it builds; once fix(deps): declare zeroize's alloc feature explicitly #175 squash-merges, the cherry-pick drops on rebase.Refs #109
https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW