Repository navigation
docs(adr): ADR-0053–0057, the subsidiary decisions of RFC-0017 - #250
Conversation
- ADR-0053, the release workflow:
- triggered by v* and rehearsal-* tags;
- precheck, build, gates, attest and publish jobs, each with only its
own permissions, and no caches;
- a static-link check;
- a v* tag ruleset with no update or delete;
- a failed release consumes its version;
- SLSA Build L2, with L3 deferred.
- ADR-0054, artifact integrity:
- attestations on the tarballs and the SBOM;
- a CycloneDX SBOM made by cargo-cyclonedx in the read-only build job;
- the SHA256SUMS format;
- scripts/verify-release.sh, which checks the tag signature, the
ancestry, the pinned attestations, the attested commit, the
recomputed checksums and the gate digests before signing;
- immutable releases from 0.2.0;
- the user recipe.
- ADR-0055: interop.yml becomes callable with a prebuilt artifact. The
pinned Debian forky digest is a multi-arch OCI index with
linux/arm64/v8, so one pin covers both Linux targets. The macOS client
is built from the OpenSSH 10.6p1 tarball, pinned by SHA-256. The
systemd test runs on the x86_64 artifact, and every gate records the
digests it ran.
- ADR-0056, the Homebrew tap, a labelled departure from ADR-0016 as a
single-user evaluation path:
- binary formula, Homebrew-path config, `service do`;
- a manual PR per release, with no token stored here;
- the tap's CI verifies the formula's checksums against the
PGP-verified SHA256SUMS.
- ADR-0057: release tags and SHA256SUMS are signed with the project PGP
key's primary, only in the maintainer's terminal. A signing subkey is
deferred to the 2028 rotation, and the ADR covers compromise and
rotation. It supersedes ADR-0006's disclosure-only wording, and
ADR-0006's Status line records that.
Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu
Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
|
/oc |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…056 tap checks required Claude Code Review on #250: - ADR-0057: an attacker who holds the key can backdate a signature, and a hard revocation invalidates every signature the key made. "Unaffected" now rests on the immutable-release records and the attestations' transparency-log time. An advisory signed by the successor key lists each unaffected release by its SHA256SUMS digest. ADR-0054 §6 gives the post-revocation recipe: gh release verify, the attestation, and a match against the advisory. - ADR-0056: the tap's branch protection now actually matches main's: signed commits, linear history, PR only, no force push or deletion, enforce_admins, and the CI jobs as required checks. The checksum check is therefore enforced rather than advisory. The Negative bullet names what is still not defended against: the maintainer's own account. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
PR Review: docs(adr): ADR-0053–0057, the subsidiary decisions of RFC-0017 (#250)Decision: 🔴 Blocked Executive summaryThe five ADRs are well structured, cite their parent RFC and related decisions, and mostly stay within RFC-0017 §12's scope. The release and tap designs, however, contain confirmed contradictions with the gate scripts they claim to reuse, a false statement about cipher coverage, and a compromise-recovery rule that trusts a signer-controlled timestamp. The tap's only technical checksum control is also advisory rather than a required check. New findings🔴 Blocking (resolve before merge)docs/adr/0055-interop-gate-on-published-artifacts.md:71-79 — CI gate design (confidence: 90)
docs/adr/0055-interop-gate-on-published-artifacts.md:107-108 — security coverage claim (confidence: 92)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:58-63 — release trust / compromise recovery (confidence: 90)
🟡 Important (should be resolved)docs/adr/0056-homebrew-tap.md:91-102 — tap CI cannot start the service (confidence: 88)
docs/adr/0056-homebrew-tap.md:36-39 — tap supply-chain control (confidence: 86)
docs/adr/0053-release-workflow.md:65-67 — pinning claim (confidence: 86)
docs/adr/0053-release-workflow.md:54-56 — RFC conformance / token exposure (confidence: 86)
opencode v2.2.3 · |
…st a real client Claude Code Review on #250, second pass: - `gpg --verify` exits 0 with "Good signature" for a revoked or expired key. ADR-0054 §7 defines a pinned signature check on --status-fd (git verify-tag --raw for tags). It requires VALIDSIG with the pinned fingerprint and fails on REVKEYSIG, KEYREVOKED, EXPKEYSIG, EXPSIG or BADSIG. ADR-0053's precheck, verify-release.sh, the user recipe and the tap's CI all use it, and ADR-0057's compromise text relies on it. - cargo-cyclonedx compiles third-party code that can write anywhere on its runner, so it moves to its own `sbom` job (contents: read) that never holds a tarball. The SBOM-safety claim is corrected. - No OpenSSH client run had ever negotiated [email protected], because the gate sets no Ciphers= and OpenSSH prefers ChaCha20. ADR-0055 §5 adds an `openssh_aes_gcm` check, mandatory wherever the client offers the cipher. The macOS leg skips it and logs that. - Files that do not exist yet (release.yml, verify-release.sh) are marked as new in ADR-0054 and ADR-0055. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
…age record, persist-credentials, tap CI opencode's first review of #250 (of ce1874f): - ADR-0055 §3: the gate uses sftp and scp, which also run the ssh of their compiled-in prefix, so the macOS client is now installed whole into one prefix. The job asserts that all four tools resolve there and that ssh -V prints the pinned version, so it cannot fall back silently to macOS's 10.5p1. - ADR-0053: a versioned hosted label still rolls in place. Each build records ImageOS, ImageVersion and rustc -vV, and the release notes state them, without claiming reproducibility. Every checkout in release.yml sets persist-credentials: false. - ADR-0056 §4: the tap's CI installs Homebrew openssh and creates both the host key and authorized_keys, without which the server refuses to start. It then checks the service with a real ssh exec. Branch protection adds resolved conversations, matching main. Already fixed before this review: AES-GCM real-client coverage (cf5addd), PGP-timestamp-independent compromise handling, and the tap's required checks (cf09748). Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
Answer to the opencode review of Blocking
Important
|
|
@codex review |
|
/oc |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…e tap exception Claude Code Review on #250: - GnuPG reports EXPKEYSIG against today's date, so the pinned check would have failed every release once its key expired. That broke ADR-0057's promise that old releases remain verifiable. ADR-0054 §7 now has a pin set: the current key, plus retired keys with their validity windows kept in keys/. - REVKEYSIG, KEYREVOKED and BADSIG always fail. - EXPKEYSIG fails for the current key. - For a retired key, EXPKEYSIG is accepted only when the immutable-release record dates the release inside that key's window. The signature's own timestamp plays no part. ADR-0057's rotation bullet points at the rule. - ADR-0016's Status line records the Homebrew tap's single-user exception (ADR-0056), as ADR-0006's records ADR-0057. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
/oc |
PR Review: docs(adr): ADR-0053–0057, the subsidiary decisions of RFC-0017 (#250)Decision: 🟡 Minor changes Executive summaryFive Proposed ADRs record RFC-0017's release infrastructure: the tag-triggered workflow, artifact integrity and SBOM, interop/systemd gates on published binaries, the Homebrew tap, and PGP release signing. The earlier round's fail-open tooling issues are genuinely fixed, and the ADRs now inherit the RFC's containment model. The remaining risk is concentrated in the verification chain: the documented user path cannot verify retired-key releases, compromise recovery has no authenticated successor key, the advisory contradicts its own remediation, and the release gate reuses a workflow that still carries a persisted token and a cache. None is a live vulnerability — the ADRs are Previous issues
New findings🟡 Important (should be resolved)docs/adr/0053-release-workflow.md:44-50 — CI/supply chain (confidence: 84)
docs/adr/0054-release-artifact-integrity.md:111-114 and :152-184 — key lifecycle / user verification (confidence: 88)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:51-53 and :80-81 — key lifecycle / compromise recovery (confidence: 82)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:85 — contradiction in the recovery procedure (confidence: 84)
docs/adr/0054-release-artifact-integrity.md:74-84 — verification-chain completeness (confidence: 80)
💡 Suggestions (nice to have)
opencode v2.2.3 · |
…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]>
Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
Answer to opencode review #5 (of
Suggestions:
|
|
@codex review |
|
/oc |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
PR Review: docs(adr): ADR-0053–0057, the subsidiary decisions of RFC-0017 (#250)Decision: 🔴 Blocked Executive summaryThe five ADRs are well structured, cite RFC-0017 accurately, and close most of the fail-open issues raised in earlier rounds. The remaining risk is concentrated in compromise recovery: the successor-authentication channel is not actually independent, and the compromise procedure never delivers the revocation to the key file every documented verifier imports. Two further verification-chain inconsistencies remain in ADR-0054 and ADR-0056. External facts (the Debian OCI index, the OpenSSH tarball hash, repository settings) could not be verified without network access and are not treated as findings; commit signatures were taken from Previous issues
New findings🔴 Blocking (resolve before merge)docs/adr/0057-release-signing-with-the-project-pgp-key.md:81-92 — compromise recovery / successor authentication (confidence: 92)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:63-72 — revocation delivery / fail-open (confidence: 90)
🟡 Important (should be resolved)docs/adr/0057-release-signing-with-the-project-pgp-key.md:93-99 — advisory classification still trusts signer time (confidence: 84)
docs/adr/0054-release-artifact-integrity.md:74-79 — contradictory pre-signature asset set (confidence: 88)
docs/adr/0056-homebrew-tap.md:102-107 — tap CI does not implement the §7 pin set (confidence: 85)
💡 Suggestions (nice to have)
opencode v2.2.3 · |
…cedure, DNSSEC anchor, five-then-six assets opencode, sixth review of #250 (of e0088c1): - ADR-0057's compromise section is now an ordered procedure: 1. revoke in keys/security.asc on main via an SSH-signed commit, and update the manifest, SECURITY.md and the tap pin, with a negative test proving a revoked key fails verify-download.sh and the tap CI; 2. every PGP check then fails after re-import; 3. classification is exhaustive, by immutable publication record: every release not on the advisory's digest list is untrusted, with no signature-time denylist; 4. the successor is authenticated by an SSH-signed commit (independent only of a PGP-key compromise) and by a DNSSEC-signed TXT record, _release-key.quantumssh.org, behind the separate Cloudflare credential; 5. the fix ships as a new release. quantumssh.org is no longer called an independent origin, since it redirects to GitHub. The residual risk of an endpoint plus Cloudflare compromise is stated. Rotation also updates the TXT record and the tap pin. - ADR-0054 §4: the draft must hold exactly five assets before signing and exactly six before publishing, compared for equality. - ADR-0056 §4: the tap CI imports the whole pin set and runs scripts/verify-download.sh, retired-key branch included. - Suggestions: - RFC-0017 gets an ADR-0052 erratum: its bare `gpg --verify` commands fail open, and each is to be read as ADR-0054 §7's check; - docs/infrastructure.md now records PGP's release-signing role. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
Answer to opencode review #6 (of Blocking
Important
Suggestions
|
|
@codex review |
|
/oc |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 23489c3cd1
ℹ️ 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".
…delv Codex on #250 (P2): `dig +dnssec` only requests DNSSEC records and does not validate them. Users now check `_release-key.quantumssh.org` with `delv`, which validates against the root trust anchor locally, and accept the fingerprint only on "; fully validated". A resolver's `ad` flag counts only over an authenticated channel such as DoT or DoH. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
PR Review: docs(adr): ADR-0053–0057, the subsidiary decisions of RFC-0017 (#250)Decision: 🟡 Minor changes Executive summaryThe PR closes RFC-0017 §12 with five Previous issues
New findings🟡 Important (should be resolved)docs/adr/0054-release-artifact-integrity.md:9 — documentation accuracy (confidence: 84)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:69–70 — key-lifecycle schema inconsistency (confidence: 88)
docs/adr/0057-release-signing-with-the-project-pgp-key.md:73–76 — fail-closed gap in the release chain (confidence: 82)
💡 Suggestions (nice to have)
Verification notes: commit signatures were read from opencode v2.2.3 · |
…verify-release keyring, shipped unit opencode, seventh review of #250 (of 23489c3): - ADR-0054 marks every new path as created by the implementing PRs: verify-download.sh, keys/release-keys.txt and keys/retired/. The manifest's role is current, retired or revoked, and verify-download.sh's handling of each role is defined. Revoked keys stay in the imported set so that GPG reports REVKEYSIG, never NO_PUBKEY. - ADR-0057's compromise layout: the revoked key moves to keys/retired/ with its revocation certificate and the role `revoked`, and the successor takes security.asc once authenticated. verify-release.sh imports the pin set from origin/main like precheck does (ADR-0054 §4 step 1), and it is added to the verifier list. - Suggestions: - ADR-0055's systemd gate sets SRC to the extracted tarball, so the shipped unit is the one tested; - the accept.rs path is corrected. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
|
Answer to opencode review #7 (of Important
Suggestions
|
|
@codex review |
|
/oc |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Its Date line said "accepted on merge", and it merged in #250, but the Status line still read Proposed. ADR-0006 already records the part of its wording that ADR-0057 supersedes. Refs #248 Signed-off-by: Gonzalo Fleming <[email protected]>
* docs(adr): ADR-0053 and ADR-0055 are Accepted Both were implemented in #253. The rehearsal run 41751733656 on rehearsal-0.2.0-1 then passed end to end: three static builds, the SBOM, the four gates on the artifacts, the attestations and the draft. The draft held exactly five assets, the attestations verified under the rehearsal ref and failed under refs/tags/v0.2.0, SHA256SUMS matched a recomputation byte for byte, and the four gate records matched it. The draft and the tag were deleted afterwards (ADR-0053 §4). Refs #248 Signed-off-by: Gonzalo Fleming <[email protected]> * docs(adr): ADR-0057 is Accepted Its Date line said "accepted on merge", and it merged in #250, but the Status line still read Proposed. ADR-0006 already records the part of its wording that ADR-0057 supersedes. Refs #248 Signed-off-by: Gonzalo Fleming <[email protected]> --------- Signed-off-by: Gonzalo Fleming <[email protected]>
Summary
These are the five subsidiary ADRs that RFC-0017 §12 lists. All are
Proposed; each flips toAcceptedwith its implementing PR.release.ymlruns onv*andrehearsal-*tags. Its jobs are precheck (ancestry, plusgit tag -vagainstmain'skeys/security.asc), build, the gates, attest and publish, and each holds only its own permissions. The workflow uses no caches, a static-link check fails closed, and runners are pinned (never*-latest). Thev*tag ruleset blocks update and delete, and a failed release consumes its version. SLSA Build Level 2, with Level 3 deferred.cargo-cyclonedxin its own read-onlysbomjob, which never holds a tarball. Before signing,scripts/verify-release.shchecks the tag signature, the ancestry, the pinned attestations, the attested commit, the recomputedSHA256SUMSand the gate digests. Releases are immutable from0.2.0, and the user recipe is documented.interop.ymlbecomes callable with a prebuilt artifact. One container pin covers both Linux architectures: the pinned Debian forky digest is an OCI index that includeslinux/arm64/v8, checked on 2026-11-03. On macOS, the client is built from the OpenSSH 10.6p1 tarball, pinned by SHA-256. The systemd test runs on thex86_64artifact, and every gate records the digests it ran.gonzafg2/homebrew-quantumsshis a labelled single-user evaluation path that departs from ADR-0016. It ships a binary formula, a Homebrew-path config andservice do, and is updated by a manual PR per release, with no token kept here. The tap's CI verifies the formula's checksums against the PGP-verifiedSHA256SUMS.SHA256SUMSare signed by the project PGP key's primary, which is[SC]; the only subkey is[E]. Signing happens only in the maintainer's terminal. A signing subkey is deferred to the 2028 rotation. The ADR covers compromise and rotation, and supersedes ADR-0006's disclosure-only wording; ADR-0006's Status line records this.RFC-0017's unresolved questions settled here:
The musl linking question stays open until the first rehearsal run. The
keygenADR for RFC-0018 is a separate PR.Refs #248
Test plan
ADR-NNNNand../rfcs/link in the five files resolves to a file in the repositorygpg --list-keysfor the key structure; the SHA-256 ofopenssh-10.6p1.tar.gzand its signature check; both gate scripts already honourQUANTUMSSH_BINhttps://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu