Your pattern is not the whole key.
Your pattern alone cannot open a copy of a Sigil vault on someone else's computer. Its key also needs a secret that lives inside this iPhone's Secure Enclave and cannot be exported. The one exception is your recovery phrase. This page says how, and where it stops working.
Last reviewed
How your pattern becomes a key
Read the chain top to bottom. Each box feeds the next, and the vault key only exists when the pattern key and the device secret are both present.
Pattern
The shape you draw on the 5 by 5 grid, encoded as a length byte plus the dot positions. It never leaves the phone.
Argon2id
A memory-hard hash that runs on the phone with 64 MiB of memory and 3 passes. Its output is the pattern key.
Secure Enclave secret
A device secret made from a Secure Enclave P-256 key that cannot be exported. Only this iPhone can produce it.
Vault key
HKDF-SHA256 combines the pattern key with the device secret. Without both inputs the result is wrong.
Master key
32 random bytes per vault, unwrapped by the vault key. Changing your pattern only re-wraps it, so no file is re-encrypted.
Files
Each file gets its own key derived from the master key and is stored as 1 MiB chunks, each sealed with AES-256-GCM.
A separate path exists for a forgotten pattern: the 12-word recovery phrase derives a recovery key (HKDF over its entropy) that unwraps the master key without the device secret, so you can set a new pattern.
What happens on a new iPhone
Your vaults live only on the iPhone they were made on. The key that protects them is held by this phone's Secure Enclave and cannot leave it, and vault storage is not carried over when you set up a new iPhone. A new iPhone starts with no vaults, and the recovery phrase does not change that. This is the cost of nothing leaving your phone. Before you switch, export what you want to keep, and keep your originals until you have confirmed your files are safe in Sigil.
What a copy of your vault gives an attacker
Vault files are stored with complete file protection on the phone. If someone copies them off, they get ciphertext. Files are padded before encryption, so sizes leak at most about 12% of their bits, and every file has a random name in one shared pool, so nobody can tell which vault owns which file.
Trying pattern guesses needs the Argon2id output and the device secret together. The device secret never leaves the Secure Enclave, so the guessing cannot be moved to a rented cluster. It has to happen on your phone, where each guess costs 64 MiB of memory and, after 5 failed attempts, waits grow to 30 seconds, then 1 minute, 5 minutes and 15 minutes. The failure counter lives in the Keychain, so deleting and reinstalling the app does not reset it.
Hidden vault count
Sigil creates 32 fixed-size slot files at install and fills all of them with random bytes. Making a vault overwrites one of the decoys. Deleting a vault writes a fresh decoy. A forensic copy always shows 32 slots that look the same, whether you have one vault or ten.
A pattern that opens nothing leaves the same doodle on the note as a wrong guess, so trying a pattern never confirms whether a vault exists. One honest leak remains: the free-tier vault limit needs a counter, and it is kept as a single integer in the Keychain.
What leaves your phone
Nothing. Sigil makes no network calls. It has no account, no server and no analytics SDK, so nothing about your vault is sent anywhere.
What Sigil cannot protect against
Sigil is pattern-only on purpose: a face or finger can be forced, a pattern cannot.
- A jailbroken phone. If the operating system is compromised, the guarantees above no longer hold.
- A phone that is already unlocked. While a vault is open its contents are on screen and its keys are in memory. Sigil blurs the app switcher, hides the vault during screen recording or mirroring, and locks by default when you leave, but it cannot help if someone is holding the open phone.
- Someone watching you draw. The pattern trace is hidden after setup, but a person who sees your finger can copy the shape.
- Losing both the pattern and the recovery phrase. Nobody can recover those files, including Sigil.
- Someone who has your recovery phrase. With the phrase and a copy of your vault files, they can open the vault without the pattern.
- Changing your pattern, then using the phrase. If you change your pattern and later get back in with the recovery phrase, the pattern you had before the recovery still opens that vault until you delete it.
- Memory handling limits. Apple's
SymmetricKeytype cannot be zeroed, so Sigil keeps those keys alive for as short a time as it can.
Why a recovery phrase and not an email reset
An email reset needs a server that can undo your encryption, and an account to attach it to. Sigil has neither. At setup you get a 12-word recovery phrase. If you forget the pattern, it restores access to your vaults on the same iPhone and lets you set a new pattern.
The price is plain: keep the phrase somewhere safe. If the pattern and the phrase are both gone, so are the files.
The recovery phrase is the one thing that can open your vault without the pattern and without this iPhone's chip. Anyone who has it, and a copy of your vault files, can open them elsewhere. Write it on paper and keep it away from your phone.
Keep reading
More explanations, written for people who are not cryptographers, are on the blog.