Skip to content

docs: add pqc-check gate and require Node 22.20+ and a PQ-capable TLS proxy - #18

Merged
t11z merged 4 commits into
mainfrom
claude/sweet-johnson-q6ivot
Dec 4, 2026
Merged

t11z merged 4 commits into
mainfrom
claude/sweet-johnson-q6ivot

Conversation

@t11z

@t11z t11z commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the pqc-check post-quantum readiness gate (v0.2.0, pinned by SHA) as a workflow on pull requests and pushes to the default branch.

The repository has no findings today (pqc-check scan .: PASS: 0 blocking, 0 baselined). The gate keeps it that way: new classical key exchange, data encrypted to a classical public key (harvest-now-decrypt-later exposure) or other findings fail the check from the first commit that introduces them. If a finding has to be accepted, pqc-check baseline . records it in .pqc-check/baseline.json with the phase deadlines from .pqc-check.toml.

Changes

  • .github/workflows/pqc-check.yml: read-only token, no persisted credentials, actions pinned by SHA.
  • .pqc-check.toml: phase deadlines (phase 1: 2027-06-30, phase 2: 2029-12-31).

Hybrid post-quantum TLS

  • Inbound TLS is terminated by the reverse proxy (self-hosting) or Google's front end (App Hosting); the Node runtime matters for outbound TLS (SMTP, OAuth, S3).
  • Runner stage of the Dockerfile fails the build if OpenSSL is older than 3.5 (node:22-bookworm-slim resolves to 22.23.x).
  • docs/{en,de}/operator/self-hosting.md: Node floor 22.20; proxies that offer X25519MLKEM768 (Caddy >= 2.10 by default, Traefik >= 3.5 without restrictive curvePreferences, nginx with OpenSSL >= 3.5 and the shown ssl_ecdh_curve). README and CONTRIBUTING updated.

Verification

npm run typecheck, npm run lint, npm test (281 passed, 23 skipped). pqc-check passes.

Delivery

Publish a GitHub Release to deploy to Firebase App Hosting. Owner check: confirm the App Hosting Node 22 runtime is at least 22.20.

https://claude.ai/code/session_01QcqxZR6bakzxDGFw3Tu3Wm

Releases: release-please now cuts releases. It keeps a chore(main): release X.Y.Z PR open on main; to release, close and reopen that PR (its bot-started CI run does not count as a check), wait for CI, and merge it. The merge bumps package.json, creates CHANGELOG.md/prepends to it, creates the vX.Y.Z tag and GitHub Release, and release-please.yml calls firebase-release.yml (new workflow_call trigger), which runs lint/typecheck/tests, deploys to Firebase and smoke-tests. A hand-published release and Run workflow still deploy. The owner must enable Settings → Actions → General → Allow GitHub Actions to create and approve pull requests. Owner checks/decisions: the deploy job now runs in the context of the main push, so if the production environment restricts deployment branches/tags it must allow main (I could not read the environment settings); WIF is bound to the repository only, so OIDC works unchanged. The manifest starts at 1.0.0 (latest release) while package.json says 0.1.0; the first release PR sets it to the next version.


Generated by Claude Code

The repository has no post-quantum findings today. The gate keeps it that
way: any new classical key exchange, data encrypted to a classical public
key or other finding fails the check, so no harvest-now-decrypt-later
exposure enters unnoticed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QcqxZR6bakzxDGFw3Tu3Wm
Node >= 22.20.0 bundles OpenSSL 3.5, so the app's outgoing TLS (SMTP,
OAuth, S3) offers the hybrid post-quantum group X25519MLKEM768 by default.
node:22-bookworm-slim already resolves past that; the runner stage now
fails the build if the base image ever bundles an OpenSSL older than 3.5.

The self-hosting guide (en/de) states the Node floor and which reverse
proxy versions terminate TLS with X25519MLKEM768 (Caddy >= 2.10, Traefik
>= 3.5 without curvePreferences, Nginx with OpenSSL >= 3.5). README and
CONTRIBUTING carry the same Node floor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QcqxZR6bakzxDGFw3Tu3Wm
@t11z t11z changed the title ci: add pqc-check post-quantum readiness gate docs: add pqc-check gate and require Node 22.20+ and a PQ-capable TLS proxy Dec 4, 2026
The session that maintains this repository cannot push tags or publish
releases, so releases move to release-please: it keeps a release PR open
on main, and merging it bumps package.json, prepends CHANGELOG.md and
creates the vX.Y.Z tag and GitHub Release. A release created with
GITHUB_TOKEN does not fire the "release published" event, so
release-please.yml calls firebase-release.yml (new workflow_call trigger,
input tag), which runs lint, typecheck and tests, deploys to Firebase and
smoke-tests. Publishing a release by hand and the manual run still work.

The owner releases by closing and reopening the release PR (so CI counts),
then merging it. The operator docs (en, de) describe the new flow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QcqxZR6bakzxDGFw3Tu3Wm
@t11z
t11z merged commit f7beafc into main Dec 4, 2026
3 checks passed
@t11z
t11z deleted the claude/sweet-johnson-q6ivot branch December 4, 2026 07:10
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