App lock and vault
pock8s keeps every credential in a vault and locks itself whenever you might not be the one holding the phone.
The vault
- Tokens, client certificate keys and OIDC tokens live only in the vault, never in the database and never in logs.
- The vault is encrypted with AES-256-GCM. Its key sits in the Android Keystore, in StrongBox when the phone has it, and can only be used after you authenticate with strong biometrics or the device credential (PIN, pattern or password).
- The local database holds settings, not credentials. It is encrypted with SQLCipher.
- Android backup and device transfer are off for all app data.
When the app locks
pock8s starts locked and asks for your fingerprint, face or device credential. It locks again:
- after 60 seconds in the background,
- at once when the screen turns off,
- at once when the device locks.
The lock screen shows nothing about your clusters.
What a lock does
Locking closes every cluster connection, closes the vault and clears the clipboard. After you unlock, the screens you had open come back by themselves; you do not need to retry.
Logins and the lock
An OIDC login runs in your browser, which puts pock8s in the background. While a login waits for the browser, the 60 seconds do not run, for up to the login’s own 5 minutes; they count from the end of the login. Turning the screen off or locking the device still locks pock8s at once. If that happens during a login, the login screen says “The app locked before the login finished. Log in again.”
When your screen lock or biometrics change
Android invalidates the vault key when you remove the screen lock or change the enrolled biometrics. pock8s then says that the stored credentials can no longer be decrypted and offers Reset vault. Your clusters stay; add their credentials again.
Overlays
If another app draws over pock8s, the unlock button does not react and pock8s says so. Close the other app to unlock.