Features · Updated 2026-11-15 · 2 min read
Secure Enclave binding: why copied files are useless
Most "encrypted" note apps derive the key from your password alone. If someone copies the file, they can guess offline at full GPU speed. Secret Notes Vault adds a second ingredient that never leaves your iPhone.
The problem with password-only encryption
A 6-digit PIN has one million combinations. A typical pattern has far fewer than people think. If a vault file can be copied to a computer, an attacker can try every candidate offline, in parallel, with no lockout. Key stretching slows that down — it doesn't stop it.
The device secret
At setup, Secret Notes Vault creates a random 256-bit device secret. It is sealed to a P-256 key that is generated inside the Secure Enclave, Apple's separate security processor. The private key never leaves that chip — not to iOS, not to a jailbroken kernel, not to us.
Every vault key is derived from two things:
- your secret (pattern, PIN or passphrase), stretched with PBKDF2-HMAC-SHA512, and
- the device secret, which only this iPhone's Secure Enclave can unseal.
Copy the files to another device and the second ingredient is missing. Offline guessing becomes impossible — not slow, impossible.
The Face ID / Touch ID hardware gate
With the hardware gate on, the Secure Enclave key carries Apple's biometryCurrentSet access control. The chip itself checks for a live Face ID or Touch ID match before it will perform the key agreement. iOS can't fake that answer, and neither can root.
The result: to even start guessing your pattern, an attacker needs your face. If someone adds a new face to the phone, the key stops working entirely — which is why you get a one-time recovery key at setup that can re-bind your vaults.
What root can and can't do
- Can: read the encrypted vault files and the header (salt, KDF rounds, a sealed blob).
- Can't: extract the Secure Enclave key, decrypt offline, or bypass the biometric check in the chip.
- Can, in theory: read memory while a vault is open on a compromised phone. That is true for every app; Secret Notes Vault keeps the window short by locking the moment it leaves the screen.
Full details: security model. Unlock options: 4×4 pattern, PIN or passphrase.