Repository navigation
docs(threat-model): record the post-quantum signature posture explicitly - #58
Merged
Merged
Conversation
The model covered HNDL and primitive breakage but never stated that both authentication surfaces (ssh-ed25519 host keys and user keys) are classical, why that is deliberate sequencing rather than an oversight, and what the migration trigger is. A reader could infer the whole handshake is post-quantum; it is not — confidentiality is (hybrid KEX, no downgrade), authentication is classical like the entire interoperable SSH ecosystem. Three additions: - §6.1: 'Signatures are classical, by deliberate sequencing' — no retroactive exposure for signatures, migration sequenced behind an interoperable standard. - §7: the residual-risk entry for a future CRQC against classical signatures — active-adversary MITM/impersonation if we have not migrated by day zero; passive adversaries stay defeated; exposure bounded by minutes-fast key rotation; trigger and lane (issue #42). - §9: references for openssh.org/pq.html and the four competing IETF drafts for post-quantum SSH signatures (pure ML-DSA and composite). Signed-off-by: Gonzalo Fleming <[email protected]>
…e-RFC marking, RFC-0003 anchor Three changes from the CI review of #58: - $7: fast key rotation does not bound a classical break (a replacement Ed25519 key is exactly as derivable); reframed as the reason adoption can be immediate once the software speaks the new algorithm — the single real bound. - All three 'issue #42's agility mechanism' phrasings treated a not-yet-written RFC as existing (issue #42's own title is 'no mechanism defined…'); rewritten as future work, tracked under #42. - $6.1 now anchors the signature choice to accepted RFC-0003, making explicit that this section documents the quantum-security consequence of an already-RFC-gated decision rather than taking a new one. Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2
added a commit
that referenced
this pull request
Jun 11, 2026
Every PQ claim in the README is anchored to key exchange and harvest-now-decrypt-later — accurate, but the most-read document never said out loud that signatures (host keys and user authentication) remain classical Ed25519, or why that ordering is deliberate. A casual reader of the name plus the tagline could over-read the promise. Two changes: - Commitment #2 now states the signature scope explicitly and links to threat model section 6.1, where the full rationale and the residual risk live (lands with #58). - The 'quantum cliff' paragraph said key exchange relies on 'Diffie-Hellman over elliptic curves and RSA'; in SSH-2, RSA is a signature/host-key algorithm, not a key exchange (RFC 4432 RSA KEX is marginal). Reworded: ECDH key exchange authenticated by classical signatures, all of which fall to Shor. Signed-off-by: Gonzalo Fleming <[email protected]>
3 tasks done
…try; fix attributions Four review findings from the re-review of #58, applied: - The host public key travels in cleartext in every handshake (RFC 4253 sec. 8), so post-CRQC derivation of the host private key needs only passive capture; the active position is required only for exploitation (real-time MITM). The section-7 entry now splits the two steps and scopes 'passive adversaries remain defeated' to session confidentiality and retroactive forgery — with the bound that the harvest is voided by rotating or migrating before day zero, unlike recorded traffic. - 'No harvest-now-decrypt-later exposure' narrowed to 'no retroactive exposure' in section 6.1, with the cleartext-host-key nuance stated. - 'SSH key material rotates in minutes' replaced by the bound that actually holds: no certificate hierarchy to re-roll, so adoption proceeds as soon as the software speaks the new algorithm. - The user-auth algorithm selection is attributed to ADR-0021 (now merged) rather than over-attributed to RFC-0003, which selects the host keys. Signed-off-by: Gonzalo Fleming <[email protected]>
…otate the openssh.org URL - Citing sec. 8 (the classical Diffie-Hellman method this project forbids) for the cleartext host key was confusing; the property is structural to every SSH key-exchange method's reply, including the hybrid KEX. Reworded without the section anchor. - The openssh.org reference keeps getting re-flagged by fresh review runs; an inline comment now records the verification (openssh.com 301-redirects to openssh.org) so reviewers stop tripping on it. Signed-off-by: Gonzalo Fleming <[email protected]>
Contributor
Code reviewDCO sign-off missing on merge commits Two merge commits in this PR lack the
Affected commits:
The five substantive Fix: rebase the branch to drop the bare merge commits before landing. |
…re, not rotation Internal-consistency finding from the #58 re-review: section 6.1 said future impersonation is 'voided by rotating or migrating the key before day zero' while section 7 correctly states that rotating within a classically broken algorithm bounds nothing — in SSH usage 'rotate' means same-algorithm replacement, and a replacement Ed25519 key is derivable live once a CRQC exists (the host public key travels in cleartext in every handshake, no prior harvest needed). Both passages now say migration, with the rotation caveat cross-referenced. Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2
added a commit
that referenced
this pull request
Jun 11, 2026
Every PQ claim in the README is anchored to key exchange and harvest-now-decrypt-later — accurate, but the most-read document never said out loud that signatures (host keys and user authentication) remain classical Ed25519, or why that ordering is deliberate. A casual reader of the name plus the tagline could over-read the promise. Two changes: - Commitment #2 now states the signature scope explicitly and links to threat model section 6.1, where the full rationale and the residual risk live (lands with #58). - The 'quantum cliff' paragraph said key exchange relies on 'Diffie-Hellman over elliptic curves and RSA'; in SSH-2, RSA is a signature/host-key algorithm, not a key exchange (RFC 4432 RSA KEX is marginal). Reworded: ECDH key exchange authenticated by classical signatures, all of which fall to Shor. Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2
added a commit
that referenced
this pull request
Jun 11, 2026
Every PQ claim in the README is anchored to key exchange and harvest-now-decrypt-later — accurate, but the most-read document never said out loud that signatures (host keys and user authentication) remain classical Ed25519, or why that ordering is deliberate. A casual reader of the name plus the tagline could over-read the promise. Two changes: - Commitment #2 now states the signature scope explicitly and links to threat model section 6.1, where the full rationale and the residual risk live (lands with #58). - The 'quantum cliff' paragraph said key exchange relies on 'Diffie-Hellman over elliptic curves and RSA'; in SSH-2, RSA is a signature/host-key algorithm, not a key exchange (RFC 4432 RSA KEX is marginal). Reworded: ECDH key exchange authenticated by classical signatures, all of which fall to Shor. Signed-off-by: Gonzalo Fleming <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the threat model state explicitly what is post-quantum in QuantumSSH and what is not yet: confidentiality is PQ (hybrid KEX, no downgrade); authentication is classical (
ssh-ed25519host and user keys), by deliberate sequencing, with the residual risk, the bound on it, and the migration trigger written down.Motivation
The model already covers HNDL (§3.2.5, §5.2.1) and primitive breakage (§7, §8.10), but nowhere states that both signature surfaces are classical and why that is acceptable. A reader could infer the entire handshake is post-quantum. For a project whose manifesto values professional honesty, the limit should be in the authoritative document, not in a maintainer's head.
The technical posture being recorded:
draft-rpe-ssh-mldsa,draft-sfluhrer-ssh-mldsa; composite:draft-josefsson-ssh-ed25519mldsa65,draft-sun-ssh-composite-sigs). Adopting one prematurely would break interop with every deployed client for no present-day gain.Changes
Type of change
Checklist
git commit -s).Security considerations
This PR changes no posture — it documents the existing one precisely, including its limit. Writing the limit down is itself the security improvement (threat model §6.5, documentation as defence).
Related issues
[email protected]) and adoption gates are tracked there.