Skip to content

chore(security): publish project PGP key - #2

Merged
gonzafg2 merged 2 commits into
mainfrom
chore/pgp-key
May 10, 2026
Merged

gonzafg2 merged 2 commits into
mainfrom
chore/pgp-key

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

Generates and publishes the QuantumSSH project security PGP key so that vulnerability reporters can encrypt embargoed reports as described in SECURITY.md.

Key details

UID QuantumSSH Security <[email protected]>
Algorithm Ed25519 (sign, cert) + Curve25519 (encrypt)
Primary fingerprint 66DB 5100 B070 0E4A E051 971F 9A8D FF06 AFD2 5B24
Encryption subkey 12A8 BCF0 3709 5A50 06E9 E6F6 4CFE 72E9 E72F A113
Created 2026-05-10
Expires 2028-05-09 (2y; rotation reminder before expiry)

Changes

  • keys/security.asc — full ASCII-armored public key
  • SECURITY.md — fingerprint metadata + import instructions replace the original <TBD> placeholder
  • CHANGELOG.md — Unreleased entry

Verification by reporter

curl -fsSL https://raw.githubusercontent.com/gonzafg2/quantumssh/main/keys/security.asc | gpg --import
gpg --fingerprint [email protected]
# Expected: 66DB 5100 B070 0E4A E051  971F 9A8D FF06 AFD2 5B24

Private key custody

The private key material is held by the project lead, passphrase-protected, and is not in this repository. Rotation will be handled before the 2028-05-09 expiry via a follow-up PR with a new public key file and superseded-key revocation.

Checklist

  • Commit signed (DCO sign-off + SSH signature)
  • CI passes (will be checked once required workflows run)
  • CHANGELOG.md updated under [Unreleased]
  • No private key material committed

Copilot AI review requested due to automatic review settings May 10, 2026 05:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Publishes the QuantumSSH project’s security PGP public key and updates the security reporting documentation so reporters can encrypt embargoed vulnerability reports.

Changes:

  • Added an ASCII-armored public key at keys/security.asc.
  • Replaced the SECURITY.md placeholder with fingerprint metadata and key import instructions.
  • Touched CHANGELOG.md under [Unreleased].

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
SECURITY.md Documents the project security PGP fingerprint(s) and how to import the published public key.
keys/security.asc Adds the project’s ASCII-armored public key block to the repo.
CHANGELOG.md Updates the [Unreleased] “Added” section (currently only a formatting change).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md Resolved
Comment thread SECURITY.md Resolved
Generates the QuantumSSH project security key and publishes the public
half so that vulnerability reporters can encrypt embargoed reports.

Key details:

- UID:            QuantumSSH Security <[email protected]>
- Algorithm:      Ed25519 (sign, cert) + Curve25519 (encrypt)
- Primary FP:     66DB5100B0700E4AE051971F9A8DFF06AFD25B24
- Encrypt subkey: 12A8BCF037095A5006E9E6F64CFE72E9E72FA113
- Created:        2026-05-10
- Expires:        2028-05-09 (rotation reminder before expiry)

Changes:

- Add `keys/security.asc` with the ASCII-armored public key.
- Replace the `<TBD>` placeholder in SECURITY.md with the actual
  fingerprints, algorithm metadata, and an import command pointing at
  the raw file in this repository.

The private key material is held by the project lead under passphrase
protection and is not committed. Issue #1 (the original PGP placeholder
tracker) can be closed once this PR lands.

Signed-off-by: Gonzalo Fleming <[email protected]>
Two corrections from Copilot's review of the PGP key publication PR:

1. CHANGELOG.md was missing an actual entry describing the PGP key
   publication; only a blank line had landed. Added a bullet under
   `[Unreleased] -> Added` that records the fingerprint, algorithm,
   and expiry, plus the SECURITY.md placeholder replacement.

2. The previous SECURITY.md import recipe piped remote content
   straight into `gpg --import`, with no fingerprint verification
   step. That is a footgun on a security-sensitive key. The new
   recipe downloads to a file, runs `gpg --show-keys` so the
   reporter can compare fingerprints offline, and only then imports.
   The text is explicit that step 2 must not be skipped.

