Skip to content

docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 - #172

Merged
gonzafg2 merged 8 commits into
mainfrom
docs/rfc-0012-composite-host-key-cutover
Oct 28, 2026
Merged

gonzafg2 merged 8 commits into
mainfrom
docs/rfc-0012-composite-host-key-cutover

Conversation

@gonzafg2

@gonzafg2 gonzafg2 commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

RFC-0012 is the implementation RFC that RFC-0006 requires once both of its adoption gates fire. Both have:

  1. SSHM WG adoption — draft-ietf-sshm-composite-sigs-00 became a WG document on 2026-08-22 (datatracker).
  2. A stock OpenSSH release shipping it — OpenSSH 10.6 (2026-10-06): "enable hybrid post-quantum ssh-mldsa44-ed25519 signature algorithm … no longer uses the "@openssh.com" vendor extension suffix" (release notes).

The one decision: server_host_key_algorithms becomes exactly ssh-mldsa44-ed25519, replacing ssh-ed25519 in a single cut-over before the 0.1.0 tag. No release offers both.

Why not offer both for a window (RFC §Why exactly one algorithm), verified against openssh-portable tag V_10_6_P1:

  • myproposal.h puts ssh-mldsa44-ed25519 last in the default HostKeyAlgorithms, after ssh-ed25519.
  • order_hostkeyalgs() in sshconnect2.c keeps that order among the types already in known_hosts.

With both offered, a stock client negotiates ssh-ed25519. Meanwhile an adversary who can forge Ed25519 just impersonates the server offering ssh-ed25519 alone.

Excluded:

  • ssh-mldsa87-p384 (ECDSA P-384, on the floor per RFC-0011).
  • The experimental @openssh.com name.
  • -cert host certificates (RFC-0008 lane).

Delegated to three subsidiary ADRs:

  • ML-DSA crate. RustCrypto ml-dsa 0.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 its signature 3.x ties into the planned dalek 3.x bump.
  • ADR-0021 slot-2 supersession.
  • Interop client ≥ 10.6, superseding ADR-0034's pin. Debian has 1:10.6p1-1 only in sid as of 2026-10-07.

Docs touched in this PR

Not touched on purpose: README.md lines 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 cites draft-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.md the PR stays in Draft for 14 days, until 2026-10-22, and is accepted by lazy consensus. Status flips to Accepted (<date>) at merge or in a follow-up PR. The window is not shortened.

Checklist (RFC lessons)

  • One decision. The crate, the profile entry and the interop pin are ADRs.
  • ssh-ed25519 is not called legacy (RFC-0009). The reason for one algorithm is posture, not the floor.
  • Commitment attribution: signatures are argued from RFC-0006 and threat-model §6.1, not commitment chore(security): publish project PGP key #2.
  • No floor restatement changes.

Refs #109

https://claude.ai/code/session_01HxXXh6HEpJBs7tbuz3NmtW

@gonzafg2 gonzafg2 added the rfc Request for comments / design proposal label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

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
Iteration: First review
Lenses applied: design decision (RFC), threat model

Executive summary

RFC-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)

Problem: The RFC specifies decoding and expanding two private seeds, but does not require zeroization of the decoded key container, seeds, expanded ML-DSA secret key, or signing temporaries, nor prohibit their appearance in diagnostics. This leaves a new host-authentication key path without the threat model’s mandatory disk-to-memory boundary.

Fix: Make the reference-level requirements normative: all private composite-key components and derived signing state must use Zeroizing, be dropped as soon as possible, zeroize on long-lived key-object drop, and never appear in Debug, errors, logs, or panic output.

Anchor: threat-model §4.3; CLAUDE.md hard security rule “Key material is zeroized after use, never logged.”

docs/rfcs/0012-composite-host-key-cutover.md:186-214 — migration ordering does not require the mandated atomic interop update (confidence: 91)

