Skip to content

docs: add operations and verification guide - #5

Merged
gonzafg2 merged 1 commit into
mainfrom
docs/operations
May 10, 2026
Merged

gonzafg2 merged 1 commit into
mainfrom
docs/operations

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

Adds docs/operations.md: a recipe-driven verification guide that lets external observers (auditors, contributors, careful users) confirm the project's operational and cryptographic claims without trusting the maintainers and without any special access.

What it documents

Six independent verification surfaces, each with copy-pasteable commands:

  1. DNSSEC chain — DS in .org, DNSKEY in zone, AD flag end-to-end via 1.1.1.1 / 8.8.8.8 / Quad9 / OpenDNS / Verisign
  2. TLS posture — TLS 1.0/1.1 rejected, 1.2/1.3 active, HSTS active with max-age=15552000; includeSubDomains; preload, cert metadata
  3. CAA whitelist — which CAs are authorized; structure of issue / issuewild / iodef
  4. PGP key authenticity — three independent cross-checks of fingerprint 66DB5100B0700E4AE051971F9A8DFF06AFD25B24
  5. Signed-commit verification — using the maintainer's SSH signing key from GitHub's public users/<u>/ssh_signing_keys API as the trust anchor
  6. Branch protection on main — readable via gh api; required signatures, status checks, linear history, enforce-admins

Mermaid diagram

The doc embeds a flowchart of the DNS architecture: IANA root → .org TLD → Cloudflare-hosted zone (signed via DS submitted through Namecheap), with proxied A/AAAA flowing to the GitHub redirect and MX flowing to Email Routing. GitHub renders Mermaid natively.

Why this matters

The README.md commits to "open source, really" with five non-negotiables (no source-available, no NDAs, no bifurcated code, no relicensing rug-pull, no patent enforcement). This guide makes one more of those commitments operationally testable: anyone can run the recipes and confirm the project's posture matches what is claimed, today and as it evolves.

The doc explicitly invites reports of drift through the embargoed channel in SECURITY.md if a verification produces a result that contradicts the document.

Files

  • docs/operations.md — new file, ~240 lines
  • CHANGELOG.md — entry under [Unreleased] → Changed

Checklist

  • Commit signed (SSH) and DCO sign-off
  • No secrets, no internal panel paths, no recovery procedures with sensitive details
  • All commands tested against current state of the repo / DNS zone
  • Mermaid renders correctly on GitHub
  • CHANGELOG entry added

Adds `docs/operations.md`, a recipe-driven document that lets any
external observer verify the operational and cryptographic claims this
project makes — without trusting the maintainers and without any
special access to GitHub, Cloudflare, or Namecheap.

The guide covers six independent verification surfaces, each with the
exact commands to run:

1. DNSSEC chain of trust (DS in .org, DNSKEY in zone, AD flag end-to-end)
2. TLS posture (1.0/1.1 rejected, 1.2/1.3 active, HSTS, cert metadata)
3. CAA whitelist (which CAs are allowed to issue for the domain)
4. Project PGP key fingerprint (cross-checked against three sources)
5. Signed-commit verification (using the maintainer's SSH signing keys
   fetched from GitHub's public API as the trust anchor)
6. `main` branch-protection rules (required signatures, status checks,
   linear history, enforce-on-admins)

Includes a Mermaid diagram of the DNS architecture: IANA root → .org
TLD → Cloudflare-hosted zone, with Namecheap as the DS-publishing
registrar, and the redirect / Email Routing endpoints downstream.

The intent is to make the "open source, really" commitment in
README.md operationally testable, not just stated. Drift from
documented state is itself a signal worth reporting through the
embargoed channel in SECURITY.md.

Signed-off-by: Gonzalo Fleming <[email protected]>
Copilot AI review requested due to automatic review settings May 10, 2026 16:29
@gonzafg2
gonzafg2 merged commit 74e8b9b into main May 10, 2026
8 checks passed
@gonzafg2
gonzafg2 deleted the docs/operations branch May 10, 2026 16:31

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

Adds an operations/verification guide intended to let third parties validate QuantumSSH’s operational and cryptographic posture using publicly accessible signals and reproducible commands.

Changes:

  • Introduces docs/operations.md with step-by-step verification recipes for DNSSEC, TLS/HSTS, CAA, PGP key fingerprint, signed commits, and branch protection.
  • Adds a Mermaid diagram documenting the DNSSEC trust chain and DNS architecture.
  • Updates CHANGELOG.md to mention the new operations guide.

Reviewed changes

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

File Description
docs/operations.md New verification guide with commands and expected outputs for multiple independent verification “surfaces”.
CHANGELOG.md Adds an Unreleased entry noting the new operations guide.

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

Comment thread docs/operations.md
```sh
curl -fsSL -o /tmp/quantumssh-security.asc \
https://raw.githubusercontent.com/gonzafg2/quantumssh/main/keys/security.asc
gpg --show-keys /tmp/quantumssh-security.asc | grep -E '^\s+[0-9A-F]{4}'
Comment thread docs/operations.md
Comment on lines +131 to +135
[`keys/security.asc`](../keys/security.asc) and its fingerprint is recorded in
[`SECURITY.md`](../SECURITY.md). To verify the key is authentic without
trusting any single source, cross-check three independent paths and
confirm they all yield the same fingerprint:

Comment thread docs/operations.md
Comment on lines +180 to +185
# Fetch the maintainer's currently uploaded SSH signing keys from
# GitHub's public API (no auth needed) and build a local trust file:
curl -fsSL https://api.github.com/users/gonzafg2/ssh_signing_keys \
| jq -r '.[] | "[email protected] \(.key)"' \
> /tmp/qsh-allowed-signers

Comment thread CHANGELOG.md
Comment on lines +27 to +31
- New `docs/operations.md`: a verification guide that lets external
observers check the project's DNSSEC chain, TLS posture, CAA whitelist,
PGP fingerprint, signed-commit history, and `main` branch protection
end-to-end without any special access. Includes a Mermaid diagram of
the DNS trust chain.
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
…s 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.
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 Oct 11, 2026
…CVP 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]>
gonzafg2 added a commit that referenced this pull request Oct 28, 2026
…CVP 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]>
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 Nov 3, 2026
…set bundle, successor auth, exact draft assets

opencode, fifth review of #250 (of 301a8d2):

- ADR-0053 §1: the no-cache and persist-credentials invariants cover
  called workflows. ADR-0055 §1's artifact path skips rust-cache and
  checks out without persisted credentials.
- ADR-0054 §6: the pin set is published as keys/release-keys.txt (with
  role and window), the current key, and keys/retired/*.asc, and users
  import all of them. The one-liner is replaced by
  scripts/verify-download.sh, which implements §7 including the
  retired-key branch.
- ADR-0057: in a compromise, the old key's certification of the
  successor proves nothing. The successor fingerprint is authenticated
  by an SSH-signed commit on main (ADR-0006) and by quantumssh.org. The
  advisory marks as untrusted only releases signed with the compromised
  key, and lists the successor-signed fix as trusted.
- ADR-0054 §4: the draft must hold exactly §1's assets, and any extra or
  missing asset stops the release.
- ADR-0054 §7: `git verify-tag --raw` writes status lines to stderr
  (2>&1). Output with no VALIDSIG line fails.

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