Signed-off-by: Gonzalo Fleming <[email protected]>
@gonzafg2
gonzafg2 merged commit d79498f into main May 10, 2026
6 checks passed
@gonzafg2
gonzafg2 deleted the chore/pgp-key branch May 10, 2026 05:49
gonzafg2 added a commit that referenced this pull request May 12, 2026
Copilot reviewer flagged that the draft introduced an explicit
"Likelihood, conditional on capability" field on §3.2.6, contradicting
docs/threat-model.md §1.1 which states the document is not a risk
assessment and assigns no likelihoods or impact ratings.

This commit removes the sixth field from the proposed §3.2.6 actor
specimen so the format matches §3.2.1-§3.2.5 exactly (Capability,
Intent, Targeting, Typical techniques, Implication for design). The
rationale for documenting the actor now is preserved in the Motivation
and Drawbacks sections, framed by reference to the existing or
committed-to mitigations rather than by a probability claim.

Cascading edits:
- Summary: replace likelihood sentence with §1.1-consistent framing.
- Drawbacks #4: rephrase to argue from mitigation existence, not from
  likelihood rating.
- Unresolved questions #2: declare resolved (field removed); note that
  any future move to add likelihood ratings would be a separate,
  larger RFC.
- Unresolved questions #5 ("When to re-rate likelihood"): removed,
  moot.
- Rationale "Why Moderate-High capability": remove the
  capability-vs-likelihood orthogonality argument that referenced the
  now-removed body paragraph; preserve the substantive point that
  capability is rated by what the adversary can do.

Refs PR #22 review by copilot-pull-request-reviewer.
gonzafg2 added a commit that referenced this pull request May 12, 2026
* docs(rfc): draft RFC 0001 -- project maintainer compromise actor

Adds a draft RFC under docs/rfcs/ proposing a new in-scope threat
actor (§3.2.6 Project maintainer compromise) for docs/threat-model.md,
with specimen text for the actor entry, refinement of §5.5.2 into
upstream-dependency and own-project sub-cases, re-targeting of §6.4
mitigations with explicit "covers / does not cover" pairings, and
specimen amendments to the §3.2 intro paragraph, §7 (Residual risk),
and a new §8.11 (Out of scope).

The RFC honestly surfaces the gap that branch protection with
required_approving_review_count = 0 (ADR-0008) does not provide
four-eyes review during single-maintainer phases, and identifies
reproducible builds (Phase 3, RFC-gated) as the only control that
retains value against a fully-compromised maintainer because
verification occurs outside the maintainer's trust boundary.

Tracks issue #20. The threat model itself is not amended here; a
follow-up implementation PR will apply the proposed text on RFC
acceptance per the maintenance clause in docs/threat-model.md.

* docs(rfc): remove §3.2.6 likelihood field to preserve §1.1 framing

Copilot reviewer flagged that the draft introduced an explicit
"Likelihood, conditional on capability" field on §3.2.6, contradicting
docs/threat-model.md §1.1 which states the document is not a risk
assessment and assigns no likelihoods or impact ratings.

This commit removes the sixth field from the proposed §3.2.6 actor
specimen so the format matches §3.2.1-§3.2.5 exactly (Capability,
Intent, Targeting, Typical techniques, Implication for design). The
rationale for documenting the actor now is preserved in the Motivation
and Drawbacks sections, framed by reference to the existing or
committed-to mitigations rather than by a probability claim.

Cascading edits:
- Summary: replace likelihood sentence with §1.1-consistent framing.
- Drawbacks #4: rephrase to argue from mitigation existence, not from
  likelihood rating.
- Unresolved questions #2: declare resolved (field removed); note that
  any future move to add likelihood ratings would be a separate,
  larger RFC.
- Unresolved questions #5 ("When to re-rate likelihood"): removed,
  moot.
- Rationale "Why Moderate-High capability": remove the
  capability-vs-likelihood orthogonality argument that referenced the
  now-removed body paragraph; preserve the substantive point that
  capability is rated by what the adversary can do.