Problem: The RFC requires the implementation PR to wait for separate accepted profile and interop ADRs, but does not require the ADR-0021 supersession and ADR-0020 interop fixtures to land atomically. That permits an accepted profile change while the interop gate still tests ssh-ed25519, which RFC-0007 explicitly forbids.

Fix: Require the profile-superseding ADR, selected OpenSSH pin, corresponding ADR-0020 fixture updates, and implementation to land as one atomic transition (or explicitly require the fixtures to land with the superseding ADR).

Anchor: RFC-0007 §2, “Supersession mechanics (normative),” which requires interop fixtures to move atomically with the profile ADR.

@opencode-agent

opencode-agent Bot commented Oct 8, 2026

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: First review
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes in this PR, so those lenses do not apply.

Executive summary

RFC-0012 makes one shape-determining decision — replace the ssh-ed25519 host key with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — and records the final identifier plus the exclusion of ssh-mldsa87-p384, delegating the ML-DSA crate, the ADR-0021 slot-2 supersession, and the interop pin to three subsidiary ADRs. The decision is coherent with RFC-0006's adoption gates and the five commitments: ssh-ed25519 is never mislabelled legacy (RFC-0009), no accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. The threat-model.md and plan edits are written as conditional on the implementation and remain accurate for the current shipped posture.

New findings

None. Three candidate findings were raised during review and each was adversarially validated below the ≥80 reporting threshold, so none is reported:

  • docs/threat-model.md:1358 "settled IETF standard … That trigger fired in October 2026" vs. RFC-0006's gate-1 wording (WG adoption, a -00 draft). Refuted: RFC-0006 defines gate 1 as SSHM WG adoption (0006:130-135), and the paragraph cross-references §6.1, which states the gates precisely (threat-model.md:1207-1209); "settled" is the document's established shorthand for that identifier-stability gate (threat-model.md:1626-1630).
  • docs/rfcs/0012-composite-host-key-cutover.md:179-180 shorthand for RFC-0009's "legacy". Refuted: the adjacent clause "nothing here moves it onto the floor" preserves the floor half, and the substantive conclusion is correct.
  • docs/rfcs/0008-ssh-certificate-authentication.md:97-98 still naming [email protected] for the CA key. Refuted: RFC-0008 references RFC-0006's target, which RFC-0012 correctly re-points; RFC-0008 remains unimplemented and its own implementation RFC/ADR will fix the literal.

All Markdown links and section anchors in RFC-0012 resolve; the phase2-scoping.md governance banner and freeze-checklist entry conform to ADR-0027; the PR is a draft, carries the rfc label, and its 14-day window (to 2026-10-22) is consistent with docs/rfcs/README.md.

Limitations

The 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 7a098ba is verified per the GitHub API (.commit.verification.verified = true); local git signature verification is unavailable on the runner and is not evidence of a signing problem.

github run

gonzafg2 added a commit that referenced this pull request Oct 8, 2026
…/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]>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

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
Iteration: Review #2 (2 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model

Executive summary

RFC-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 -00 draft status support.

The external adoption and release claims could not be independently verified in this offline environment.

Previous issues

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012:130-138 now requires zeroizing storage, prompt drops, and excludes secrets from diagnostics.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012:226-242 now requires the superseding ADRs, ADR-0020 fixtures, and implementation to merge together.

New findings

🟡 Important (should be resolved)

docs/threat-model.md:1358-1362 — inconsistent migration trigger (confidence: 84)

Problem: This says the trigger is a “settled IETF standard” and that it fired, while RFC-0012 identifies the selected specification as draft-ietf-sshm-composite-sigs-00 and explicitly notes that its encoding may still change. RFC-0006 defines the actual first gate as SSHM WG adoption, not IETF standard publication. The authoritative threat model should state the same criterion as the accepted migration RFC.

Fix: Describe the trigger as an SSHM-WG-adopted draft deployed by the reference client, or otherwise revise the statement to match RFC-0006’s two adoption gates.

