[P2] K03: Integrate approved at-rest encryption, KMS and recoverable backups #32
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#36 [P2] O03: Package the approved deployment and complete recovery and release evidence
primatekuntech/rag-rust
#2 [P0] D01: Record security, identity, data-governance and deployment decisions
primatekuntech/rag-rust
#5 [P0] K01: Establish the crypto inventory and versioned configuration boundary
primatekuntech/rag-rust
#8 [P0] F03: Wire PostgreSQL migrations, bounded pooling and canonical repositories
primatekuntech/rag-rust
#22 [P1] I05: Propagate document revisions, deletion and revocation to every derived artifact
primatekuntech/rag-rust
Reference
primatekuntech/rag-rust#32
Loading…
Reference in a new issue
No description provided.
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?
Backlog ID: K03 | Priority: P2 | Phase: M6 — Release evidence and approved deployment
Outcome and scope
Protect canonical/vector/original stores, WAL, temporary files, snapshots and backups with the authority-approved encryption/key-management architecture.
Dependencies and gates
Engineering prerequisites: #5 (K01), #2 (D01), #8 (F03), #22 (I05)
Requires D01 recovery/retention decisions and K01 approved KMS/module/profile. No custom encryption implementation.
Starting points
deploy/; crates/crypto-config/; docs/operations/backup-restore.md; tests/security/recovery/
These are current files or proposed responsibility boundaries; finalize a focused implementation plan before coding. Existing local scaffolding is uncommitted and is not evidence of completion.
Acceptance criteria
Verification
Restore into an isolated approved environment; test missing/revoked keys, partial rotation and rollback, and verify unauthorized operators cannot decrypt.
Behavior changes follow Red → Green → Refactor. Run affected Rust shared contract/unit tests and real PostgreSQL/Qdrant/runtime integration tests where applicable; frontend changes run typecheck/build and the relevant browser tests. Record exact commands/results in the implementation PR. Documentation/decision tasks use recorded review evidence.
Requirements and design
FR-CRYPTO-005, 007, 009; FR-DATA-005; NFR-OPS-002; architecture §10.3–10.4
Sources: SRS, system design. Local planning context:
docs/implementation-plan.mdanddocs/development-backlog.md(not published by this task).Security impact: Use synthetic fixtures until approved for operational data. Preserve current authorization, markings, provenance and default-deny behavior; exclude protected payloads/secrets from operational telemetry. No classified-deployment or PQC-compliance claim is implied by closing this issue.
Parent roadmap: #1