mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 19:51:33 +00:00
5cd9e890f4
Implements core revocation infrastructure: POST /api/v1/certificates/{id}/revoke
with all 8 RFC 5280 reason codes, JSON-formatted CRL at GET /api/v1/crl, webhook
and email revocation notifications, best-effort issuer notification, and immutable
revocation audit trail. Includes 48 new tests across service, handler, integration,
and domain layers (600+ total). Fixes 3 pre-existing test bugs (team_test error
matching, agent_group delete status code, team handler per_page validation).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
245 B
SQL
7 lines
245 B
SQL
-- Rollback Migration 000005: Revocation Infrastructure
|
|
|
|
DROP TABLE IF EXISTS certificate_revocations;
|
|
|
|
ALTER TABLE managed_certificates DROP COLUMN IF EXISTS revoked_at;
|
|
ALTER TABLE managed_certificates DROP COLUMN IF EXISTS revocation_reason;
|