Anchor: RFC-0006 §Reference-level explanation, “The two adoption gates — both REQUIRED before any implementation.”

@opencode-agent

opencode-agent Bot commented Oct 8, 2026

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #2 (2 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes in this PR, so those lenses do not apply.

Executive summary

RFC-0012 makes one shape-determining decision — replace ssh-ed25519 host authentication with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the final WG identifier, excludes ssh-mldsa87-p384, and delegates the ML-DSA crate, the ADR-0021 slot-2 supersession and the interop pin to subsidiary ADRs. Commit 0de13cc adds the two normative sections the earlier Codex review required; both are correctly drafted. The decision is coherent with RFC-0006's adoption gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor, and the five commitments.

Previous issues

# Issue Status Notes
1 Key-material lifecycle omitted (Codex, blocking) ✅ resolved 0012-...:130-138 adds Key material (normative): decoded openssh-key-v1 private section, both seeds, the expanded ML-DSA key, the Ed25519 key and signing temporaries are held in zeroizing types, dropped/zeroized, and excluded from Debug, errors, logs and panic output — exactly threat-model §4.3 and CLAUDE.md rule "Key material is zeroized after use, never logged".
2 Migration ordering did not require the mandated atomic interop update (Codex, blocking) ✅ resolved 0012-...:226-242 adds Ordering, applying RFC-0007 §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 fixture changes and the code; only the crate ADR may land earlier. No state of main where the profile and gate disagree.

New findings

None. Five candidate findings were raised across the design, consistency and process lenses and all were refuted on adversarial validation below the ≥80 reporting threshold:

  • docs/threat-model.md:1358-1366 "a settled IETF standard … That trigger fired in October 2026" vs. RFC-0006 gate 1 (WG adoption of a -00 draft). Refuted: the same document uses "settled and deployed by the reference client" as shorthand for RFC-0006's two gates (threat-model.md:1621-1636), RFC-0007 §1 codifies the live-only gate as WG adoption + a stock release (0007:109-112), and the first clause is pre-existing text.
  • docs/plans/phase2-scoping.md:7-11 listing a Draft RFC among authoritative decisions. Refuted: merge is acceptance per docs/rfcs/README.md:87-89 and commit 14cb530; the plan is explicitly non-authoritative (ADR-0027), and naming the RFC is the banner's intended use.
  • 0012-...:130-138 "dropped as soon as the signing state is built" applied to the retained signing keys. Refuted: the trailing "zeroized when the long-lived key object drops" distributes the predicates by category; imprecise prose, still satisfies §4.3 and cannot yield an insecure implementation.
  • 0012-...:7,22-24 changing RFC-0006's target identifier without Supersedes:/Amends:. Refuted: RFC-0012 is the implementation RFC RFC-0006 requires; it layers on top rather than obsoleting it, so Implements: is the correct lane (docs/rfcs/README.md:114-116).
  • 0012-...:218-220 "an ADR superseding ADR-0034's pin". Refuted: 10.6 exists only in sid, changing the image/base model that ADR-0034's routine bump procedure is bounded to, so ADR-0015 supersede-don't-edit applies.

The threat-model.md and phase2-scoping.md edits are conditional on the cut-over landing and remain accurate for the shipped posture; ssh-ed25519 is not mislabelled legacy (RFC-0009, RFC-0011), no accepted ADR is edited in place, and no hard constraint is touched. All Markdown links and section anchors resolve; both 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:83-86.

Limitations

The RFC's external adoption facts (SSHM WG adoption on 2026-08-22, 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 EO/Cloudflare context) 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.

github run

gonzafg2 added a commit that referenced this pull request Oct 8, 2026
…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]>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

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
Iteration: Review #3 (3 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model

Executive summary

RFC-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

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012:130-138 now mandates zeroizing storage, prompt drops, zeroization on long-lived object drop, and excludes secrets from diagnostics.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012:226-242 requires the profile and interop ADRs, interop fixtures, and implementation to merge together.
3 Threat-model migration trigger was stricter than RFC-0006’s WG-adoption-plus-stock-client gates. ✅ threat-model:1358-1367 now states the two RFC-0006 gates precisely.

New findings

None.

Limitations

External claims about draft adoption, OpenSSH releases and ordering, Debian availability, and cited research could not be independently verified in this offline environment.

Decision: 🟢 Approved

@opencode-agent

opencode-agent Bot commented Oct 8, 2026

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #3 (3 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes in this PR, so those lenses do not apply.

Executive summary

RFC-0012 makes one shape-determining decision — replace ssh-ed25519 host authentication with the composite ssh-mldsa44-ed25519 in a single cut-over before 0.1.0, with no dual-offer window — and correctly delegates the primitive crate, the ADR-0021 slot-2 supersession and the interop-client pin to three subsidiary ADRs. Commit 37fbf03, not yet covered by any prior review, rewrites the threat-model §7 trigger as RFC-0006's two adoption gates, closing the last open item from Codex. The decision is coherent with the five commitments, RFC-0006's gates, RFC-0007's supersession mechanics, and the RFC-0009/RFC-0011 floor.

Previous issues

# 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_LIST is still ssh-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

github run

gonzafg2 added a commit that referenced this pull request Oct 11, 2026
…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]>
@gonzafg2

Copy link
Copy Markdown
Owner Author

Reviewer findings: summary of rounds 1–3

# Source Finding Action Commit
1 Codex review #1 (blocking) Composite private-key lifecycle had no zeroization or diagnostics rule New Key material (normative) paragraph in Reference-level: zeroizing storage, early drop, zeroized on drop, never in Debug/errors/logs/panics (threat-model §4.3) 0de13cc
2 Codex review #1 (blocking) Profile and interop changes were not required to land atomically (RFC-0007 §2) New Ordering section: the profile ADR and interop ADR flip to Accepted inside the implementation PR, together with the ADR-0020 fixtures and the code; only the crate ADR may land earlier 0de13cc
3 Codex review #2 (important) Threat-model §7 described the trigger as a "settled IETF standard", stricter than RFC-0006 §7 now states RFC-0006's two adoption gates 37fbf03
4 opencode review #3 (refuted candidate, accurate today) threat-model.md:132 §2.3 "Ed25519 by default" Text stays, because it describes the shipped key. The line, plus the §1 default-profile line, is added to RFC-0012's "Restatements the implementation PR updates", so the implementation PR updates both 130489b

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).

@github-actions

Copy link
Copy Markdown

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
Iteration: Review #4 (3 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model

Executive summary

RFC-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

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012:130-138 normatively requires zeroizing storage, prompt disposal, zeroization on long-lived object drop, and exclusion from diagnostics.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012:226-242 requires the profile and interop ADRs, ADR-0020 fixture changes, and implementation to merge together.
3 Threat-model migration trigger was stricter than RFC-0006’s WG-adoption-plus-stock-client gates. ✅ docs/threat-model.md:1358-1367 now states RFC-0006’s two adoption gates precisely.

New findings

None.

Limitations

External 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

@opencode-agent

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #4 (3 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes, so those lenses do not apply.

Executive summary

RFC-0012 makes one shape-determining decision — replace ssh-ed25519 host authentication with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the WG-adopted identifier, excludes ssh-mldsa87-p384 (ECDSA P-384, on the floor) and the @openssh.com experimental name, and delegates the primitive crate, the ADR-0021 slot-2 supersession and the interop pin (ADR-0034) to three subsidiary ADRs. The decision is coherent with RFC-0006's gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor, and the five commitments: ssh-ed25519 is never mislabelled legacy, no Accepted ADR is edited in place, and no hard constraint is touched. The threat-model.md and phase2-scoping.md edits are framed as conditional on the implementation and remain accurate for the shipped posture. Commit 130489b, new since the prior rounds, extends only the restatement list.

