Drive

A Drive where even file names are secret

Every file is encrypted on your device before it reaches the cloud. Only ciphertext goes to storage. Keyvul sees neither the content nor the file names, only technical data such as the number of files and the space used.

How it works

A key at every level, never with us

Everything starts with the main key of your Drive. It is locked with your OpenPGP key, so nobody can open it without you. That main key protects the keys of individual files and folders, and those protect the keys of each file version.

A folder’s key also encrypts the names of the files inside it. That is why the server doesn’t know what your files are called.

A file is split into 4 MiB blocks. Each block gets a random initialisation vector and is sealed with AES-256-GCM. Only encrypted blocks reach storage.

Ciphertext is bound to the place where it sits: to the file, version and block number. The server can’t slip in a block from another file or swap blocks around without it being detected on decryption.

CipherAES-256-GCM, a random initialisation vector and an authentication tag on every block
Block size4 MiB
File namesEncrypted. The server only sees an irreversible hash (HMAC-SHA-256) used to keep names unique in a folder.
File size limitNone. Space is counted together with mail.
StorageCiphertext only

Sharing

A link you control to the end

The link secret is 32 random bytes placed after the # in the address. That part of the address is never sent to the server, so it ends up in no logs on our side. The file is decrypted on the recipient’s device.

You can add to a link an expiry date, a download limit and a password. The password is processed with PBKDF2-SHA-256 (600,000 iterations, with a random salt) and combined with the secret. Switching a link off stops blocks from being served.

A link gives access to the decrypted file. Whoever you give it to downloads the file in readable form, because the key is part of the address itself and the Keyvul server never sees it. For sensitive files set a password and pass it on through a different channel than the address. You can revoke a link you no longer need.

Integrity

Two layers of tamper detection

Encryption protects the content, but someone with access to storage could try to swap or reorder a block. That’s why we protect against it at two independent levels.

  • On your device: the AES-GCM authentication tag and binding to the place. A changed or moved block will not decrypt.
  • On the server: when a version is committed we record a seal made of the blocks’ checksums. A mismatch marks the version as damaged.

What Drive doesn’t do

The server can’t see the content, so it can’t make previews or search file content on its side. Everything that needs reading happens on your device. If you forget both your key passphrase and your recovery phrase we can’t recover your files, because we don’t have the key.

Questions

Frequently asked questions

Does Drive have its own storage limit?

No. Mail and Drive share the storage of your plan. There is no limit on a single file’s size, but the space is counted together with mail.

What does the server see when I upload a file?

Encrypted blocks, their number and size, and encrypted names. File and folder names are encrypted, and to keep names unique in a folder the server only gets an irreversible hash (HMAC-SHA-256), never the name itself.

How safe is a public link?

The secret is 32 random bytes after the # in the address, which is never sent to the server. A link can have an expiry date, a download limit and a password (PBKDF2-SHA-256, 600,000 iterations). For links without a password the address itself is the key, so share it like one.

How do I know nobody tampered with my file in storage?

AES-256-GCM is bound to the place where a block sits, so moving or swapping a block is detected on decryption. In addition, the server compares block checksums with the stored seal of the file version and flags damaged versions.

What happens if I forget my key passphrase?

Access is restored by the 10-word recovery phrase you save when creating the account. Without the key passphrase and the recovery phrase nobody, including us, can read encrypted files.

Start writing privately.

Create an account and see what email we can’t read looks like.