Decoy Vaults

Each unlock pattern you draw opens its own encrypted vault. There's no list of vaults, no dropdown menu, and no way for someone looking at the app to know how many vaults exist or which one is which. Draw a second pattern, put a few harmless documents in it, and you have a decoy vault for situations where someone insists you unlock the app.

How it works

When you draw an unlock pattern:

  1. UnderKey hashes the pattern using PBKDF2 with a unique salt to produce a 256-bit encryption key.
  2. That key unlocks one specific vault. If no vault exists for that pattern yet, UnderKey creates a new empty vault.
  3. Each vault is completely independent. Documents in one vault are invisible to other vaults. The vaults don't know about each other.
  4. There's no vault list or indicator. The unlock screen looks the same whether you have one vault or ten. Nobody can tell how many vaults exist just by looking at the app.

This means you can set up a second vault with a different pattern, add a few innocuous documents (grocery receipts, restaurant menus, old tickets), and use that vault when you need to show someone that the app unlocks but you don't want them to see your real documents.

Why decoy vaults matter

In some situations, refusing to unlock your phone or saying "I don't have anything on here" makes things worse. Decoy vaults give you plausible deniability:

How to set up a decoy vault

  1. Open UnderKey and create your main vault with your chosen unlock pattern. Add your real documents.
  2. Lock the app and draw a different pattern. UnderKey creates a new, empty vault for that pattern.
  3. Add a few harmless documents to the decoy vault: old receipts, shopping lists, saved articles, restaurant menus, or photos of books and magazines. Make it believable but boring.
  4. Lock the app again. Now you have two vaults: your real one and the decoy.

When someone asks you to unlock the app, draw the decoy pattern. They see the decoy vault, which looks real enough to satisfy them, but doesn't contain your sensitive documents.

What makes a good decoy

A decoy vault needs to look plausible. If it's completely empty or contains obviously fake documents, it defeats the purpose. Here's what to put in it:

The decoy should look like something you'd keep in a document app but wouldn't care if someone saw. Don't put anything in it that raises questions or looks like a test.

Limits and risks

Can you have more than two vaults?

Yes. You can create as many vaults as you have patterns. Each pattern opens a different vault. But remember: you have to remember every pattern. If you forget one, there's no way to recover it.

Related features

Related guides