Rowankeep
Docs / Concepts

How encryption works

Everything Rowankeep writes to a repository is encrypted and authenticated. Whoever can read the storage sees only the number and size of files, never their names or contents.

Keys

When a repository is created, Rowankeep generates a random master key. The key is stored in the repository, encrypted with a key derived from your password with scrypt. Changing the password only re-encrypts that one file.

Data

Chunks, trees and snapshots are encrypted with AES-256-GCM, each with a random nonce. The chunk boundaries are found with a rolling hash keyed with a secret from the master key, so their sizes give nothing away about the files.

If you lose the password, the data cannot be recovered. Keep a copy of it somewhere other than the machine you back up.