How we encrypt your data: a look under the hood

"Zero-knowledge" is easy to put on a landing page. Here is what it actually means at Checkbackups: which algorithms we use, where keys live, and what we can and cannot see.

JMJonas M.Security engineer, Checkbackups

Our design goal is simple to state: a complete copy of our storage — every disk in every data center — should be useless to whoever holds it. That includes an attacker, a data-center operator, a government request, and us.

To get there, all encryption happens on your device, and the keys needed to decrypt your data never reach our servers in readable form.

From passphrase to master key

When you set up the first device, the agent generates a random 256-bit master key. This key encrypts everything else. It is never stored in plain form — instead, it's wrapped (encrypted) with a key-encryption key derived from your passphrase.

The derivation uses Argon2id, a memory-hard function designed to make brute-force attacks expensive. We use 256 MB of memory and parameters tuned so that one derivation takes about half a second on a typical laptop. For an attacker trying billions of passphrases, that cost adds up very quickly.

# simplified
salt        = random(16 bytes)                # stored with the account
kek         = Argon2id(passphrase, salt, m=256 MiB, t=3, p=4)
master_key  = random(32 bytes)                # generated once, on device
wrapped_key = AES-256-GCM(kek, master_key)    # this is all we store

Our servers store the salt and the wrapped key so that new devices can sign in. Without the passphrase, the wrapped key is just random-looking bytes.

Chunking and deduplication

Before encryption, files are split into chunks using content-defined chunking: chunk boundaries are chosen based on the data itself, with an average size of about 1 MB. If you insert a paragraph at the start of a large document, only the first chunk or two change — the rest stay identical and don't need to be uploaded again.

Deduplication raises a well-known question: if two identical chunks produce identical ciphertext, the server learns that two users (or two devices) have the same data. That can leak information.

We avoid this by deriving chunk identifiers with a keyed hash (HMAC-SHA-256) using a key derived from your master key. Identical chunks within your backup set deduplicate; identical chunks across different customers look completely unrelated. We trade some storage efficiency for privacy, and we think that's the right call.

Encrypting each chunk

Each chunk is compressed and then encrypted with AES-256-GCM, an authenticated cipher: besides keeping the content secret, it detects any modification. Every chunk gets a unique random nonce. If a single bit of a stored chunk is altered — by a failing disk or by an attacker — decryption fails loudly instead of returning corrupted data.

File names, folder structure, sizes and timestamps are stored in encrypted index blobs, protected the same way. What we can see is limited to:

  • the total amount of storage you use and the number of encrypted objects,
  • when your devices connect and upload,
  • device metadata you see in the console: device name, operating system and agent version.

We can't see your file names, folder structure or contents.

In transit

Encrypted chunks are uploaded over TLS 1.3. The agent pins our certificate authority, so a misissued certificate or a TLS-intercepting proxy can't silently read or alter traffic — which also means corporate HTTPS inspection needs an exception for the agent. Even if TLS were broken, an observer would only see already-encrypted chunks.

Restoring in the browser

Web restores work without breaking the model: the console downloads the wrapped key and encrypted chunks, and your browser derives the key and decrypts locally using the Web Crypto API. The passphrase is entered into the page and never sent anywhere.

Recovery key and key escrow

The downside of zero-knowledge is that we can't help if you lose the passphrase. Two features reduce that risk:

FeatureHow it worksAvailable on
Recovery keyA 24-word key that wraps the master key a second time. Store it offline.All plans
Key escrowThe master key of each company device is also wrapped with an organization key held by administrators. Every use is logged.Business, Enterprise

Changing your passphrase only re-wraps the master key, so it's instant — no re-upload needed.

What we're working on

We commission an independent penetration test every year, and our cryptographic design is reviewed as part of it. Next on our roadmap: hardware-backed key storage on devices with a TPM or Secure Enclave, so the unwrapped master key never sits in regular memory.

If you find a weakness in our design, please tell us at security@checkbackups.cloud — our security page describes how we handle reports.