Previous issues

# 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-99 still 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/0005 and docs/rfcs/0006 still cite issue #42 for 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

github run

@github-actions

Copy link
Copy Markdown

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
Iteration: Review #5 (4 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model

Executive summary

RFC-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

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012:130-138 requires zeroizing storage, prompt disposal, zeroization on long-lived-object drop, and exclusion from diagnostics.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012:226-242 requires the profile and interop ADRs, ADR-0020 fixtures, and implementation to land together.
3 Threat-model migration trigger was stricter than RFC-0006’s WG-adoption-plus-stock-client gates. ✅ docs/threat-model.md:1358-1367 states RFC-0006’s two adoption gates precisely.
4 Shipped-posture host-key statements were not included in the implementation restatement list. ✅ RFC-0012:250-261 identifies the affected README and threat-model statements for the implementation PR.

New findings

None.

Limitations

External 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

@gonzafg2
gonzafg2 marked this pull request as ready for review October 11, 2026 05:01
@github-actions

Copy link
Copy Markdown

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
Iteration: Review #6 (4 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model

Executive summary

RFC-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

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012’s Key material section requires zeroizing storage, prompt disposal, zeroization on long-lived object drop, and exclusion from diagnostics.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012’s Ordering section requires the profile and interop ADRs, ADR-0020 fixture changes, and code to merge together.
3 Threat-model migration trigger was stricter than RFC-0006’s WG-adoption-plus-stock-client gates. ✅ docs/threat-model.md §7 now states RFC-0006’s two adoption gates precisely.
4 Shipped-posture host-key statements were not included in the implementation restatement list. ✅ RFC-0012’s Restatements section identifies the affected README and threat-model statements for the implementation PR.

New findings

None.

Limitations

External 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

@opencode-agent

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #5 (4 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes in this PR: the crates/quantumssh*/ files visible on the branch come from the merge of main (4df8aef, #173), not from this changeset, so those lenses do not apply.

Executive summary

RFC-0012 makes one shape-determining decision — replace the ssh-ed25519 host key with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the WG identifier and the exclusion of ssh-mldsa87-p384, and delegates the ML-DSA crate, the ADR-0021 slot-2 supersession and the interop-client pin to three subsidiary ADRs. The decision is coherent with RFC-0006's adoption gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor, and the five commitments: ssh-ed25519 is never mislabelled legacy, the composite AND-verification invariant is retained, no Accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. The threat-model.md and plan edits are framed as conditional on the implementation and remain accurate for the shipped posture.

Previous issues

# 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-261 ssh-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, and ssh-ed25519 remains 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_review 2026-10-11T05:01Z). Refuted: docs/rfcs/README.md:78-86 requires opening as a draft and the RFC staying open for 14 days before merge — both hold; the RFC's Status: 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

github run

@claude

claude Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

