Skip to content

Online hardening: live revocation, signed revocation checks, outage grace - #10

Merged
skalvinnathan merged 1 commit into
mainfrom
feat/remaining-issues
Nov 15, 2026
Merged

skalvinnathan merged 1 commit into
mainfrom
feat/remaining-issues

Conversation

@skalvinnathan

Copy link
Copy Markdown
Member

Implements the remaining online/revocation issues on top of #8.

Changes

Tests

New: live --revoke-file reload, signed /v1/check, grace ride-out and grace expiry. Full suite go test -race ./..., go vet, gofmt -l, and all three demos (baseline, compiled, online) pass locally.

Not in this PR (roadmap, hardware/protocol-dependent)

Closes #4.

- server: --revoke-file live denylist (re-read per request) revokes without a
  restart. (#4)
- revocation_url checks are now signed: GET /v1/check returns a nonce-bound,
  vendor-signed online.CheckResponse; the loader verifies it against the key
  ring, and CRYPTSHIP_REVOCATION=closed rejects unsigned "active" answers. (#2)
- online provider: CRYPTSHIP_ONLINE_GRACE=<dur> rides out a license-server
  outage using a secret sealed to the machine (or a state-dir key when no
  machine id is readable). Never bypasses revocation; never applies to
  attested, which must always re-attest. (#4)
- tests: revoke-file live reload, signed /v1/check, grace ride-out + expiry.
- docs: HOWTO and ARCHITECTURE updated.

Closes #4. Advances #2 (the clock-record-reset caveat remains). #3's
challenge/ephemeral-key protocol and a real SEV-SNP/TDX verifier, and #5's
memfd/separate-uid extraction, remain documented roadmap (hardware-dependent).
@skalvinnathan
skalvinnathan merged commit 4be5069 into main Nov 15, 2026
2 checks passed
@skalvinnathan
skalvinnathan deleted the feat/remaining-issues branch November 15, 2026 17:43
skalvinnathan added a commit that referenced this pull request Nov 15, 2026
Implement IMPROVEMENTS.md items 1-8 and 12 (rest after #10/#11)
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.

online provider: no outage grace, and revocation needs a server restart

1 participant