Auto-Lock
Auto-lock automatically locks your vault when you step away from your computer. Once locked, the master key is zeroed from memory and all revealed secrets are re-encrypted. Anyone who walks up to your machine sees the unlock screen, not your data.
How It Works
Section titled “How It Works”Claspt monitors mouse and keyboard activity within the app window. When no input is detected for the configured timeout period, the vault locks automatically.
The lock process:
- The current page is saved.
- All revealed secret blocks are collapsed and their decrypted values zeroed from memory.
- The master key is zeroed from memory.
- The unlock screen is displayed.
Configuring the Timeout
Section titled “Configuring the Timeout”Go to Settings > Security > Auto-lock timeout and choose a duration:
| Option | Best For |
|---|---|
| 1 minute | High-security environments, shared workstations |
| 5 minutes | Recommended for most users |
| 15 minutes | Balanced convenience and security |
| 30 minutes | Long reference sessions |
| 1 hour | Extended work sessions |
| Never | Physically secure environments only |
The default is 5 minutes.
Manual Lock
Section titled “Manual Lock”You don’t have to wait for the timer. Lock your vault instantly:
- Keyboard shortcut:
Cmd+Shift+L(macOS) /Ctrl+Shift+L(Windows/Linux) - Menu: Click the lock icon in the sidebar header.
Unlocking After Auto-Lock
Section titled “Unlocking After Auto-Lock”When the vault is locked, you’ll see the unlock screen. You have two options:
- Master password — type your password and press Enter.
- Biometric — if biometric unlock is enrolled, use Touch ID or Windows Hello.
Your editor state is preserved. After unlocking, you’ll return to the same page and cursor position you were at before the lock.
What Happens to Revealed Secrets
Section titled “What Happens to Revealed Secrets”When the vault locks (auto or manual):
- All revealed secret cards are collapsed.
- Decrypted values are zeroed from memory using the
zeroizecrate. - Clipboard contents from secret copies are cleared.
- The next time you reveal a secret, it’s decrypted fresh from disk.
This means even if someone attached a memory debugger to the process, there would be no plaintext secret data to find after a lock.
Recommendations
Section titled “Recommendations”For most users, we recommend:
- 5 minutes if you store high-value secrets (production API keys, financial credentials).
- 15 minutes if you use Claspt as a daily reference tool during development.
- Pair with OS screen lock — auto-lock protects against someone accessing Claspt specifically, but your OS screen lock protects against all apps. Use both.