- Vahty
- Security
How Vahty protects your files
The short version first, in plain words. The exact algorithms are further down for anyone who wants to check our work.
The short version
- Every file is locked with its own key.Photos, videos, documents, passwords, cards, notes, their names and their thumbnails are all encrypted.
- Your pattern is the key.It is not a screen in front of readable files. Without the pattern, the files are noise.
- The key only works on your iPhone.A chip in the phone, the Secure Enclave, takes part in every unlock. Copies of the vault elsewhere cannot be opened by guessing.
- Nothing is sent anywhere.The app has no server, no account and no analytics, and it never connects to the internet.
- You hold the only way back in.The 12 recovery words shown at setup can reset a forgotten pattern. We cannot.
What Vahty protects you from
- YesSomeone picks up your unlocked iPhoneThe vault locks the moment you leave it and needs the pattern again.
- YesSomeone knows your iPhone passcodeThe pattern is separate from the passcode. Knowing one does not give the other.
- YesSomeone copies the app's data with a computer or forensic toolThe files are encrypted, and the key needs the Secure Enclave of your own phone.
- YesSomeone tries patterns one after anotherFive free tries, then waits of 30 seconds, 1 minute, 5 minutes, 30 minutes and 1 hour. The count survives restarting the phone.
- YesA company breach or a leak from the app makerThere is no server and no copy of your files or keys anywhere but your phone.
- PartlySomeone watches you draw the patternThe line you draw can be hidden so only the dots respond. A careful watcher can still learn a pattern; turn on Face ID as a second lock.
- PartlySomeone forces you to open the appA decoy vault opens with its own pattern and shows nothing of the others. It cannot help if the person already knows what to look for.
- If iCloud backup is onA lost, stolen or broken phoneThe thief cannot read the vault. You get it back on a new phone from the backup in your iCloud and your 12 words.
What Vahty cannot protect you from
No vault app can do everything, and it is better that you hear it here.
- Losing both your pattern and your 12 words.There is no reset link and no support desk that can let you in. The vault stays closed for good.
- The originals you leave behind.If a photo is still in your Photos library, in Recently Deleted, in a chat or in a cloud backup, it is still there. Vahty reminds you to empty Recently Deleted after an import.
- Copies you export.A file you share or save out of the vault is an ordinary file again.
- Someone looking at the screen while the vault is open.
- A compromised iPhone.On a jailbroken phone, or one running spyware, no app can make promises.
What happens when you draw your pattern
The four steps, in words
- The shape you draw is turned into a key by a deliberately slow calculation (600,000 rounds), so each guess costs real time.
- That key is useless alone. The vault's master key is wrapped twice: once by your pattern, once by the Secure Enclave in your iPhone.
- When both agree, the master key is held in memory, and it unlocks the individual key of each file as you open it.
- When you leave the app, the master key is erased from memory. Locking is not a screen being drawn over your files; the key is gone.
Recovery words and backups
At setup Vahty shows 12 words, once. They are a second, independent key to the same vault. Type them in and you can draw a new pattern, on this phone or a new one. Write them on paper. Do not keep them in a screenshot or a notes app.
- 1
Turn on iCloud backup
One tap when you set Vahty up. It writes everything into one sealed file in your own iCloud and keeps it up to date by itself. Apple stores the file but cannot open it.
- 2
Keep your 12 words
Vahty shows you 12 recovery words when you set it up. Write them on paper. They open the backup, and they reset a forgotten pattern.
- 3
Open it on a new iPhone
Install Vahty and choose "Restore from a backup". It finds the file in your iCloud by itself. Type the 12 words, draw a new pattern, and everything is back.
How the backup works, in detail
A backup is a single encrypted file holding every vault. With one tap it goes to Vahty's own folder in your iCloud Drive and keeps itself up to date: right after you add files while the vault is under 500 MB, daily for larger ones. It uses your own iCloud storage, and Vahty tells you when iCloud has not taken the newest backup. For an extra copy on a computer, "Back up vault" writes the file once. Backup is off until you turn it on. Whoever holds the file but not the 12 words holds nothing readable.
The details, for people who check
- File encryption: AES-256-GCM, in chunks, each file with its own random 256-bit key stored wrapped by the master key. File names and thumbnails are encrypted as well.
- Pattern to key: PBKDF2-HMAC-SHA512, 600,000 iterations, over the pattern and a random 32-byte salt.
- Device binding: a non-exportable P-256 key generated in the Secure Enclave takes part in every unlock attempt.
- Recovery: 128 bits of randomness shown as 12 BIP39 words; the recovery key is derived with HKDF.
- On disk: everything is stored under iOS's strongest file protection class. Decrypted temporary files are wiped on lock and at launch, and are excluded from device backups.
- Lockout: 5 free attempts, then 30 s, 1 min, 5 min, 30 min, 1 h. The counter is kept in the Keychain and survives reinstalling the app.
- Clipboard: anything copied from the vault stays on this iPhone only and clears after two minutes.
- Code: the encryption layer is built only on Apple's CryptoKit, CommonCrypto and Security frameworks, with no third-party libraries, and is tested against published test vectors for PBKDF2, HKDF and AES-GCM.
Questions
Can Vahty or Apple read my files?
No. The keys exist only on your iPhone, and Vahty has no server to send anything to. The iCloud backup, if you turn it on, is already encrypted when it is written, so Apple stores a file it cannot read.
Can someone copy the vault off my phone and crack it on a computer?
They can copy the encrypted files, but not open them. The key that your pattern unlocks is wrapped a second time by the Secure Enclave, a chip in your iPhone whose key cannot be exported. Guessing has to happen on your phone, where the waits apply.
Has Vahty been audited?
Not yet by an outside firm. The encryption code has been reviewed internally and is tested against published test vectors. An independent review is planned, and the report will be linked on this page when it exists.
What encryption does Vahty use?
AES-256-GCM for files, PBKDF2-HMAC-SHA512 with 600,000 rounds to turn your pattern into a key, a P-256 key in the Secure Enclave to bind that key to your phone, and a standard 12-word BIP39 phrase for recovery. All of it comes from Apple's own cryptography libraries; the encryption layer uses no third-party code.
Found a problem? Write to hello@vahty.com. We read every report.