PR Review: docs(rfc): RFC-0012 — cut host authentication over to `ssh-mldsa44-ed25519` before 0.1.0 (#172)

Decision: 🔴 Blocked
Iteration: Review #5 (3 resolved, 0 open) — first review by claude[bot]
Lenses applied: Design decision (docs/rfcs/, docs/threat-model.md, docs/plans/phase2-scoping.md)

Executive summary

RFC-0012 makes one sound decision — cut host authentication to the WG-adopted ssh-mldsa44-ed25519 composite before 0.1.0 with no dual-offer window — coherent with the five MANIFIESTO commitments, RFC-0006's adoption gates, and RFC-0007's supersession mechanics. The three previously blocking issues are fully resolved. Two new issues remain: the threat model §7 bullet implies the RFC-0012 cut-over closes the full classical-signatures exposure when it only migrates host authentication, leaving the user-key half untracked; and the "Not compiled in" list uses a bare -cert identifier that does not exist in any SSH naming registry.

Previous issues

# Issue Status Notes
1 Composite private-key lifecycle omitted zeroization and diagnostic rules (Codex #1, blocking) ✅ 0de13cc adds Key material (normative) at RFC-0012:130-138
2 Profile/interop migration not required to land atomically (Codex #1, blocking) ✅ 0de13cc adds Ordering section at RFC-0012:226-242
3 §7 trigger stated stricter than RFC-0006's WG-adoption gates (Codex #2, important) ✅ 37fbf03 rewrites §7 to name RFC-0006's two adoption gates precisely

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)

Problem: The §7 bullet "Classical signatures against a future CRQC" explicitly covers two attack surfaces: host keys that travel in cleartext in every handshake, and user public keys that "are often genuinely public (e.g. on code forges)" (threat-model:1341-1345). The sentences added by this PR conclude: "RFC-0012 cuts host authentication over to ssh-mldsa44-ed25519 before 0.1.0, tracked under issue #109. Until that cut-over lands, the exposure described here stands." The phrase "the exposure described here" encompasses the full bullet. RFC-0012 migrates only host authentication — its own §Guide-level explanation states: "User authentication stays ssh-ed25519 publickey; post-quantum user keys are a separate decision (RFC-0006 §Future possibilities)." After the cut-over, the user-key half remains open indefinitely, but §7 reads as if the whole exposure closes. Additionally, the issue switch from #42 → #109 leaves no open tracker for the user-key residual in §7.

Fix: Split the concluding clause to distinguish what RFC-0012 closes from what persists:

[RFC-0012](rfcs/0012-composite-host-key-cutover.md) cuts host
authentication over to `ssh-mldsa44-ed25519` before `0.1.0`,
tracked under issue #109. Until that cut-over lands, the host-key
half of the exposure described here stands. The user-authentication
half — user public keys remain classical `ssh-ed25519` — is a
separate open decision (RFC-0006 §Future possibilities) and
persists beyond the cut-over.

Anchor: docs/threat-model.md §7 is the authoritative residual risk register (CLAUDE.md: "The threat model is the authoritative reference").

🟡 Important (should be resolved)

docs/rfcs/0012-composite-host-key-cutover.md:162 — invalid SSH certificate algorithm identifier (confidence: 85)

Problem: The "Not compiled in" list uses ssh-mldsa44-ed25519-cert, which does not exist in any SSH naming registry. SSH certificate algorithm names follow the *[email protected] convention established by OpenSSH PROTOCOL.certkeys; RFC-0008 uses this form twice (lines 17-18 and 76: [email protected]). draft-ietf-sshm-composite-sigs registers only signature algorithm names, not certificate names — those belong to the draft-ietf-sshm-cert lane. Because the other two "Not compiled in" entries (ssh-mldsa87-p384 and [email protected]) are exact wire identifiers, a reader or future implementer may treat ssh-mldsa44-ed25519-cert as a literal name. The same identifier appears again at line 359 in the "Future possibilities" section.

Fix: If OpenSSH 10.6 defines a composite host certificate algorithm, use its actual wire name ([email protected]). If no name has been defined yet, drop the identifier and describe the exclusion without citing a non-existent wire name — e.g. "Host certificates over the composite key — draft-ietf-sshm-composite-sigs registers signature algorithm names only; a certificate name follows the PROTOCOL.certkeys convention when defined, through the RFC-0008 lane." Apply the same correction at line 359.

Anchor: RFC-0008 lines 17-18, 76 (naming convention); CLAUDE.md "Do not reference files or paths that do not exist yet as if they do."

Limitations

External adoption facts (SSHM WG adoption on 2026-08-22, OpenSSH 10.6 release contents and dates, V_10_6_P1 host-key ordering, Debian 1:10.6p1-1 availability, RFC 10042, and the key/signature size figures from FIPS 204) cannot be independently verified from this environment; they are internally consistent with the repository's other documents. Commit signature verification is unavailable locally (runner limitation noted by prior reviewers); opencode review #4 confirmed verified: true via the GitHub API for all commits through review #4. Commit 130489b (added since review #4 — extends the restatements list) carries the docs(rfc): Conventional Commits form and DCO sign-off; signature was not independently verified here.

Comment thread docs/threat-model.md Resolved
gonzafg2 added a commit that referenced this pull request Oct 11, 2026
…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]>
@github-actions

Copy link
Copy Markdown

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
Iteration: Review #7 (6 resolved, 0 open)
Lenses applied: design decision (RFC-0012), threat model, Phase-2 governance plan

Executive summary

RFC-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

# Issue Status Notes
1 Composite private-key lifecycle lacked zeroization and diagnostic requirements. ✅ RFC-0012:130-138 normatively requires zeroizing storage, prompt disposal, zeroization on long-lived-object drop, and diagnostic exclusion, matching threat-model §4.3.
2 Profile and interop migration were not required to land atomically. ✅ RFC-0012:231-245 requires the profile and interop ADRs, ADR-0020 fixture updates, and implementation to land together, as required by RFC-0007 §2.
3 Threat-model migration trigger was stricter than RFC-0006’s WG-adoption-plus-stock-client gates. ✅ threat-model.md:1358-1363 now states RFC-0006’s two adoption gates.
4 Shipped-posture host-key statements were not included in the implementation restatement list. ✅ RFC-0012:253-264 identifies the affected README and threat-model statements for the implementation PR.
5 The §7 residual-risk text implied the host cut-over closed the user-key exposure. ✅ threat-model.md:1364-1370 distinguishes the host-key cut-over from the separately open classical user-authentication exposure.
6 The composite certificate key identifier was asserted to be invalid. ✅ RFC-0012:162-168 and :361-363 consistently identify it as the OpenSSH 10.6-specific ssh-mldsa44-ed25519-cert name rather than a WG-registered identifier.

New findings

None.

Limitations

External 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

@opencode-agent

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #6 (6 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes attributable to this PR — the crates/* files reachable on the branch come from the merge of main (4df8aef, #173), not from this changeset.

Executive summary

RFC-0012 makes one shape-determining decision — replace the ssh-ed25519 host key with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the WG identifier and the exclusion of ssh-mldsa87-p384, and delegates the ML-DSA crate, the ADR-0021 slot-2 supersession and the interop-client pin to three subsidiary ADRs. It is coherent with RFC-0006's gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor, and the five commitments: ssh-ed25519 is never mislabelled legacy, the composite AND-verification invariant is retained, no Accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. Commit 882bcf0 closes the last two items from claude-review; there are no open issues.

Previous issues

# 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-ed25519 under 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-auth ssh-ed25519 remains 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 — a Draft RFC 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-up 14cb530). 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:53 restatement 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

github run

@opencode-agent

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #7 (6 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes are attributable to this changeset — the crates/* files reachable on the branch come from the merge of main (4df8aef, #173), not from this diff.

Executive summary

RFC-0012 makes one shape-determining decision — replace ssh-ed25519 host authentication with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the WG-adopted identifier, excludes ssh-mldsa87-p384 (ECDSA P-384, on the floor) and the experimental @openssh.com name, and delegates the primitive crate, the ADR-0021 slot-2 supersession and the interop-client pin to three subsidiary ADRs. The decision is coherent with RFC-0006's adoption gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor, and the five commitments: ssh-ed25519 is never mislabelled legacy, the composite AND-verification invariant is retained, no Accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. All six issues raised across rounds 1–5 are resolved at HEAD; nothing new reaches the reporting threshold.

Previous issues

# 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-ed25519 is not legacy) is correct.
  • docs/rfcs/0008:97-98 still 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

github run

@opencode-agent

Copy link
Copy Markdown

PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #8 (6 resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md, docs/threat-model.md, docs/plans/phase2-scoping.md). No Rust under crates/ and no CI/workflow changes are attributable to this changeset — the crates/* files reachable on the branch come from the merges of main (4df8aef, 418127e, a299c37), not from this diff.

Executive summary

RFC-0012 makes one shape-determining decision — replace ssh-ed25519 host authentication with the composite ssh-mldsa44-ed25519 in a single cut-over before the 0.1.0 tag, with no dual-offer window — records the WG-adopted identifier, excludes ssh-mldsa87-p384 (ECDSA P-384, on the floor), and delegates the primitive crate, the ADR-0021 slot-2 supersession and the interop-client pin to three subsidiary ADRs. The decision is coherent with RFC-0006's adoption gates, RFC-0007's supersession mechanics, the RFC-0009/RFC-0011 floor and the five commitments: the composite AND-verification invariant is retained, ssh-ed25519 is never mislabelled legacy, no Accepted ADR is edited in place (ADR-0015), and no hard constraint is touched. All six issues raised across rounds 1–5 are resolved at HEAD (a299c37); nothing new reaches the ≥80 reporting threshold.

Previous issues

# 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-ed25519 under 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-auth ssh-ed25519 remains 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.0 cut 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 — a Draft RFC 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:8 vs :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

github run

@gonzafg2

Copy link
Copy Markdown
Owner Author

@codex review

@gonzafg2

Copy link
Copy Markdown
Owner Author

@claude review the latest push (34140b1): the Restatements paragraph now says the cut-over closes RFC-0006's migration-window example. The claude-review run 40762315764 finished green without posting.

@claude

claude Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @gonzafg2's task in 42s —— View job


PR Review: docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 before 0.1.0 (#172)

Decision: 🟢 Approved
Iteration: Review #11 (the one open item from Review #10 is resolved, 0 open)
Lenses applied: Design decision (docs/rfcs/0012-composite-host-key-cutover.md). 34140b1 changes only the Restatements paragraph (+5/-2).

Previous issues

# 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.md hard rule 3 (line 59) and AGENTS.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-82 and :136-138 say user-auth ssh-ed25519 "stays under RFC-0006". docs/rfcs/0009-zero-legacy-moving-frontier.md:102-103 says RFC-0006 governs ssh-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-auth ssh-ed25519 is 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.md the 14-day window runs to 2026-10-22, which has now passed. Flip Status to Accepted (<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

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 34140b1861

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@opencode-agent

Copy link
Copy Markdown

APIError: Insufficient Balance (request_id: 41c6d074-f9b8-420f-bb01-556fec8f32c2)

github run

gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…/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]>
@gonzafg2
gonzafg2 force-pushed the docs/rfc-0012-composite-host-key-cutover branch from e314a04 to 3af52ee Compare October 28, 2026 22:55
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
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]>
@opencode-agent

Copy link
Copy Markdown

APIError: Insufficient Balance (request_id: 5b85969a-dd32-4901-866e-773781e96c90)

github run

…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]>
@gonzafg2
gonzafg2 force-pushed the docs/rfc-0012-composite-host-key-cutover branch from 3af52ee to f6b04be Compare October 28, 2026 22:57
@opencode-agent

Copy link
Copy Markdown

APIError: Insufficient Balance (request_id: 5267a31e-3c0f-4d1c-9e66-0ee800536c43)

github run

@gonzafg2
gonzafg2 merged commit 029ff37 into main Oct 28, 2026
10 of 11 checks passed
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
#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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
#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]>
gonzafg2 added a commit that referenced this pull request Oct 29, 2026
… 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]>
gonzafg2 added a commit that referenced this pull request Oct 29, 2026
…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]>
@gonzafg2
gonzafg2 deleted the docs/rfc-0012-composite-host-key-cutover branch December 1, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rfc Request for comments / design proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design: no mechanism defined for migrating cryptographic primitives as NIST/IETF deprecates them

2 participants