#4 (CRIT-4): refuse silent CA regeneration when issued certificates exist; prod bootstrapping requires explicit opt-in #46
No reviewers
Labels
No labels
architecture
code-quality
correctness
critical
docs
high
low
medium
ops
performance
privacy
security
tests
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
antrapol/CA-MDID-eMudhra!46
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/crit-4-bootstrap-guard"
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?
A lost/partial Mnesia volume made
ensure_issuers/0silently generate a brand-new Root/Sub/OCSP hierarchy and keep issuing — orphaning every previously issued certificate (broken chains, dangling OCSP/CRL/AIA) with no alarm.Changes
verify_ca_bootstrap_allowed!/0runs before any generation: raises whencertificate_requestrows exist without a Root CA (any env), and requiresMDID_BOOTSTRAP_CA=truein :prod even for a fresh storeca_bootstrap_allowed?/2.env.exampledocumentMDID_BOOTSTRAP_CA(default false)Full suite: 180 passed locally.
Fixes #4