Refs PR #22 review by copilot-pull-request-reviewer.

* docs(rfc): correct GitHub require_signed_commits semantics in §6.4

Second Copilot reviewer pass flagged that the RFC overstated what
ADR-0006 + ADR-0008 actually deliver against §3.2.6. GitHub's
require_signed_commits branch-protection setting validates that a
commit carries a signature "verified" against any key registered to
a collaborator of the repo. It does not pin to a specific fingerprint,
so the control is bypassable by:

  (a) a session hijack that uploads a fresh signing key to the
      compromised collaborator account,
  (b) theft of the maintainer's existing SSH signing key,
  (c) a malicious co-maintainer's own registered signing key.

The pinned-fingerprint guarantee is available only out of band
(downstream allowed_signers verification per ADR-0006's recipe in
docs/operations.md).

Changes:
  - §6.4 specimen bullet "Signed releases and signed commits on main":
    rewritten to distinguish server-side enforcement from out-of-band
    verification, and to enumerate the three bypass paths explicitly.
  - Mitigations table row "SSH commit signing on main": cells
    rewritten so the "covers" list reflects what GitHub's setting
    actually rejects (unsigned commits, unverified signatures) and
    the "does not cover" list enumerates the three bypass paths.
  - Future possibilities "Independent monitoring of main integrity":
    refined to make publishing a canonical pinned-fingerprint set
    the explicit precondition, and to name the bypass path that
    monitoring closes.

Secondary wording cleanup detected in the same pass:
  - "§3.2.1-§3.2.5 ladder (which moves from outside-in by capability)"
    -> ordered by capability tier; removes awkward phrasing.
  - "maintainership handoff to a colluding identity"
    -> "(co-maintainer addition or successor handoff)"; matches the
    sub-division already documented in §3.2.6 Capability.

Refs Copilot review comments 3224399579 (line 195) and 3224399618
(line 319) on PR #22.

* docs(rfc): scope §6.4 reproducible-builds and "signed releases" claims honestly

Addresses Copilot review comments on commit 21d7bc4:

- §3.2.6 Implication-for-design: drop the claim that reproducible
  builds are "the only defence-in-depth that survives a maintainer
  who is fully compromised". They retain value against the
  build-pipeline-compromise sub-case (build env, release host,
  distribution channel) because verification occurs outside the
  maintainer's trust boundary, but against a maintainer who merges
  malicious source on `main` and produces matching reproducible
  binaries the source/artefact pair remains internally consistent.
  Point readers at the §6.4 reference-level table for the precise
  per-control bound and at ADR-0008's zero-required-reviews stance
  for the source-side residual.

- §6.4 specimen bullet: rename "Signed releases and signed commits on
  `main`" → "Signed commits on `main`". ADR-0006 documents only SSH
  commit signing; there is no signed-tag, signed-release-artefact,
  or signed-checksum-manifest control established by any current
  ADR. The bullet now explicitly notes that the implementation PR
  will apply the same correction to `docs/threat-model.md:1091`,
  which carries the same overstated phrasing today.

- §7 (Residual risk) specimen: replace "signed-tag verification by
  downstream consumers" with "downstream signed-commit verification
  against a pinned `allowed_signers` set", per ADR-0006's recipe,
  and note that adoption of signed release tags or signed release
  artefacts is deferred to a future ADR/RFC.

- Honest acknowledgment paragraph: replace "downstream verification
  of signed releases" with "downstream verification of signed commits
  against a pinned `allowed_signers` set" for the same reason.

- Unresolved questions: add #5 explicitly scoping what "signed
  releases" would mean (signed tags via the ADR-0006 key vs a
  dedicated tag-signing key, signed checksum manifests, Sigstore or
  minisign artefact signing) and recording that this RFC takes no
  position on which path.

- Future possibilities: add "Signed release tags or signed release
  artefacts as a future ADR" immediately before the existing
  transparency-log-witnessed entry, since the basic signing
  primitive is the prerequisite for the witnessed-signature variant.

