Stashio
Feature

Duress pattern: open one vault, erase the rest

A second pattern for a harmless vault. It opens that vault normally, and before anyone sees anything, the other vaults on the phone are gone.

Updated 3 min readBy the Stashio team

Short answer

A duress pattern is a second pattern you set for a harmless vault. Drawn on the lock screen, it opens that vault just like its usual pattern, but first, silently and permanently, it deletes every other vault on the phone. Nothing on screen shows that anything happened. Deleted vaults can come back only from a backup with their recovery code.

When a decoy isn’t enough

A decoy vault lets you show something harmless when you’re forced to open Stashio. But some situations are worse than an inquisitive look: someone takes the phone with them, keeps asking, or has the means to examine it later. For those moments, the safest vault is one that no longer exists on the phone.

What the duress pattern does

  1. You draw the duress pattern on the ordinary lock screen.
  2. Stashio permanently deletes the keys and indexes of every other vault on the phone. Their encrypted files stay behind as data nobody can decrypt any more, indistinguishable from the app’s space reserve.
  3. The vault the duress pattern belongs to opens, exactly as it does with its usual pattern.

There is no confirmation dialog, no progress bar and no message. If the deletion runs into a problem half-way, the vault opens anyway, because an error on screen would give the duress pattern away. Deleting keys is instant, and because the space the deleted vaults took stays occupied, the app’s storage use doesn’t drop suddenly either.

Without its key, an encrypted file is just random-looking bytes. AES-256-GCM can’t be brute-forced, so leaving those bytes in place is as final as deleting them, and it doesn’t create a visible change in size.

Setting it up

  1. Back up the other vaults first. Make an encrypted backup of each vault you want to be able to recover, and keep the backups off the phone, on Google Drive, a computer or a USB drive.
  2. Open the harmless vault and go to Settings → Duress pattern → Set a duress pattern.
  3. Draw a pattern that differs from every other pattern. The vault’s usual pattern keeps working.

The app never shows whether a duress pattern is set, not even in that vault’s settings. Replacing the vault’s key removes it.

Getting your vaults back

After a duress pattern has been used, the other vaults exist only in their backups. On the same phone or a new one, choose Restore from a backup, pick the backup file and enter that vault’s recovery code. That’s why the code and the backups must not live only on the phone.

Things to think through

  • It is irreversible on the phone. Draw it only when you mean it. Practise on a test setup, not on your real vaults.
  • Deleting data during an investigation can be illegal in some countries, and destroying evidence is a crime almost everywhere. A duress pattern is meant for coercion by people who have no right to your files, not for hiding evidence from a lawful search.
  • Backups elsewhere are not touched. A backup on Google Drive or a computer survives. That is what makes recovery possible, and also what you need to account for if those backups could be reached too.

Frequently asked questions

Does the duress pattern delete the vault it opens?

No. It opens its own vault with all its content. Only the other vaults on the phone are deleted.

Can someone tell that a duress pattern was used?

Not from the screen: the vault opens normally and no message appears. The storage of the deleted vaults stays reserved, so the app’s size doesn’t change noticeably either.

Does it delete my backups?

No. Backups you saved outside the app, for example on Google Drive or a computer, stay. You restore the deleted vaults from them with their recovery codes.

Can every vault have a duress pattern?

You set it per vault. It makes sense in the harmless vault you would open under pressure, not in the vault you want to protect.

Keep your photos where only you can open them

Stashio encrypts photos, videos and documents on your phone. No account, no server, no internet permission.

Get it on Google Play

Free · Android 9 and later