packages/super-sync-server/docs/encryption-at-rest.md
Status: Not provided by the current SuperSync deployment
Last verified: 2026-07-29
SuperSync does not currently encrypt PostgreSQL database files or the database volume. The former LUKS and PostgreSQL TDE implementations were retired after testing showed that they could not run in the production OpenVZ environment.
The retirement summary is preserved under
../archive/encryption-attempts-openvz-incompatible/
for historical context. The executable Compose override, scripts, and runbooks
were removed; Git history retains them for forensic reference.
The durable rationale and revisit criteria are recorded in the repository decision.
Protect the host, PostgreSQL credentials, filesystem, provider snapshots, and backup locations as sensitive infrastructure. If encrypted storage is required, provide it through an infrastructure layer that is supported by the deployment environment, such as host-level encryption on a suitable VM or a managed database service.
Before claiming that a deployment has encryption at rest, exercise migration, boot/unlock, backup, restore, key rotation, monitoring, and rollback on the exact production topology. Do not infer regulatory compliance from an encryption algorithm or from the archived implementation alone.