ECRE AutoProtect

Server data protected automatically.

ECRE AutoProtect runs on your servers and protects database backups, backup files, shared folders and cloud storage on a schedule, with post-quantum encryption. Nobody has to encrypt files one by one, and every copy is checked.

Private Beta: part of ECRE Core, shared with companies and integrators on request. Tested with PostgreSQL, local disks and S3-compatible storage.

What it protects

The data that sits on servers for years.

Stored data is what attackers copy today and try to open later. AutoProtect covers the three places it usually lives.

Databases

Runs your backup command, for example pg_dump or mysqldump, and encrypts its output as it is produced. The backup never touches the disk unencrypted.

Backup and shared folders

Watches folders and protects every new or changed file, keeping several versions. It can remove the unprotected original once the protected copy is checked.

Cloud storage

Stores protected copies on Amazon S3 or any S3-compatible service such as MinIO, Cloudflare R2, Backblaze B2 or Wasabi, and can protect files that other systems put in a bucket.

How it works

Set it up once. It keeps working.

  1. Create two keys. A recovery key, kept away from the server (offline, or split between several people), and an agent key for the server.
  2. Choose what to protect and how often. One short settings file lists the databases, folders and storage, for example every six hours or every minute.
  3. AutoProtect runs as a service. Each run encrypts and signs what is new, stores it, reads it back to check it, and deletes old copies you no longer want to keep.
  4. Restore with one command. Choose the latest copy or a copy from a given date. A restore drill proves every copy can be opened.
Built for the worst day

A stolen server reveals nothing.

The server cannot read its own copies

Copies are encrypted to the recovery key, which is not on the server. A thief who takes the server or the storage account gets only encrypted files.

A signed record of every run

Every run writes a record of what was protected, signed with ML-DSA and SLH-DSA and chained to the previous one. Altered, forged or deleted records and copies are detected.

Checked copies, honest alerts

Each stored copy is read back and compared. A failed database backup or upload is reported and nothing is deleted. The original stays until its protected copy is safely stored.

Encryption: ML-KEM-768 with X25519 (hybrid), AES-256-GCM, and signatures with ML-DSA-65, plus SLH-DSA in the default high-assurance profile. Same file format as ECRE Vault and ECRE Core.

For the IT team

Five commands to a protected server.

AutoProtect is the ecre-pq-autoprotect command in the ECRE Core package. It runs on Linux and macOS, under systemd or cron.

ecre-pq keygen --out recovery.vault                      # on a separate, offline machine
ecre-pq-autoprotect init /etc/ecre-autoprotect            # on the server: the agent key
ecre-pq-autoprotect check -c /etc/ecre-autoprotect/autoprotect.toml
systemctl enable --now ecre-autoprotect                   # runs every job on its schedule
ecre-pq-autoprotect restore -c autoprotect.toml postgres --identity recovery.vault --to ./restore

The full guide, a settings example and the hardened systemd service come with the package. Write to [email protected] to get access.

Honest status

What this first version does not do yet.

  • File names, sizes and times are visible to whoever can read the storage; file contents are not.
  • To stop a hacked server from deleting old copies, also turn on the storage's object lock or write-once option.
  • Windows servers and keys held in hardware security modules are planned, not available yet.
  • No independent audit yet. The design, tests and limits are published in the Trust Center.

Our security promise

After you install ECRE, we cannot see your keys or your files, and we cannot change the software on your systems. Every new version is public and signed, so nobody, ECRE included, can slip a harmful version to you in secret.

Read the full promise, its limits and how to check it