No substantive scope change to the actor entry or to the §6.4
control re-targeting; this commit tightens redaction to match what
each control actually guarantees today.

* docs(rfc): address PR #22 round-4 review — collaborator framing, deny.toml scope, reproducible-builds consistency

Three substantive corrections to RFC 0001 from the latest Copilot
review pass (PR #22, round 4):

1. **`require_signed_commits` semantics (3 occurrences).** Removes
   the "any key registered to a collaborator" framing introduced in
   21d7bc4. GitHub's check verifies that the signature resolves to
   any Verified GitHub identity, not specifically to a collaborator;
   collaborator-only push to `main` is enforced separately by
   repository permissions and branch protection. Updated in the §6.4
   specimen, the mitigations table row, and the Future possibilities
   monitoring entry.

2. **`deny.toml` scope (2 occurrences).** Removes the implication
   that `deny.toml` enforces a per-crate allowlist. Verified against
   the file: `[bans] deny = []`. What cargo-deny actually enforces
   today: licence allowlist (`[licenses] allow`), registry/git-source
   allowlist (`[sources]`), wildcard version ban
   (`[bans] wildcards = "deny"`), RustSec advisories. A new
   permissively-licensed crate from crates.io is not blocked.
   Updated in the §6.4 specimen bullet and the mitigations table row.

3. **Reproducible builds internal consistency (2 occurrences).** The
   11fd3c5 correction to the §3.2.6 narrative did not propagate to
   the §6.4 specimen and the mitigations table row, which still read
   "the only control that retains value against a fully-compromised
   maintainer". Both are now scoped to the *build-pipeline-compromise*
   sub-case, and the table's "does not cover" cell explicitly names
   the matching-reproducible-binaries-from-malicious-source path.

Editorial nits bundled in:

- Brittle line-number citations replaced with anchor citations
  ("Lines 9–15 of docs/threat-model.md" → "The Maintenance note at
  the top"; "line 1091" → "§6.4 first bullet").
- §3.2.6 paraphrase of §5.5.3 tightened from "honest acknowledgment
  that not every threat has a precise ATT&CK identifier" to "the
  §5.5.3 entry's explicit note that no specific ATT&CK technique
  applies".
- "Proposed amendments elsewhere in docs/threat-model.md" gains a
  fourth bullet: the implementation PR removes the trailing
  "long-lived implants in the maintainer's development environment"
  clause from §3.2.5's Typical techniques (line 397–398), now
  subsumed by §3.2.6's persistent-implant path at the High tier.
- §8.11 "must rely on" softened to "rely on".
gonzafg2 added a commit that referenced this pull request May 27, 2026
Closes CodeQL alerts #2 (ci.yml) and #4 (deny.yml), both
`actions/missing-workflow-permissions` (medium). Without an explicit
permissions block, both workflows inherit the repository default
GITHUB_TOKEN scope, which is broader than they need.

Neither workflow writes to the repository: ci.yml runs fmt/clippy/
test/build, deny.yml runs cargo-deny check. `contents: read` is the
minimum to allow `actions/checkout` and is sufficient for both.

Matches the pattern already established in audit.yml, which scopes
its broader `issues: write` permission alongside `contents: read`
only because cargo-audit needs to file issues.
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]>
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 26, 2026
…ribution

Tighten language to match the repo's RFC rules after self-review:

- Frame the RFC as ratifying/refining an already-binding commitment
  (MANIFIESTO #2, fixed in RFC-0003), not a first-time adoption open to
  rejection. State explicitly it neither supersedes nor re-opens RFC-0003;
  the comment period scrutinises the articulation, not whether QuantumSSH
  is post-quantum by default.
- Correct a technical attribution: K = SHA-256(K_PQ || K_CL) with
  post-quantum-first fixed-length byte arrays is mandated by
  draft-ietf-sshm-mlkem-hybrid-kex §2.4, not chosen by ADR-0021. ADR-0021
  fixes only what the draft leaves to the profile.
- Reword Motivation and Rationale for consistency with the ratification
  framing (the decision is not in question; its discoverability is).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Jun 26, 2026
Advances RFC-0005 from Draft to Accepted. The RFC ratifies an already-binding
commitment (MANIFIESTO #2, fixed in RFC-0003) rather than deciding anything
new, so it carries no open design questions blocking acceptance.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Jun 26, 2026
…83)

* docs(rfc): RFC-0005 — hybrid PQ key exchange as the only KEX posture

Records the hybrid-vs-pure KEX decision as a standalone, revisitable RFC.
The posture (mlkem768x25519-sha256, mandatory, fail-closed on either half)
was asserted across MANIFIESTO #2, README, threat-model §6.1 and ADR-0021
but never owned by an RFC — the same gap RFC-0004 closed for the runtime.

Scope is the KEX only; classical Ed25519 signatures and the PQ-signature
target stay out of scope (issue #42), one decision per RFC. ADR-0021 keeps
the wire assembly; this RFC carries the reasoning. Cites Apple PQ3 as
external corroboration in Prior art (with layer + licence caveats).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0005 — frame as ratification, fix KEX construction attribution

Tighten language to match the repo's RFC rules after self-review:

- Frame the RFC as ratifying/refining an already-binding commitment
  (MANIFIESTO #2, fixed in RFC-0003), not a first-time adoption open to
  rejection. State explicitly it neither supersedes nor re-opens RFC-0003;
  the comment period scrutinises the articulation, not whether QuantumSSH
  is post-quantum by default.
- Correct a technical attribution: K = SHA-256(K_PQ || K_CL) with
  post-quantum-first fixed-length byte arrays is mandated by
  draft-ietf-sshm-mlkem-hybrid-kex §2.4, not chosen by ADR-0021. ADR-0021
  fixes only what the draft leaves to the profile.
- Reword Motivation and Rationale for consistency with the ratification
  framing (the decision is not in question; its discoverability is).

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0005 — clarify NIST-curve divergence is an extension of #3, not a mandate

MANIFIESTO #3 names ECDSA-NIST (signatures); it does not by its letter cover
the ECDH half. Reword so the text reads unambiguously as extending #3's
principle to classical ECDH as a reasoned choice, not claiming #3 mandates
it directly. Points at ADR-0021 Alternative 3 as the wire-level form.

Addresses opencode's non-blocking nuance on the second review pass.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
Signed-off-by: Gonzalo Fleming <[email protected]>

* docs(rfc): RFC-0005 — Accepted

Advances RFC-0005 from Draft to Accepted. The RFC ratifies an already-binding
commitment (MANIFIESTO #2, fixed in RFC-0003) rather than deciding anything
new, so it carries no open design questions blocking acceptance.

Claude-Session: https://claude.ai/code/session_01BRMdwxsqYQPbjrWB1Cek6o
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
…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
…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
…5519 before 0.1.0 (#172)

* docs(rfc): RFC-0012 — cut host authentication over to ssh-mldsa44-ed25519 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]>

* docs(rfc): RFC-0012 — normative key-material handling; atomic profile/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]>

* docs(threat-model): state RFC-0006's two adoption gates as the §7 trigger

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

* docs(rfc): RFC-0012 — list threat-model §1 and §2.3 among host-key restatements

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

* docs: split §7 host/user-key residual; cite OpenSSH source for the -cert 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]>

* docs(rfc): RFC-0012 — scope the zeroization rule to first-party signing 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]>

* docs(rfc): RFC-0012 — re-wrap the Restatements paragraph

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

* docs(rfc): RFC-0012 — the cut-over closes RFC-0006's migration-window 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]>

---------

Signed-off-by: Gonzalo Fleming <[email protected]>
gonzafg2 added a commit that referenced this pull request Nov 3, 2026
…port arithmetic in base 10

Answers opencode review #2 on #252. keygen refuses an existing .pub as well as an existing key, so the rotation step now moves both aside, repeats the chown, publishes the new fingerprint and destroys the old private key once clients have the new one. KG_PORT is computed in base 10, so a QUANTUMSSH_PORT with a leading zero is not read as octal.

Refs #248

Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu
Signed-off-by: Gonzalo Fleming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants