-
Notifications
You must be signed in to change notification settings - Fork 325
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Description
In removeExpiringSelfIssuedCertificates(), when certificates are removed for regeneration, the old certificates are deleted without backup. If regeneration fails, users lose their certificates with no way to recover.
Severity
LOW - Data loss potential
Test Reference
Test: TestRemoveExpiringSelfIssuedCertificates in pkg/db/db_local/ssl_test.go:86 (skipped)
Suggested Fix
Create timestamped backups of old certificates before removal, similar to how database backups are retained.
Related Code
pkg/db/db_local/ssl.go:33-63
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working