feat(security): audit batch C — data posture, retention, DP keys #22

Merged
cesnimda merged 1 commits from fix/audit-data-protection into develop 2026-07-02 10:13:08 +02:00
Owner

Audit batch C (H-3 doc+retention, M-3, L-2/L-4): SECURITY.md posture doc, opt-in retention purge worker (+3 tests), optional cert protection for DP keys. 51/51 tests.

🤖 Generated with Claude Code

Audit batch C (H-3 doc+retention, M-3, L-2/L-4): SECURITY.md posture doc, opt-in retention purge worker (+3 tests), optional cert protection for DP keys. 51/51 tests. 🤖 Generated with Claude Code
cesnimda added 1 commit 2026-07-02 03:32:24 +02:00
feat(security): audit batch C — data posture doc, retention, DP key protection
CI / backend (pull_request) Successful in 51s
CI / frontend (pull_request) Successful in 11s
Security / secrets (pull_request) Successful in 4s
Security / dependencies (pull_request) Successful in 53s
8bab8b54de
Implements AUDIT_REPORT.md H-3 (doc + retention), M-3, L-2/L-4 guidance:
- SECURITY.md: the deliberate data-at-rest posture (plaintext bodies + why, volume
  encryption + backup guidance, DB TLS note, AllowedHosts note, production checklist,
  delete-my-data procedure).
- Opt-in local data retention: DataRetention:{PurgeTrashedAfterDays,PurgeAllAfterDays}
  (0 = disabled, no behaviour change) + daily RetentionWorker purging only the LOCAL
  copy (Gmail untouched). 3 tests lock disabled-is-noop and purge-scoping.
- M-3: optional X.509 protection for the Data Protection key ring
  (DataProtection:CertificatePath/Password) so keys are no longer necessarily
  plaintext next to the ciphertext they protect.

Full suite: 51/51 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit 2b19bddf7b into develop 2026-07-02 10:13:08 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/Inboxintel#22