Each stored secret is encrypted with AES-256-GCM, using a separate data key for each version, and those keys are protected by a master key kept outside the database, in ~/.gaterook/master.keyset. With OS protection on, the master-key file is encrypted with a key your operating system guards:
- macOS: the login Keychain. Unlocking asks for Touch ID where it's set up, otherwise your Mac password.
- Windows: a vault created where Windows Hello is available is bound to a Windows Hello key, protected by the TPM where the computer has one, with no password fallback. Otherwise DPAPI protects it, and GateRook asks for Windows Hello or your account password before opening it.
Nothing touches a stored key until you select Unlock GateRook. Without a secure OS key store, the file is protected only by file permissions, and the app says so.
Limits: encryption covers secret values, not the whole database, Activity, logs or weekly backups. Your OS account is the boundary: code running as you can ask you for the unlock gesture or read keys from GateRook's memory. Back up the master key in Secrets › Master key. See Keychain and Windows Hello prompts.