Primer 1 of 4 · Encryption

Client-side encryption, before data ever leaves the machine

Every file is split into chunks, and each chunk is locked with its own single-use key before it leaves your machine. File names and folders are encrypted as well, and sealed so that not even the machine that backed them up can read them back.

AES-256-GCMHMAC-SHA-256ML-KEM-1024ECDH P-384ML-DSA-87
The chunk key isn't stored with the chunk. It travels inside encrypted metadata.
Step by step

What happens to each chunk

  1. Compression before encryption

    The chunk is shrunk with Zstandard, a fast, modern compression format, whenever that saves space. This has to happen before encryption, because encrypted data looks random and can't be compressed.

  2. Keyed content fingerprint

    Each chunk gets an ID: a keyed cryptographic fingerprint of its contents, made with HMAC-SHA-256 and a secret only your group's machines hold. The same data always gets the same ID, which is how duplicates are found. To anyone without the secret, the ID means nothing.

  3. Content-derived chunk key

    The chunk's key is a second keyed fingerprint, made with a different secret. Identical chunks get identical keys, so machines in a group can share them. Nobody can work out a chunk's key without already having its contents.

  4. Single-use AES-256 encryption

    A fresh 32-byte random value turns the chunk key into a single-use encryption key. The chunk is then encrypted with AES-256-GCM, the cipher the US government approves for Top Secret information. GCM mode also seals in the chunk's ID, group and length, so the chunk can't be altered or swapped for another without it showing.

  5. Signed, tamper-evident packs

    Chunks are gathered into packs of about 64 MiB, each named by its own SHA-256 fingerprint and uploaded with a digitally signed index of what's inside. Any change to a pack breaks its fingerprint and signature.

Names and structure

Encrypted file names and folder structure

File names, sizes, folders and every chunk key are stored as encrypted metadata. It's protected with public-key encryption, so a machine can write it without ever being able to read it back.

Write-only, sealed to two keys

Metadata is sealed, meaning it's encrypted with a public key so that only the matching private key can open it. Each object is sealed to two keys, the machine's and its group's, and either private key can open it. The machine only ever holds the public halves, and the management server holds neither.

Hybrid post-quantum protection

Each object's key is protected twice. One layer uses ML-KEM-1024, the post-quantum key exchange NIST standardized in FIPS 203, which the NSA's CNSA 2.0 suite specifies for national security systems. The other uses ECDH P-384, a long-established elliptic-curve method. A standard key-mixing function, HKDF-SHA-384, combines the two, so an attacker would have to break both.

Dual digital signatures, verified first

Every object carries two digital signatures: ML-DSA-87, NIST's post-quantum signature standard (FIPS 204), and the classical ECDSA P-384. Both are verified before anything is decrypted, and anything that fails is rejected.

Who can open what

Decryption keys stay under your organization's control

Private keys are kept in encrypted key vaults inside the store, and each vault opens only with specific secrets.

  • The recovery key: a 24-word offline recovery phrase holding 256 bits of randomness, kept on paper. It opens the organization's vault, and through it everything.
  • A trusted device: an administrator's computer, certified for its group. It opens its group's vault only after Windows Hello verification, and digitally signs one restore approval at a time.
  • A machine: holds only encrypt-only public keys, and the group secret it uses to find duplicates. It can't read stored backups, including its own.
  • The management server: none of these.
The algorithms

Suite 1, as written to the store

Every object records the suite it was written with. A weakness found later would mean a new suite for new backups, and old backups would stay readable.

PurposeAlgorithmStandard
EncryptionAES-256-GCMNIST SP 800-38D
Chunk IDs and chunk keysHMAC-SHA-256, separate keysFIPS 198-1
Deriving keys from keysKDF in counter mode, HMAC-SHA-384NIST SP 800-108
Post-quantum key exchangeML-KEM-1024FIPS 203
Classical key exchangeECDH P-384, fresh key each timeNIST SP 800-56A
Combining the twoHKDF-SHA-384NIST SP 800-56C
SignaturesML-DSA-87 + ECDSA P-384, both requiredFIPS 204, FIPS 186-5
Object names and hashesSHA-256FIPS 180-4

Why the nonce can be fixed. AES-GCM breaks badly if one key encrypts two messages with the same nonce. Here no key ever encrypts more than one message, because every key is random, salted fresh, or comes from a fresh key exchange, so the 96-bit nonce is simply zero.