Skip to content

Storage

Paw stores vaults as local files. Each vault has an encrypted index and separately encrypted item files. Attachment contents are stored as encrypted files.

File locations

By default, Paw stores all data in your user home directory:

  • Linux and macOS: ~/.paw/
  • Custom location: Set the PAW_HOME environment variable; Paw will use $PAW_HOME/.paw/.

Application directory layout

The root application directory contains:

PathPurpose
storage/Directory containing all local vaults
agent.sockLocal Unix domain socket used by the agent (\\.\pipe\paw on Windows)
paw.lockProcess lock file preventing concurrent GUI instances
app.logApplication event log

Vault directory structure

Each vault is stored under storage/<VAULT_ID>/ with the following structure:

File / DirectoryPurposeEncryption
key.ageMaster age private identityPassword-encrypted (scrypt)
vault.ageIndex containing item summariesEncrypted with vault key
items/Encrypted item revision filesEncrypted with vault key
files/Encrypted file attachmentsEncrypted with vault key
metadata.jsonVault name, icon, and display colorUnencrypted (used to display locked vaults)
Do not edit or remove vault files manually while Paw is running.