Repository navigation
docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 - #172
Conversation
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🔴 Blocked Executive summaryRFC-0012 defines a single hybrid host-key cut-over and correctly retains the AND-verification and single-algorithm posture. Two security-critical implementation requirements remain underspecified: secret-material handling and the atomic profile/interop transition required by the established migration procedure. New findings🔴 Blocking (resolve before merge)docs/rfcs/0012-composite-host-key-cutover.md:127-128 — key-material lifecycle omitted (confidence: 94)
docs/rfcs/0012-composite-host-key-cutover.md:186-214 — migration ordering does not require the mandated atomic interop update (confidence: 91)
|
PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 makes one shape-determining decision — replace the New findingsNone. Three candidate findings were raised during review and each was adversarially validated below the ≥80 reporting threshold, so none is reported:
All Markdown links and section anchors in RFC-0012 resolve; the LimitationsThe RFC's external adoption facts (SSHM WG adoption on 2026-08-22 and the OpenSSH 10.6 release) cannot be independently verified from this environment; they are consistent with the repository's other documents. Commit |
…/interop landing Addresses the two Codex findings on #172: - Reference-level now makes threat-model 4.3 explicit for the composite key: seeds, expanded ML-DSA key, Ed25519 key and signing temporaries are zeroizing, dropped early, and never in Debug, errors, logs or panics. - Ordering applies RFC-0007 section 2: the profile ADR (ADR-0021 slot 2) and the interop-client ADR flip to Accepted inside the implementation PR together with the ADR-0020 fixtures and the code; only the crate ADR may land earlier. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟡 Minor changes Executive summaryRFC-0012 preserves the composite AND-verification invariant, rejects a dual-algorithm downgrade posture, and now normatively covers private-key zeroization and atomic profile/interop migration. One threat-model statement still describes the adoption criterion more strictly than the accepted RFC and the new RFC’s own The external adoption and release claims could not be independently verified in this offline environment. Previous issues
New findings🟡 Important (should be resolved)docs/threat-model.md:1358-1362 — inconsistent migration trigger (confidence: 84)
|
PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 makes one shape-determining decision — replace Previous issues
New findingsNone. Five candidate findings were raised across the design, consistency and process lenses and all were refuted on adversarial validation below the ≥80 reporting threshold:
The LimitationsThe RFC's external adoption facts (SSHM WG adoption on 2026-08-22, OpenSSH 10.4/10.6 release contents and dates, the |
…gger Codex review #2 on #172: the pre-existing wording 'a settled IETF standard' contradicted RFC-0006, whose first gate is SSHM WG adoption, and the -00 status RFC-0012 records. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 defines a single, hybrid-only host-key cut-over, preserves the composite AND-verification invariant, excludes the ECDSA P-384 variant, and rejects a dual-offer downgrade posture. The updated threat-model language now matches RFC-0006’s actual two adoption gates, while the RFC requires zeroization and atomic profile/interop migration. Previous issues
New findingsNone. LimitationsExternal claims about draft adoption, OpenSSH releases and ordering, Debian availability, and cited research could not be independently verified in this offline environment. Decision: 🟢 Approved |
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Key-material lifecycle omitted (Codex #1, blocking) | ✅ resolved | 0012:130-138 makes zeroizing storage, prompt drops, and diagnostic exclusion normative — threat-model §4.3 and the CLAUDE.md "Key material is zeroized after use, never logged" rule. |
| 2 | Profile/interop migration not atomic (Codex #1, blocking) | ✅ resolved | 0012:226-242 applies RFC-0007 §2: the profile/interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and code. |
| 3 | §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | 37fbf03 rewrites §7 to "RFC-0006's two adoption gates: SSHM working-group adoption … and a stock release of the reference client shipping it." |
New findings
None. Three candidate findings were raised across the design and cross-document lenses and each was refuted on adversarial validation below the ≥80 threshold:
docs/rfcs/0012:130-138"dropped as soon as the signing state is built" applied to the retained signing keys. Refuted: the final clause explicitly retains the long-lived keys and zeroizes them on key-object drop, distributing the predicates by category; imprecise prose that satisfies §4.3 and yields no insecure implementation (already considered and refuted in review chore(security): publish project PGP key #2).docs/threat-model.md:1626-1634§9 "until one is settled and deployed by the reference client". Refuted: the clause is pre-existing, sits directly above the sentence naming the WG adoption and the OpenSSH 10.6 shipment, and "settled" is the document's shorthand for RFC-0006's identifier-stability gate; considered and refuted in review chore(security): publish project PGP key #2.docs/threat-model.md:132§2.3 "(Ed25519 by default)". Refuted: the composite cut-over has not landed,HOST_KEY_LISTis stillssh-ed25519, and RFC-0012 §Restatements scopes shipped-posture text to the implementation PR — the statement remains accurate.
The new §7 wording, the §5.2.3 fingerprint paragraph, the §6.1/§9 status tracking (issue #42 → #109), and the phase2-scoping.md freeze-checklist item are all consistent with RFC-0006, RFC-0007 and ADR-0027; ssh-ed25519 is never mislabelled legacy (RFC-0009/RFC-0011), no accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. All Markdown links and anchors resolve; README line 23/53/112 citations are accurate. All three commits are Conventional Commits with DCO sign-off and are verified: true via the GitHub API; the PR is a draft carrying the rfc label, and the 14-day window to 2026-10-22 matches docs/rfcs/README.md.
Limitations
The RFC's external adoption facts (SSHM WG adoption on 2026-08-22, the OpenSSH 10.4/10.6 release contents and dates, the V_10_6_P1 host-key ordering, Debian 1:10.6p1-1 availability, RFC 10042, and the LAMPS M' construction and key/signature sizes) cannot be independently verified from this environment; they are internally consistent and consistent with the repository's other documents. Local git signature verification is unavailable on the runner, so no signing conclusion is drawn from it; verification was checked through the GitHub API instead.
Decision: 🟢 Approved
…statements opencode review #3 on #172 surfaced threat-model.md:132 (§2.3, 'Ed25519 by default') while refuting it as a finding; it and the §1 default-profile line (58) also describe the shipped host key, so the implementation PR must update them. Only the list changes; both lines stay as they are until the cut-over lands. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
Reviewer findings: summary of rounds 1–3
Codex review #3 and opencode review #3 are both 🟢 Approved, with 0 findings open. claude-review skips Draft PRs and will run when the PR is marked ready, after the comment window (2026-10-22). |
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 makes a single, hybrid-only host-key cut-over decision, preserves the required AND-verification invariant, excludes the ECDSA P-384 variant, and rejects a dual-offer downgrade posture. It also requires zeroization of composite key material and atomic profile, interop-fixture, and implementation migration. Previous issues
New findingsNone. LimitationsExternal claims concerning draft adoption, OpenSSH releases and ordering, Debian package availability, and cited research could not be independently verified in this offline environment. Decision: 🟢 Approved |
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Composite private-key lifecycle lacked zeroization and diagnostics requirements (Codex #1, blocking) | ✅ resolved | 0012:130-138 — Key material (normative) requires zeroizing storage, early drop, zeroization on long-lived-object drop, and exclusion from Debug/errors/logs/panics. Matches threat-model §4.3 and the CLAUDE.md "zeroized, never logged" rule. |
| 2 | Profile and interop migration not required to land atomically (Codex #1, blocking) | ✅ resolved | 0012:226-242 — Ordering applies RFC-0007 §2: profile and interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and code; only the crate ADR may land earlier. |
| 3 | Threat-model §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | 37fbf03 rewrites §7 to "RFC-0006's two adoption gates: SSHM working-group adoption of the draft, and a stock release of the reference client shipping it." |
| 4 | §1 and §2.3 shipped-posture lines not listed among restatements (rounds 1–3 summary) | ✅ resolved | 130489b adds threat-model.md §1 and §2.3 to the implementation-PR restatement list; the lines themselves correctly stay until the cut-over. |
New findings
None. The candidate findings raised across the design and cross-document lenses were each refuted on adversarial validation below the ≥80 threshold:
docs/threat-model.md:1626-1630§9 still reads "adopts none until one is settled … RFC-0006 fixes the migration target as the composite[email protected]… gated on that settlement and deployment", immediately before the PR's appended gates-fired sentences. Refuted: the paragraph is explicitly a dated chronology ("competing and unsettled as of June 2026"), and the appended text supplies the update; it reads as history-then-status, not a contradicting present-tense claim. Considered and refuted in review Generate and publish project PGP key for SECURITY.md #3 as well.docs/rfcs/0008-ssh-certificate-authentication.md:97-99still names[email protected]for the CA key. Refuted: RFC-0008 cites RFC-0006's target, which RFC-0012 re-points; RFC-0008 remains unimplemented (Implementation PR: TBD), its own implementation will use the final name, and accepted RFCs are layered on rather than edited (docs/rfcs/README.md§After acceptance; ADR-0015). RFC-0012 explicitly scopes host certificates to RFC-0008's lane.crates/quantumssh-core/src/kex.rs:62(HOST_KEY_LIST = "ssh-ed25519"),host_key.rs,server.rs, and the binary's CLI help still describe the Ed25519 host key. Refuted: these are the shipped posture and the code the implementation PR changes; the RFC's restatement list covers the docs whose wording must move, and the RFC does not claim to change code now.docs/rfcs/0005anddocs/rfcs/0006still cite issue#42for PQ-signature tracking. Refuted: design: no mechanism defined for migrating cryptographic primitives as NIST/IETF deprecates them #42 is the general migration-procedure issue (RFC-0007's own roadmap issue) and those Accepted RFCs are immutable records, layered on rather than edited.
The technical core was verified against primary sources, not merely cross-referenced: draft-ietf-sshm-composite-sigs-00 §4.1.1.1/§4.1.3/§4.2.2/§4.2.2.1 (sizes 1312+32 and 2420+64, the M' = "CompositeAlgorithmSignatures2025" || Label || len(ctx) || ctx || SHA512(M) construction, Label = "COMPSIG-MLDSA44-Ed25519-SHA512", empty ctx, the MUST NOT reuse component key material, and the not-SUF-CMA note) all match 0012:113-138; the OpenSSH 10.6 release notes match the quoted suffix change; and myproposal.h at tag V_10_6_P1 confirms ssh-mldsa44-ed25519 is the last default HostKeyAlgorithms entry, after ssh-ed25519, which is load-bearing for §Why exactly one algorithm. The RFC header is complete per 0000-template.md; all relative links and the #ordering / #why-exactly-one-algorithm anchors resolve; the phase2-scoping.md banner and freeze-checklist entry conform to ADR-0027; the PR is a draft carrying the rfc label, and its 14-day window to 2026-10-22 matches docs/rfcs/README.md:83-86.
Limitations
Independent verification was performed against primary sources where possible (OpenSSH release notes and V_10_6_P1 tree, IETF Datatracker, RFC Editor, Debian package tracker, Google/Cloudflare/Oratomic/Executive-Order pages). One wording nuance, not a defect: 0012:60-64 compresses the 2026-03-31 Google result as "a zero-knowledge proof of quantum circuits for the 256-bit elliptic-curve discrete logarithm"; the disclosed circuit is the EC point-addition subroutine underlying Shor, not a full ECDLP circuit — the date, ~1,200 logica-qubit figure, order-of-magnitude framing and the citation's use as non-gating "context, not a gate" all remain accurate. Commit verification was checked through the GitHub API (.commit.verification.verified = true for all four commits 7a098ba, 0de13cc, 37fbf03, 130489b); local git signature verification is unavailable on the runner, so no signing conclusion is drawn from it. All four commits carry DCO sign-off and Conventional-Commit subjects.
Decision: 🟢 Approved
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 makes a single hybrid-only host-key cut-over decision, retains the required AND-verification invariant, excludes the ECDSA P-384 variant, and rejects a dual-offer downgrade posture. It also normatively requires secret handling and atomic profile, interop-fixture, and implementation migration consistent with RFC-0007. Previous issues
New findingsNone. LimitationsExternal claims about IETF draft adoption, OpenSSH releases and algorithm ordering, Debian availability, and cited research could not be independently verified in this offline environment. Decision: 🟢 Approved |
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 specifies a single hybrid-only host-key cut-over, preserves the required AND-verification rule, excludes the ECDSA P-384 variant, and rejects a dual-offer downgrade posture. It also normatively covers private-key handling and requires the profile, interop fixture, and implementation changes to land atomically. Previous issues
New findingsNone. LimitationsExternal claims about IETF draft adoption, OpenSSH releases and ordering, Debian availability, and cited research could not be independently verified in this offline environment. Decision: 🟢 Approved |
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Composite private-key lifecycle lacked zeroization and diagnostics requirements (Codex #1, blocking) | ✅ resolved | 0012:130-138 — Key material (normative): zeroizing storage, early drop, zeroization on long-lived-object drop, and exclusion from Debug/errors/logs/panics. Matches threat-model §4.3 and the CLAUDE.md "zeroized, never logged" rule. |
| 2 | Profile and interop migration not required to land atomically (Codex #1, blocking) | ✅ resolved | 0012:226-242 — Ordering applies RFC-0007 §2: the profile and interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and code; only the crate ADR may land earlier. |
| 3 | Threat-model §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | 37fbf03 rewrites §7 to "RFC-0006's two adoption gates: SSHM working-group adoption of the draft, and a stock release of the reference client shipping it." |
| 4 | threat-model.md §1 and §2.3 shipped-posture lines not listed among restatements (rounds 1–3 summary) |
✅ resolved | 0012:250-261 now adds §1 and §2.3 to the implementation-PR restatement list; the lines themselves correctly stay until the cut-over. |
New findings
None. The candidate findings raised across the design, cross-document and process lenses were each refuted on adversarial validation below the ≥80 threshold:
docs/threat-model.md:1201("signatures when an interoperable standard exists") and:1626-1627("adopts none until one is settled and deployed by the reference client"). Refuted: the §6.1 clause is followed in the same paragraph by "As of June 2026 … both of RFC-0006's adoption gates fired in 2026" (:1202-1211), and the §9 line sits inside a bullet headlined "competing and unsettled as of June 2026" with the resolution appended immediately after (:1622-1636). The load-bearing "settled IETF standard" wording was already replaced in §7 by this PR's diff; these are dated chronology plus update, and "settled/deployed by the reference client" tracks RFC-0006's identifier-stability gate.docs/rfcs/0012-composite-host-key-cutover.md:259-261ssh-ed25519-under-RFC-0006 example "stays valid". Refuted: RFC-0009, RFC-0011 and RFC-0007 use RFC-0006 as the standing authority for the Ed25519 signature interim across host and user keys, andssh-ed25519remains the user-auth algorithm — the stated reason holds.- NIST IR 8547 backstop (
RFC-0006:154-159) not restated in RFC-0012. Refuted: the backstop is conditional on the gates not having fired; they fired, and RFC-0012 migrates decades ahead of the 2030–2035 window. - GitHub draft flag cleared (
ready_for_review2026-10-11T05:01Z). Refuted:docs/rfcs/README.md:78-86requires opening as a draft and the RFC staying open for 14 days before merge — both hold; the RFC'sStatus: Draft(0012:3) is unchanged and the window to 2026-10-22 is intact. Not a process violation.
The technical core was verified against the corpus: the RFC's restatement of RFC-0006's two gates, the @openssh.com-suffix history, the verification AND-invariant, the user-auth sequencing, the ADR-0021 slot-2 supersession (not an in-place edit, per ADR-0015), and the RFC-0007 §2 atomic-fixture requirement all match their sources verbatim. All relative links resolve and the #why-exactly-one-algorithm / #ordering anchors match their headings; the phase2-scoping.md banner and freeze-checklist entry conform to ADR-0027; the README lines 23/53/112 cited in the restatement list are accurate. All five commits (7a098ba, 0de13cc, 37fbf03, 130489b, and the merge b124e8e) are Conventional Commits with DCO sign-off and are verified: true via the GitHub API.
Limitations
The RFC's external adoption facts (SSHM WG adoption on 2026-08-22, the OpenSSH 10.4/10.6 release contents and dates, the V_10_6_P1 myproposal.h host-key ordering, Debian 1:10.6p1-1 availability, RFC 10042, and the cited Google/Oratomic/Cloudflare/Executive-Order context) cannot be independently verified from this environment; they are internally consistent and consistent with the repository's other documents. Local git signature verification returns N/E for every commit on the runner and is not evidence of a signing problem; verification was checked through the GitHub API instead.
Decision: 🟢 Approved
PR Review: docs(rfc): RFC-0012 — cut host authentication over to `ssh-mldsa44-ed25519` before 0.1.0 (#172)Decision: 🔴 Blocked Executive summaryRFC-0012 makes one sound decision — cut host authentication to the WG-adopted Previous issues
New findings🔴 Blocking (resolve before merge)docs/threat-model.md:1364-1367 — classical-signatures §7 residual: user-key half untracked after cut-over (confidence: 92)
🟡 Important (should be resolved)docs/rfcs/0012-composite-host-key-cutover.md:162 — invalid SSH certificate algorithm identifier (confidence: 85)
LimitationsExternal adoption facts (SSHM WG adoption on 2026-08-22, OpenSSH 10.6 release contents and dates, |
…ert name claude-review on #172: - threat-model §7: the classical-signatures bullet covers host and user keys; RFC-0012 closes only the host-key half. The closing sentence now says so and records that user keys stay ssh-ed25519 as a separate open decision (RFC-0006 Future possibilities). - RFC-0012: ssh-mldsa44-ed25519-cert is the certificate key type OpenSSH 10.6 defines (ssh-mldsa-eddsa.c:478, myproposal.h:53 at V_10_6_P1); the RFC now cites that source and notes it is an OpenSSH name, not a WG registration. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
Reviewer: Codex (openai/codex-action, model gpt-5.6-terra) PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)Decision: 🟢 Approved Executive summaryRFC-0012 defines a single hybrid-only host-key cut-over, preserves the required AND-verification invariant, rejects a dual-offer downgrade posture, and requires atomic profile, interop-fixture, and implementation migration. The current head also resolves the two prior Claude findings by separately tracking the remaining classical user-authentication exposure and identifying the OpenSSH certificate key type as an implementation-specific name. Previous issues
New findingsNone. LimitationsExternal claims about SSHM adoption, OpenSSH 10.6 behavior and naming, release dates, package availability, and cited research could not be independently verified in this offline environment. Decision: 🟢 Approved |
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Composite private-key lifecycle lacked zeroization/diagnostic requirements (Codex #1, blocking) | ✅ resolved | 0012:130-138 — Key material (normative): zeroizing storage, early drop, zeroization on long-lived-object drop, exclusion from Debug/errors/logs/panics. Matches threat-model §4.3 and the CLAUDE.md "zeroized, never logged" rule. |
| 2 | Profile/interop migration not required to land atomically (Codex #1, blocking) | ✅ resolved | 0012:229-251 — Ordering applies RFC-0007 §2: the profile and interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and code; only the crate ADR may land earlier. |
| 3 | threat-model §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | threat-model:1358-1363 — §7 now reads "RFC-0006's two adoption gates: SSHM working-group adoption of the draft, and a stock release of the reference client shipping it." |
| 4 | threat-model.md §1 and §2.3 shipped-posture lines not listed among restatements (rounds 1–3) |
✅ resolved | 0012:253-264 — the restatement list now names §1 ("Ed25519 host keys (RFC 8709)"), §2.3 ("Ed25519 by default"), §6.1 and the README lines. |
| 5 | §7 §"Classical signatures" bullet covered only the host-key half (claude, blocking) | ✅ resolved | threat-model:1366-1370 — 882bcf0 splits it: "the host-key half … stands. The user-key half persists beyond it … a separate, still open decision." |
| 6 | ssh-mldsa44-ed25519-cert claimed not to be a real wire identifier (claude, important) |
✅ resolved | 0012:162-168 cites the OpenSSH source; the author's rebuttal is correct — I confirmed .name = "ssh-mldsa44-ed25519-cert" at ssh-mldsa-eddsa.c and myproposal.h tag V_10_6_P1. |
New findings
None. Candidates raised across the design, consistency and process lenses were refuted on adversarial validation below the ≥80 threshold:
0012:262-264— the "ssh-ed25519under RFC-0006" example "stays valid". Refuted: the corpus uses RFC-0006 as the standing authority for the Ed25519 signature interim across host and user keys (0007:151-153§3,0009:41,0011:80-82), and user-authssh-ed25519remains in use — the stated reason holds. (Considered and refuted in reviews chore(security): mark quantumssh.org aliases as live #4–docs: add operations and verification guide #5 as well.)docs/plans/phase2-scoping.md:8-11,125— aDraftRFC listed among "Authoritative decisions … For Phase 2 so far". Refuted: plans are non-authoritative under ADR-0027, the banner's job is to name the RFC that holds the decision, and merge is acceptance (docs/rfcs/README.md:87-89, cf. RFC-0011's Draft→Accepted follow-up14cb530). Considered and refuted in review chore(security): publish project PGP key #2.threat-model:1625-1639§9 still reading "adopts none until one is settled …" before the appended adoption text. Refuted: the paragraph is explicitly dated chronology ("competing and unsettled as of June 2026") and the appended sentences supply the update.README.md:53restatement scoped only to the "remain classical Ed25519" clause. Refuted: the section is explicitly about shipped-posture statements for the implementation PR; whether the trailing "has not settled" clause also needs touching is an editorial call, not a defect.
I additionally re-verified the RFC's technical core and external identifiers against primary sources rather than cross-references: draft-ietf-sshm-composite-sigs-00 (names ssh-mldsa44-ed25519/ssh-mldsa87-p384; sizes 1312+32 and 2420+64; M' = "CompositeAlgorithmSignatures2025" || Label || len(ctx) || ctx || SHA512(M); Label = "COMPSIG-MLDSA44-Ed25519-SHA512"; empty ctx; MUST-NOT-reuse; not SUF-CMA); OpenSSH V_10_6_P1 (ssh-mldsa44-ed25519 is the last default HostKeyAlgorithms entry, after ssh-ed25519, which is load-bearing for §Why exactly one algorithm) and V_10_4_P1 (the @openssh.com and *[email protected] experimental names). All match the RFC. All relative links and the #ordering / #why-exactly-one-algorithm anchors resolve; the phase2-scoping.md banner conforms to ADR-0027; the PR is a draft carrying the rfc label, with a 14-day window to 2026-10-22 per docs/rfcs/README.md.
Limitations
The SSHM WG adoption date, the OpenSSH release dates/release-notes text, the Debian 1:10.6p1-1 availability, RFC 10042, the ml-dsa 0.1.1 audit/constant-time status, and the Google/Oratomic/Cloudflare/EO-14412 context could not be independently verified from this environment; they are consistent with the repository's other documents. All six commits (7a098ba, 0de13cc, 37fbf03, 130489b, b124e8e, 882bcf0) are Conventional Commits with DCO sign-off and are verified: true via the GitHub API (reason: valid); local git signature verification is unavailable on the runner and no conclusion is drawn from it.
Decision: 🟢 Approved
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Composite private-key lifecycle lacked zeroization/diagnostic requirements (Codex #1, blocking) | ✅ resolved | 0012:130-138 — Key material (normative): zeroizing storage, early drop, zeroization on long-lived-object drop, exclusion from Debug/errors/logs/panics. Matches threat-model §4.3 and the CLAUDE.md "zeroized, never logged" rule. |
| 2 | Profile/interop migration not required to land atomically (Codex #1, blocking) | ✅ resolved | 0012:229-251 — Ordering applies RFC-0007 §2: profile and interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and code; only the crate ADR may land earlier. |
| 3 | threat-model §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | threat-model:1358-1363 — §7 now reads "RFC-0006's two adoption gates: SSHM working-group adoption of the draft, and a stock release of the reference client shipping it." |
| 4 | Shipped-posture host-key lines not listed among restatements (rounds 1–3) | ✅ resolved | 0012:253-264 — the list names README lines 23/53/112 and threat-model §1, §2.3 and §6.1. |
| 5 | §7 residual-risk text implied the cut-over closed the user-key exposure (claude, blocking) | ✅ resolved | threat-model:1366-1370 — the host-key half "stands … until the cut-over lands"; the user-key half "persists beyond it … a separate, still open decision." |
| 6 | ssh-mldsa44-ed25519-cert asserted not to be a real wire identifier (claude, important) |
✅ resolved | 0012:162-168 — the author's rebuttal is correct. I confirmed .name = "ssh-mldsa44-ed25519-cert" in ssh-mldsa-eddsa.c and the entry in KEX_DEFAULT_PK_ALG at tag V_10_6_P1. |
New findings
None. Candidates raised across the design, cross-document and governance lenses were each refuted below the ≥80 threshold:
0012:250-264— the implementation-restatement list does not name threat-model §7's primitive register (threat-model.md:1330-1336, which enumerates ML-KEM/X25519/Ed25519/AES-GCM/ChaCha20/SHA-2 but not ML-DSA). Refuted as a reportable defect: the list is scoped to host-key-identity statements, §7's register is an enumeration the implementation PR would extend when it adds the code, and this is a suggestion, not a rule breach.0012:256-257— README lines 23/112 sit in the Phase-1 history ("Phase 1 … are done … Ed25519 host keys"; the Phase-1 acceptance checklist). Refuted: line 23 is the unversioned current-status paragraph and line 112 is the shipped-posture acceptance checklist — the same class the restatement list is for; treating the handoff list as misclassifying history is an editorial reading, not a defect.0012:192-193— "RFC-0009 reserves that word for what NIST or IETF disallow" is shorthand for RFC-0009's floor-plus-frontier definition (0009:52-69). Already considered and refuted in review Generate and publish project PGP key for SECURITY.md #3: the adjacent clause "nothing here moves it onto the floor" preserves the list half and the conclusion (ssh-ed25519is not legacy) is correct.docs/rfcs/0008:97-98still names the[email protected]CA-key target. Refuted (reviews chore(security): mark quantumssh.org aliases as live #4/docs(infra): add infrastructure overview #6): RFC-0008 is Accepted and unimplemented, cites RFC-0006's target which RFC-0012 re-points, and its own implementation will use the final name; RFC-0012 explicitly scopes host certificates to RFC-0008's lane.threat-model.md:1625-1639§9 still reads "adopts none until one is settled" before the appended update. Refuted: the paragraph is explicitly dated chronology ("competing and unsettled as of June 2026") and the appended sentences supply the resolution.
I verified the RFC's technical core against primary sources rather than cross-references: draft-ietf-sshm-composite-sigs-00 §4.1.1/§4.1.1.1/§4.1.1.2/§4.2.2/§4.2.2.1/§4.2.2.4/§5 (pk 1312+32, sig 2420+64, M' = "CompositeAlgorithmSignatures2025" || Label || len(ctx) || ctx || SHA512(M), Label = "COMPSIG-MLDSA44-Ed25519-SHA512", empty ctx, the AND-verification MUST, the MUST-NOT-reuse component-key rule, and the not-SUF-CMA note) matches 0012:113-138; the OpenSSH 10.4 (experimental, off by default) and 10.6 (enabled, suffix dropped, keys must be regenerated) release notes match 0012:34-44; and myproposal.h at V_10_6_P1 confirms ssh-mldsa44-ed25519 is the last default KEX_DEFAULT_PK_ALG entry, after ssh-ed25519, which is load-bearing for §Why exactly one algorithm. All relative links and the #ordering / #why-exactly-one-algorithm anchors resolve; README lines 23/53/112 and threat-model §1/§2.3/§4.3/§5.2.3/§6.1/§7/§9 citations are accurate; the RFC makes one decision with three delegated ADRs (RFC-0006's Implements lane, not Supersedes/Amends). The PR is a draft carrying the rfc label, with the 14-day window to 2026-10-22 per docs/rfcs/README.md.
Limitations
The Debian 1:10.6p1-1 availability, the RustCrypto ml-dsa 0.1.1 audit/constant-time status, the SSHM adoption mechanics beyond the Datatracker record, and the cited Google/Oratomic/Cloudflare/EO-14412 context could not be independently verified from this environment. All five feature commits (7a098ba, 0de13cc, 37fbf03, 130489b, 882bcf0) plus the merge commits are Conventional Commits with DCO sign-off and are verified: true (reason: valid) via the GitHub API; local git signature verification returns N/E on the runner and is not evidence of a signing problem, so no conclusion is drawn from it.
Decision: 🟢 Approved
PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Composite private-key lifecycle lacked zeroization/diagnostic requirements (Codex #1, blocking) | ✅ resolved | 0012:130-138 — Key material (normative): zeroizing storage, early drop, zeroization on long-lived-object drop, exclusion from Debug/errors/logs/panics. Matches threat-model §4.3 and the CLAUDE.md "zeroized, never logged" rule. |
| 2 | Profile/interop migration not required to land atomically (Codex #1, blocking) | ✅ resolved | 0012:229-251 — Ordering applies RFC-0007 §2: the profile and interop ADRs flip to Accepted inside the implementation PR with the ADR-0020 fixtures and the code; only the crate ADR may land earlier. |
| 3 | threat-model §7 trigger stated more strictly than RFC-0006's gates (Codex #2, important) | ✅ resolved | 37fbf03 — §7 now reads "RFC-0006's two adoption gates: SSHM working-group adoption of the draft, and a stock release of the reference client shipping it." |
| 4 | Shipped-posture host-key lines not listed among restatements (rounds 1–3) | ✅ resolved | 0012:253-264 — the list names README lines 23/53/112 and threat-model §1, §2.3 and §6.1. |
| 5 | §7 residual-risk text implied the cut-over closed the user-key exposure (claude, blocking) | ✅ resolved | threat-model:1366-1370 — 882bcf0 splits it: the host-key half "stands … until the cut-over lands"; the user-key half "persists beyond it … a separate, still open decision." |
| 6 | ssh-mldsa44-ed25519-cert asserted not to be a real wire identifier (claude, important) |
✅ resolved | 0012:162-168 — the author's rebuttal is correct; I confirmed the entry is described as an OpenSSH 10.6-specific key type rather than a WG-registered name, and cite the OpenSSH source. |
New findings
None. Candidates raised across the design, cross-document and process lenses were each refuted below the ≥80 threshold:
docs/threat-model.md:1202-1217(§6.1) and:1625-1640(§9) — dated "as of June 2026" lead-ins followed by the appended adoption update. Refuted: the leads are explicitly dated chronology and the appended sentences supply the resolution; the load-bearing "settled IETF standard" wording was already replaced in §7 by this PR. Considered and refuted in the prior rounds.docs/rfcs/0012-composite-host-key-cutover.md:262-264— the "ssh-ed25519under RFC-0006" example "stays valid". Refuted: the corpus uses RFC-0006 as the standing authority for the Ed25519 signature interim across host and user keys, and user-authssh-ed25519remains in use — the gates govern the host-key code, not the user-key algorithm.docs/rfcs/0012-composite-host-key-cutover.md:54-58— attribution of a post-0.1.0cut to RFC-0006 §Motivation as "unplanned". Below threshold: a paraphrase nuance in the rationale, not a rule breach; the substantive timing argument (the freeze makes the profile one-way, no deployed population) stands on its own.docs/plans/phase2-scoping.md:7-11— aDraftRFC named in the governance banner. Refuted: merge is acceptance (docs/rfcs/README.md:87-89), the plan is explicitly non-authoritative (ADR-0027), and naming the RFC is the banner's intended use.docs/rfcs/0012-composite-host-key-cutover.md:8vs:253-264— §6.1 appears in both the "updated in this PR" header and the implementation-restatement list. Below threshold: line 8's parenthetical scopes it to "status of the migration", while the restatement defers the shipped-posture claims — the PR changed the former only.
I verified the cross-document anchors against HEAD: all relative links and the #ordering / #why-exactly-one-algorithm anchors in RFC-0012 resolve; the README lines 23/53/112 and threat-model §1/§2.3/§4.3/§5.2.3/§6.1/§7/§9 citations match their sources; the code still ships HOST_KEY_LIST = "ssh-ed25519" (crates/quantumssh-core/src/kex.rs:62), consistent with the "shipped posture unchanged until the implementation PR" framing, and the phase2-scoping.md banner conforms to ADR-0027. The PR is open for the full 14-day window to 2026-10-22 per docs/rfcs/README.md, with Status: Draft and the rfc label. All non-merge commits are Conventional Commits with DCO sign-off, and every commit is verification.verified = true (reason: valid) via the GitHub API.
Limitations
The RFC's external adoption facts (SSHM WG adoption on 2026-08-22, the OpenSSH 10.4/10.6 release contents and dates, the V_10_6_P1 myproposal.h host-key ordering, Debian 1:10.6p1-1 availability, RFC 10042, and the cited Google/Oratomic/Cloudflare/EO-14412 context) cannot be independently verified from this environment; they are internally consistent and consistent with the repository's other documents. Local git signature verification returns N/E on the runner and is not evidence of a signing problem; verification was checked through the GitHub API instead.
Decision: 🟢 Approved
|
@codex review |
|
Claude finished @gonzafg2's task in 42s —— View job PR Review: docs(rfc): RFC-0012 — cut host authentication over to
|
| # | Issue | Status | Notes |
|---|---|---|---|
| 1 | Restatements paragraph said the CLAUDE.md / AGENTS.md RFC-0006 example "stays valid" (Review #10, important) |
✅ | The paragraph now says RFC-0006 opened the window for host-key signatures only and the cut-over closes it. User authentication staying on ssh-ed25519 is not a migration window. The implementation PR replaces the example with a window still open then, or drops it. |
The rest of my earlier findings and Codex's were already resolved in Review #9, and nothing in the document has changed on those points.
Check of the new text
- Scope of RFC-0006. RFC-0006 is about host-key signatures. Its §Future possibilities (line 249) leaves ML-DSA user keys as a separate decision. Closing the example is therefore correct.
- The fix is stated, not just described. The paragraph tells the implementation PR to change
CLAUDE.mdhard rule 3 (line 59) andAGENTS.md(line 73), and says what to change them to. Both targets exist. - No loosening of commitment Generate and publish project PGP key for SECURITY.md #3. The example only illustrated that a deprecated-but-not-disallowed primitive may stay during a migration window. RFC-0007 §1 (lines 84-87 and 157-160) holds that rule independently of the example, so removing the example doesn't weaken it.
New findings
None reach the ≥80 threshold.
💡 Suggestions (non-blocking)
docs/rfcs/0011-zero-legacy-floor-reconciliation.md:80-82and:136-138say user-authssh-ed25519"stays under RFC-0006".docs/rfcs/0009-zero-legacy-moving-frontier.md:102-103says RFC-0006 governsssh-ed25519"host/user keys until its gates fire". Both gates have fired, and RFC-0012 now says user-auth Ed25519 is not a window. These are Accepted and immutable, so they need no edit. The implementation PR could add one sentence saying the authority for user-authssh-ed25519is RFC-0007 (deprecated but not disallowed, stays compiled in) plus RFC-0006 §Future possibilities, not an open RFC-0006 window. That keeps the next reader from re-deriving it.- Per
docs/rfcs/README.mdthe 14-day window runs to 2026-10-22, which has now passed. FlipStatustoAccepted (<date>)at merge or in a follow-up, as the PR description says.
On the CI note: I can't say why run 40762315764 finished green without posting. That run's log isn't something I opened, so I don't have a cause to offer.
Decision: 🟢 Approved
· Branch: docs/rfc-0012-composite-host-key-cutover
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
APIError: Insufficient Balance (request_id: 41c6d074-f9b8-420f-bb01-556fec8f32c2) |
…/interop landing Addresses the two Codex findings on #172: - Reference-level now makes threat-model 4.3 explicit for the composite key: seeds, expanded ML-DSA key, Ed25519 key and signing temporaries are zeroizing, dropped early, and never in Debug, errors, logs or panics. - Ordering applies RFC-0007 section 2: the profile ADR (ADR-0021 slot 2) and the interop-client ADR flip to Accepted inside the implementation PR together with the ADR-0020 fixtures and the code; only the crate ADR may land earlier. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
e314a04 to
3af52ee
Compare
…gger Codex review #2 on #172: the pre-existing wording 'a settled IETF standard' contradicted RFC-0006, whose first gate is SSHM WG adoption, and the -00 status RFC-0012 records. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…statements opencode review #3 on #172 surfaced threat-model.md:132 (§2.3, 'Ed25519 by default') while refuting it as a finding; it and the §1 default-profile line (58) also describe the shipped host key, so the implementation PR must update them. Only the list changes; both lines stay as they are until the cut-over lands. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…ert name claude-review on #172: - threat-model §7: the classical-signatures bullet covers host and user keys; RFC-0012 closes only the host-key half. The closing sentence now says so and records that user keys stay ssh-ed25519 as a separate open decision (RFC-0006 Future possibilities). - RFC-0012: ssh-mldsa44-ed25519-cert is the certificate key type OpenSSH 10.6 defines (ssh-mldsa-eddsa.c:478, myproposal.h:53 at V_10_6_P1); the RFC now cites that source and notes it is an OpenSSH name, not a WG registration. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Cosmetic, from claude's review #9 on #172: one line ran past the file's wrap width. No wording change. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
|
APIError: Insufficient Balance (request_id: 5b85969a-dd32-4901-866e-773781e96c90) |
…5519 before 0.1.0 Both RFC-0006 adoption gates have fired: the SSHM WG adopted draft-ietf-sshm-composite-sigs on 2026-08-22, and OpenSSH 10.6 (2026-10-06) enabled ssh-mldsa44-ed25519 under its final name. RFC-0012 is the implementation RFC RFC-0006 requires. One decision: the host-key slot carries exactly ssh-mldsa44-ed25519, replacing ssh-ed25519 in a single cut-over before the 0.1.0 freeze, with no release offering both. It excludes ssh-mldsa87-p384 (ECDSA P-384 is on the zero-legacy floor) and delegates the ML-DSA crate, the ADR-0021 slot-2 supersession and the interop client pin (ADR-0034) to three subsidiary ADRs. Also updates the threat model (5.2.3, 6.1, 7, 9) with the gates' status, moves tracking from the closed #42 to #109, and adds the host-key item to the phase-2 freeze checklist. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…/interop landing Addresses the two Codex findings on #172: - Reference-level now makes threat-model 4.3 explicit for the composite key: seeds, expanded ML-DSA key, Ed25519 key and signing temporaries are zeroizing, dropped early, and never in Debug, errors, logs or panics. - Ordering applies RFC-0007 section 2: the profile ADR (ADR-0021 slot 2) and the interop-client ADR flip to Accepted inside the implementation PR together with the ADR-0020 fixtures and the code; only the crate ADR may land earlier. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…gger Codex review #2 on #172: the pre-existing wording 'a settled IETF standard' contradicted RFC-0006, whose first gate is SSHM WG adoption, and the -00 status RFC-0012 records. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…statements opencode review #3 on #172 surfaced threat-model.md:132 (§2.3, 'Ed25519 by default') while refuting it as a finding; it and the §1 default-profile line (58) also describe the shipped host key, so the implementation PR must update them. Only the list changes; both lines stay as they are until the cut-over lands. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…ert name claude-review on #172: - threat-model §7: the classical-signatures bullet covers host and user keys; RFC-0012 closes only the host-key half. The closing sentence now says so and records that user keys stay ssh-ed25519 as a separate open decision (RFC-0006 Future possibilities). - RFC-0012: ssh-mldsa44-ed25519-cert is the certificate key type OpenSSH 10.6 defines (ssh-mldsa-eddsa.c:478, myproposal.h:53 at V_10_6_P1); the RFC now cites that source and notes it is an OpenSSH name, not a WG registration. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
…ng state Codex (App) P1 on #174: ml-dsa's sign_randomized creates rnd, rhopp and the mask y as plain buffers inside the crate (upstream master signing.rs:316-329, 397-401); its zeroize feature covers only key structures. RFC-0012 required 'any signing temporaries' in zeroizing types, which no caller can guarantee for library internals and which is stricter than threat-model 4.3 (best-effort erasure via zeroize). Maintainer decision: the normative rule binds every signing temporary QuantumSSH's own code creates or holds; crate-internal temporaries fall under 4.3's best effort and the crate ADR records them as a residual. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
Cosmetic, from claude's review #9 on #172: one line ran past the file's wrap width. No wording change. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]>
… example RFC-0006 scopes the window to host-key signatures, so the CLAUDE.md and AGENTS.md example no longer names an open window once the cut-over lands. The implementation PR replaces or drops it. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]>
3af52ee to
f6b04be
Compare
|
APIError: Insufficient Balance (request_id: 5267a31e-3c0f-4d1c-9e66-0ee800536c43) |
…s a residual Codex (App) P1 on #174: sign_randomized creates rnd, rhopp and the mask y as plain buffers inside the crate (upstream master signing.rs:316-329, 397-401); the zeroize feature covers only key structures (646-655). Per the maintainer's decision, RFC-0012 (#172, 5082d25) now scopes its normative zeroization rule to first-party signing state and asks the crate ADR to record crate-internal temporaries as a residual under threat-model 4.3's best-effort erasure. This records them next to the existing SHAKE-state residual. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 4116313) Signed-off-by: Gonzalo Fleming <[email protected]>
…ML-DSA-44 half (Proposed) (#174) * docs(adr): ADR-0035 — RustCrypto ml-dsa for the composite host key's ML-DSA-44 half (Proposed) Subsidiary ADR 1 of RFC-0012 (the dependency layer of RFC-0007 section 2), paralleling ADR-0019. Chooses RustCrypto ml-dsa (pure Rust, forbid, from_seed + ctx-aware hedged signing) over libcrux-ml-dsa, aws-lc-rs (no ctx parameter), fips204 and pqcrypto-mldsa (unmaintained). Version rule: the first release containing RustCrypto/signatures#1386 (constant-time fixes, merged 2026-06-24, unreleased as of 2026-10-11), pinned exactly; 0.1.1 is rejected because host-key signing is reachable before authentication. Stays Proposed until that release exists and flips to Accepted in the PR that adds the dependency. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit fb682ea) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — per-feature rationale; RNG is getrandom::SysRng (sys_rng) claude-review on #174: the feature list justified only pkcs8, and hedged signing named no concrete CryptoRng. - Decision 2 now gives each enabled and dropped feature its own reason (rand_core gates sign_randomized; getrandom stays off to keep one OS randomness path; alloc is unused by the composite's surface). - Decision 3 names the RNG: getrandom::SysRng from the workspace's existing getrandom 0.4 dependency via its sys_rng feature, which implements rand_core 0.10 TryCryptoRng with no new crate (rand_core 0.10.1 is already in Cargo.lock). Verified end to end with ml-dsa 0.1.1 and getrandom 0.4.3 in a scratch crate. - Records the rejected sign_internal path (upstream marks it test-only) and a first-party adapter. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit a64f2c7) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — stable releases only; RNG failure fails closed claude-review round 2 on #174: - Version rule: the first stable (non-pre-release) ml-dsa release that contains RustCrypto/signatures#1386. - Decision 3: SysRng is fallible, so host-key signing becomes fallible (HostKey::sign returns Vec<u8> today, host_key.rs:165); an RNG error aborts the key exchange with SSH_DISCONNECT_KEY_EXCHANGE_FAILED, the path kex.rs already takes for getrandom failures, and never panics. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 100a423) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — conformance vectors as tests; record SHAKE-state erasure gap opencode review #3 suggestions on #174 (below its threshold, applied): - Decision 5: the implementation PR runs NIST ACVP ML-DSA-44 keyGen, sigVer and deterministic sigGen vectors (and the LAMPS composite vectors where published), as ADR-0019 required for ML-KEM. - Negative: ml-dsa 0.1.1's zeroize feature does not reach its shake dependency (declared default-features = false), so the SHAKE sponge state is not erased; recorded as within threat-model 4.3's best-effort erasure. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit b820b43) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — ACVP vectors through FIPS 204 internal interfaces opencode review #4 on #174: ACVP sigGen vectors are defined against FIPS 204's internal interface, so sign_deterministic (external framing) cannot reproduce them. Decision 5 now names the calls upstream's own harness uses at ml-dsa/v0.1.1: from_seed for keyGen, sign_internal for sigGen (deterministic with zeroed rnd and hedged with the vector's rnd), verify_internal for sigVer, in tests only. The production framing (sign_randomized with ctx and the composite M') is covered by the LAMPS composite vectors where published and end to end by the ADR-0020 OpenSSH interop gate. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 605636e) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — note the deprecated from_expanded used by the ACVP harness opencode review #5 suggestion on #174: the ACVP vectors carry expanded signing keys, loaded through ExpandedSigningKey::from_expanded, which upstream deprecates and wraps in allow(deprecated) in its own harness. Item 5 now records the same test-only use and what happens if upstream gates or removes it. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 644307a) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — record ml-dsa's un-erased signing temporaries as a residual Codex (App) P1 on #174: sign_randomized creates rnd, rhopp and the mask y as plain buffers inside the crate (upstream master signing.rs:316-329, 397-401); the zeroize feature covers only key structures (646-655). Per the maintainer's decision, RFC-0012 (#172, 5082d25) now scopes its normative zeroization rule to first-party signing state and asks the crate ADR to record crate-internal temporaries as a residual under threat-model 4.3's best-effort erasure. This records them next to the existing SHAKE-state residual. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 4116313) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — 'add no duplicate' for the shared ml-dsa dependencies From claude's review #7 on #174: say what the dependencies add rather than what the lockfile holds. crypto-common has one locked version on main (0.2.2), so the statement is unchanged in substance. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 34c83f4) Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0035 — signature 3.0.0 is already locked under ADR-0036 ed25519-dalek 3.0.0 brought in signature 3.0.0, and ml-dsa 0.1.1 asks for signature ^3. The dependency adds three crates, not four, and there is no second signature major to retire. ADR-0036 joins the Related line. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]> (cherry picked from commit 587b8fe) Signed-off-by: Gonzalo Fleming <[email protected]> --------- Signed-off-by: Gonzalo Fleming <[email protected]>
#172 merged on 2026-10-28 (029ff37); per docs/rfcs/README.md step 6 merge is acceptance, and the Status flips in a follow-up as #168 did for RFC-0011. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]>
#172 merged on 2026-10-28 (029ff37); per docs/rfcs/README.md step 6 merge is acceptance, and the Status flips in a follow-up as #168 did for RFC-0011. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]>
… ADR-0024/0028/0029 docs/adr/README.md allows an accepted ADR to change only through a superseding ADR, so the implementing PR adds one that supersedes the listed parts of ADR-0024, ADR-0028 and ADR-0029, as ADR-0031 does for ADR-0008. ADR-0029's info-level override diagnostic and RFC-0010's "no new audit event names" clause join §6, since server.config_override changes both. RFC-0012 is cited as proposed (#172, TBD). Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]>
…sioned JSON contract (#203) * docs(adr): ADR-0044 — freeze the audit-log schema as version 1 in a project-owned JSON envelope (Proposed) The first item of the 0.1.0 freeze checklist. The JSON log becomes a project-owned, versioned contract: - envelope: one flat object per line — schema_version (1), timestamp, level, event (catalogue) or message (diagnostics), peer_addr, then the event's fields; no target, span name or span list; a FormatEvent in the binary encoding with serde_json (already in the build); - the version-1 catalogue: ADR-0024's events plus rekey.completed, connection.refused and ADR-0038's fields, all on the non-suppressible audit tier (six events move there); - server.config_error's `message` field becomes `error` (today it duplicates the JSON key that holds the event name); - compatibility: additive changes (new event, field or open-enumeration value) keep version 1; anything else bumps it with an ADR and a CHANGELOG migration note. The inventory also found audit events without peer_addr — fixed in #202. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — audit-log schema version 1 (was ADR-0044; RFC lane per review) Codex on #203: the frozen audit log is a new public compatibility contract, an RFC under CLAUDE.md; and the freeze refines two accepted RFCs (RFC-0010's error classes, RFC-0008's authenticated_identity), which an ADR cannot. ADR-0044 becomes RFC-0014 (Draft, 14-day window). Review findings folded in: - server.config_error splits into `class` (RFC-0010's four classes plus the startup ones) and `error`, keeping RFC-0010's stable classes machine-readable (Codex); - successful configuration load is recorded: server.started gains config_file, server.config_override joins the catalogue (Codex, §2.7); - connection.refused keeps `limit`, superseding ADR-0028's `reason` explicitly (Codex); - RFC-0008: authenticated_identity stays the proven key's fingerprint; certificate fields arrive additively, conditional on certificate authentication (Codex); - exec.finished's `command` listed as a change against ADR-0024 (claude-review); - every failed attempt, the budget-exhausting one included, emits auth.failed — fixed in #204 (claude-review); - failure_count is per connection; aggregate by IP (claude-review); - all enumerations are open; changing an event's level is breaking (claude-review); - the SFTP additions cite #194/#195 as proposed, not as existing ADRs (both reviewers). Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — config_file on server.config_error too Codex on #203: a startup failure after a successful config load (host key, authorized_keys, runtime, bind) returns before server.started, so the error record could not name the configuration that produced it. config_file is now on every server.config_error as well (the canonical path once resolved, the path as given if that failed, "" without --config), so each error record stands on its own. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — no edits to accepted RFCs; fingerprint and override-key formats Codex on #203: - accepted RFCs are not edited in place (docs/rfcs/README.md, "After acceptance"): only ADR-0024 and ADR-0028 gain Status pointers; RFC-0010 and RFC-0008 keep their text and this RFC states what it supersedes; - host_key_fingerprint's representation is frozen: `SHA256:` + unpadded standard base64 of SHA-256 over the public-key blob (OpenSSH's format); - server.config_override's `key` values are the TOML paths (server.listen, server.host_key, auth.authorized_keys, server.handshake_timeout, logging.format); new keys use the same form. Refs #109 Claude-Session: https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — a superseding ADR, not Status pointers, changes ADR-0024/0028/0029 docs/adr/README.md allows an accepted ADR to change only through a superseding ADR, so the implementing PR adds one that supersedes the listed parts of ADR-0024, ADR-0028 and ADR-0029, as ADR-0031 does for ADR-0008. ADR-0029's info-level override diagnostic and RFC-0010's "no new audit event names" clause join §6, since server.config_override changes both. RFC-0012 is cited as proposed (#172, TBD). Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — SFTP's fields are version 1; references brought up to date #196 landed the SFTP stack before the freeze, so request_type subsystem and exec.finished's bytes_received and bytes_sent move from the planned additive changes into the version-1 catalogue (§3, §4), with command "sftp" for the subsystem. RFC-0012 is cited as accepted, the two audit gaps as fixed (#202, #204), and ADR-0024's command erratum as landed with #196. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — pin kex.failed's reason tokens; summary count; SFTP wording kex.failed's reason was "no-hybrid-kex, no-strict-kex, …". §4 now lists the eleven tokens the transport emits with disconnect code 3 and keeps the enumeration open, as for the override keys. The Summary counts five documents, not three decisions, and the SFTP note moves out of the planned-change list. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]> * docs(rfc): RFC-0014 — exit_status sentinels, full control-character escape, threat-model qualifiers From claude-review on 4a9b58f: - §4 pins exit_status: the exit code, 128 + n for a signal (also with exit-signal on the wire), and 127 when the child could not be started or waited on or no status was recorded. - §2 and §7: the JSON encoder escapes every char::is_control character (C0, DEL, C1) as \u00XX, the set the human formatter escapes; serde_json alone covers only C0. - Three threat-model citations (§2.7, §8.12) carry the qualifier. Claude-Session: https://claude.ai/code/session_01QpBZ4qUr3ypV22CvmVwwHp Signed-off-by: Gonzalo Fleming <[email protected]> --------- Signed-off-by: Gonzalo Fleming <[email protected]>
Summary
RFC-0012 is the implementation RFC that RFC-0006 requires once both of its adoption gates fire. Both have:
draft-ietf-sshm-composite-sigs-00became a WG document on 2026-08-22 (datatracker).The one decision:
server_host_key_algorithmsbecomes exactlyssh-mldsa44-ed25519, replacingssh-ed25519in a single cut-over before the0.1.0tag. No release offers both.Why not offer both for a window (RFC §Why exactly one algorithm), verified against
openssh-portabletagV_10_6_P1:myproposal.hputsssh-mldsa44-ed25519last in the defaultHostKeyAlgorithms, afterssh-ed25519.order_hostkeyalgs()insshconnect2.ckeeps that order among the types already inknown_hosts.With both offered, a stock client negotiates
ssh-ed25519. Meanwhile an adversary who can forge Ed25519 just impersonates the server offeringssh-ed25519alone.Excluded:
ssh-mldsa87-p384(ECDSA P-384, on the floor per RFC-0011).@openssh.comname.-certhost certificates (RFC-0008 lane).Delegated to three subsidiary ADRs:
ml-dsa0.1.1 is the candidate. It has no audit, its constant-time fixes in ml-dsa: fix constant time issues RustCrypto/signatures#1386 are unreleased, and itssignature3.x ties into the planned dalek 3.x bump.1:10.6p1-1only in sid as of 2026-10-07.Docs touched in this PR
docs/rfcs/0012-composite-host-key-cutover.md: new, Status Draft.docs/threat-model.md:docs/plans/phase2-scoping.md: freeze-checklist item and governance banner.Not touched on purpose:
README.mdlines 23/53/112 and the threat-model §6.1 posture bullets describe the shipped posture, so they change with the implementation PR (listed in the RFC). ADR-0021 line 118 still citesdraft-ietf-sshm-mlkem-hybrid-kex-10, now RFC 10042. That was true at acceptance, so it is not errata under ADR-0015, and the superseding ADR will record it.Comment window
Non-trivial RFC: per
docs/rfcs/README.mdthe PR stays in Draft for 14 days, until 2026-10-22, and is accepted by lazy consensus. Status flips toAccepted (<date>)at merge or in a follow-up PR. The window is not shortened.Checklist (RFC lessons)
ssh-ed25519is not called legacy (RFC-0009). The reason for one algorithm is posture, not the floor.Refs #109
https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW