Repository navigation
docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) - #177
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]>
PR Review: docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) (#177)Decision: 🟢 Approved Executive summaryThe PR adds one New findingsNothing reached the ≥ 80 threshold. Two non-blocking observations are recorded as suggestions. 💡 Suggestions (nice to have)
Notes on checks performed
|
…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. The three inline threads from claude-review were answered and resolved separately, with the fixes in
The same commit is cherry-picked onto #179 as |
|
Review 2 - approved, no new findings |
|
PR Review: ADR-0036 - PR 177 Decision: Approved (no new findings) Executive summary: ADR-0036 records the coordinated move of ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-dalek 5.0.0), the subsidiary ADR that issue 109 requested. All five MANIFIESTO commitments are satisfied. Observable claims verified against the repository at 6a10bea. No finding reached the 80-confidence threshold. Previous issues (all resolved in 6a10bea):
New findings: Nothing reached the >= 80 threshold. |
PR Review: docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) (#177)Decision: 🟢 Approved Executive summaryThe PR adds a single Previous issues
New findingsNothing reached the ≥ 80 threshold. One non-blocking observation is recorded as a suggestion. 💡 Suggestions (nice to have)
Notes on checks performed
|
…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]>
|
Round 2 summary.
claude-review #2 approved with no new findings. #179 was conflicting with this branch after |
PR Review: docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) (#177)Decision: 🟢 Approved Executive summaryADR-0036 records the coordinated move of Previous issues
New findingsNothing reached the ≥ 80 threshold. One non-blocking observation is recorded as a suggestion. 💡 Suggestions (nice to have)
Notes on checks performed
|
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]>
|
Round 3 summary. These are opencode suggestions; both reviewers 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]>
|
All prior issues verified against the current file at HEAD PR Review: docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) (#177)Decision: 🟢 Approved Executive summaryThe PR adds a single Previous issues
New findingsNothing reached the ≥ 80 threshold. No new findings. Notes on checks performed
|
PR Review: docs(adr): ADR-0036 — move ed25519-dalek and x25519-dalek to 3.x together (Proposed) (#177)Decision: 🟢 Approved Executive summaryThe PR adds one Previous issues
New findingsNothing reached the ≥ 80 threshold. No new findings. Notes on checks performed
|
…-dalek 5) (#179) * 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]> * fix(deps): declare zeroize's alloc feature explicitly 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]> * chore(deps): move ed25519-dalek and x25519-dalek to 3.0.0 (curve25519-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]> * docs(adr): ADR-0036 Accepted with the implementing PR #179 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]> * 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 — 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]>
Summary
ADR-0036 (Proposed) records the coordinated move of
ed25519-dalekandx25519-dalekto 3.0.0, both oncurve25519-dalek5.0.0. It is the ADR subsidiary to RFC-0003 that the #109 comment of 2026-07-18 asked for when it closed Dependabot's lonex25519-dalekbump (#115).It answers the four points that comment required:
ed25519-dalek3 removesstd. No first-party code change is needed; a scratch build passes check, clippy, tests and release build.zeroize/static_secrets: both are kept. The x25519 secrets now erase on drop only, and the project never calls.zeroize()on them.curve25519-dalek4.1.3, not 5.0.Value, stated plainly: it fixes no vulnerability. The gains are indirect:
Cargo.lockgoes from 102 to 88 packages.quantumssh-coregoes from six duplicated crates to none.signature3 aligns with ADR-0035'sml-dsa(docs(adr): ADR-0035 — RustCrypto ml-dsa for the composite host key's ML-DSA-44 half (Proposed) #174).The main cost is losing the Verus coverage, accepted knowingly by the project lead on 2026-10-11 and recorded in the ADR.
The ADR also records that the dalek crates are BSD-3-Clause: RFC-0003 says "Apache-2.0 or MIT".
deny.tomlallows BSD-3-Clause, so nothing was ever out of policy. The accepted RFC is not edited.Merge order
fix(deps): declareszeroize/alloc, which ed25519-dalek 3 stops supplying.Proposed.Cargo.lock, and it flips ADR-0036 toAccepted.Refs #109
https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW