FED-M6: revocation + auto-renewal + CRL #465
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: Federation v1 — see
docs/federation/PRD.mdanddocs/federation/MILESTONES.md.Goal
Grant lifecycle works end-to-end: admin revoke, revoke-on-delete, automatic cert renewal, CRL distribution.
Scope
mosaic federation grant revoke <id>→ statusrevoked, CRL updated, audit entryrevoke-on-deleteon all grants where that user is subjectdegradedand admin-visible alert emittedrevokedDeliverables
apps/gateway/src/federation/server/crl.service.ts+ endpointapps/gateway/src/federation/server/revocation.service.tsapps/gateway/src/federation/client/renewal.job.ts(scheduled)packages/mosaic/src/commands/federation/grant.tsgainsrevokesubcommandAcceptance Tests
grant revoke→ A's next request fails with TLS-level errordegradedand surfaces alertrevokedafter revocation-caused handshake failure, NOT on transient network errorsDependencies
Blocked by FED-M3. Can run in parallel with FED-M5.
Estimated budget
~20K tokens
Risk notes
Atomic cert swap during renewal is the sharpest edge — any in-flight request mid-swap must either complete on old cert or retry on new, never fail mid-call.