we can’t read your files. here’s the proof.
your mac locks every file and file name before it uploads. our servers only ever hold encrypted data, and your keys never reach us unencrypted. here’s exactly how it works.
your keys stay on your macs.
when you set up your first mac, it makes a master key: 32 random bytes. every other key comes from it, and it never leaves your macs unencrypted.
from the master key, your mac derives three working keys. one locks file keys, one locks names, and one makes the name tags you’ll see below.
the exact format
- Master key (MK): 32 random bytes per account, made on the first device.
- Working keys: HKDF-SHA256 with
ikm = MK,salt = "xd1", 32-byte output, andinfoset to"xd1/wrap","xd1/name"or"xd1/tag". - Every seal is
nonce (12 random bytes) || AES-256-GCM ciphertext || tag (16 bytes), with a label as additional authenticated data so a sealed value can’t be reused in another role. - An account P-256 key pair is made at setup. Its private key is stored only sealed with the wrap key (
aad = "xd1/sk"). - Binary values in the API are base64url without padding.
every file gets its own key.
every time a file uploads, your mac makes a brand new 256-bit key for that version. it splits the file into 1 MiB pieces and seals each one with AES-256-GCM.
each piece has its position sealed in, and the last piece is marked as last. if anyone reorders the pieces or cuts the file short, decryption fails. pieces also let the app fetch just the part of a file you open.
the exact format
- File key (FK): 32 random bytes, new for every uploaded version.
- Piece size P = 1,048,576 plaintext bytes. Piece count is
ceil(size / P), zero for an empty file. - Nonce for piece
i: four zero bytes, thenias a big-endian 64-bit integer. A counter nonce is safe because each file key seals one version only. - Additional data for piece
i:"xd1/piece" || uint64_be(i) || 1 byte, set to 1 on the final piece and 0 otherwise. - The stored object is the sealed pieces back to back. Piece
istarts ati × (P + 16), so the encrypted size issize + 16 × pieceCount. - The file key is stored sealed with the wrap key (
aad = "xd1/fk").
even file names are encrypted.
file and folder names are locked with the name key before they leave your mac. we only store the encrypted version.
a folder can’t hold two items with the same name, so your mac also sends a short tag made from the name and its folder. our server compares tags to block duplicates. it can tell when two names in one folder match, but it has no idea what they say.
the exact format
- Encrypted name: seal with the name key over the UTF-8 name in Unicode NFC (
aad = "xd1/name"). - Tag: the first 16 bytes of
HMAC-SHA256(tagKey, parentId || 0x00 || lowercase(NFC(name))). - Lowercasing makes names unique regardless of case, the way APFS treats them. The folder id in the tag means the same name in two folders gives two different tags.
a recovery key only you hold.
during setup, your mac shows a recovery key once: 32 characters in eight groups of four. it locks a copy of your master key, and that locked copy is the only one we keep.
a new mac needs the recovery key to open your files. we never see it, so we can’t reset it. if one of your macs is still signed in, it can make you a new one.
the exact format
- Recovery key (RK): 20 random bytes, shown as 32 Crockford base32 characters in groups of four, for example
7K4Q-M2XF-9TPL-QW8R-3HCN-6ZVB-D5JY-8RWA. - When typed back in, letters are uppercased, dashes and spaces dropped, and O, I and L read as 0, 1 and 1.
recoveryWrapKey = HKDF-SHA256(ikm = RK, salt = "xd1/recovery/" + accountId, info = "xd1/recovery"), 32 bytes.- The server stores
seal(recoveryWrapKey, MK, aad = "xd1/mk"). A new recovery key seals the same master key again, so no file needs re-encrypting.
share links carry their own key.
a share link holds the file’s key after the #. browsers never send that part of a link to a server, so ours only hands out encrypted bytes, and the browser on the other end unlocks them.
anyone with the full link can open that version of the file, so treat the link like the file itself. turn a link off and our server stops serving it.
the exact format
https://useextradrive.com/s/{shareId}#k={base64url(FK)}&n={base64url(UTF-8 name)}- The share page decrypts in the browser with WebCrypto, fetching pieces with HTTP range requests.
- A link points at the version you shared. Newer versions of the file get new file keys, which the link doesn’t carry.
- A link can expire, and a link you turn off answers
410 Gone.
what we can see. all of it.
encryption hides what’s in your files and what they’re called. it doesn’t hide that they exist, or how big they are. here’s the full list, nothing left out.
we can see
- your email address and your plan
- the names and platforms of the devices you sign in on
- how many files and folders you have, and which item sits in which folder
- each file’s size, its encrypted size, and when it was created and changed
- when you upload, download, share or delete, and the network address it came from
- how many times a share link was downloaded
we can’t see
- what’s inside your files
- file and folder names
- your master key, file keys or recovery key
- the key inside a share link
what this doesn’t protect.
- anyone using your mac while it’s unlocked can open your files, like any drive.
- anyone holding a share link can open that file.
- if you lose every signed-in mac and your recovery key, nobody can recover your files, including us.
- you’re trusting the app to do what this page says. that’s why we publish the format, so anyone can check.
sign-in uses one-time codes sent to your email. we only store a hash of each device’s sign-in token, and you can sign any device out.