Security & PIN
Protect your API keys and conversations with PIN protection.
Security & PIN Protection
Protect your BraceKit data with PIN protection. When enabled, the sidebar locks after a period of inactivity, requiring your PIN to access.
Why Use PIN Protection?
- API Keys โ Protect your paid API keys
- Conversations โ Keep chat history private
- Shared Computers โ Prevent unauthorized access
- Sensitive Data โ Extra layer of security
Enabling PIN Protection
Setup
- Open Settings โ Safety
- Toggle Enable PIN Lock
- Enter a 4-8 digit PIN
- Confirm the PIN
- Click Save
PIN Requirements
- 4-8 digits
- Numbers only
- Cannot be sequential (1234)
- Cannot be repeated (1111)
How It Works
Lock Behavior
When PIN is enabled:
- After timeout โ Sidebar locks automatically
- Manual lock โ Click lock icon in header
- On open โ PIN required to access
Lock Screen
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ ๐ BraceKit โ
โ โ
โ Enter your PIN to continue โ
โ โ
โ [ _ _ _ _ ] โ
โ โ
โ [Unlock] โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโTimeout Settings
Configure when auto-lock triggers:
| Setting | Behavior |
|---|---|
| Immediate | Lock when sidebar closes |
| 5 minutes | Lock after 5 min idle |
| 15 minutes | Lock after 15 min idle |
| 30 minutes | Lock after 30 min idle |
| Never | Only lock manually |
Configure in Settings โ Safety โ PIN Timeout.
Manual Lock
Click the lock icon (๐) in the header to immediately lock the sidebar.
Changing Your PIN
- Open Settings โ Safety
- Click Change PIN
- Enter current PIN
- Enter new PIN
- Confirm new PIN
Disabling PIN
- Open Settings โ Safety
- Toggle Enable PIN Lock off
- Enter current PIN to confirm
Data Protection
Whatโs Protected
When locked, the following are inaccessible:
- All conversations
- API keys
- Settings
- Memory data
- MCP configurations
Whatโs Not Protected
- Extension presence (visible in toolbar)
- That BraceKit is installed
Data Storage
All data is stored locally:
- chrome.storage.local โ Settings, encrypted API keys
- IndexedDB โ Conversations, images
- Device-bound encryption โ API keys are encrypted with a unique key stored on your device
API Key Encryption
How It Works
BraceKit uses transparent encryption for your API keys:
- Device Key โ A unique encryption key is generated for your device
- Automatic Encryption โ API keys are encrypted before storage
- Automatic Decryption โ Keys are decrypted only when needed for API calls
- No Plaintext Storage โ Your API keys are never stored in readable form
What This Means
- Stolen storage is useless โ If someone copies your browser data, they cannot read your API keys
- Device-specific โ Encrypted keys only work on the device where they were entered
- No password required โ Encryption is transparent; you donโt need to enter a password each time
Backup & Restore
When exporting data with API keys:
- Password required โ You must set a password to encrypt the API key bundle
- Portable encryption โ Keys are re-encrypted with your password (not device key)
- Cross-device restore โ On the new device, enter the password to decrypt and restore keys
- Re-encrypted for new device โ Restored keys are encrypted with the new deviceโs key
Important: If you lose the backup password, the API keys in that backup cannot be recovered.
Security Best Practices
Strong PIN
- Use 6+ digits
- Avoid obvious patterns
- Donโt use birth dates
- Donโt reuse other PINs
Regular Changes
- Change PIN periodically
- Immediately if you suspect compromise
Timeout Setting
- Use shorter timeouts for sensitive data
- Balance security with convenience
Browser Security
- Lock your computer when away
- Use browser profile protection
- Donโt share your browser profile
Recovery
Forgotten PIN
If you forget your PIN:
- No recovery โ PINs cannot be recovered
- Reset data โ Clear extension data
- Start fresh โ Reconfigure everything
To reset:
- Go to
chrome://extensions/ - Find BraceKit
- Click โRemoveโ
- Reinstall and reconfigure
Warning: Resetting removes all data including conversations and API keys.
Privacy
What BraceKit Stores
- API keys โ Encrypted with device-bound key, local only
- Conversations โ Local storage only (IndexedDB)
- Memories โ Local storage only
- Settings โ Local storage only
- No cloud sync โ Data never leaves your device
What BraceKit Sends
- API requests โ Only to configured AI providers
- No telemetry โ No usage analytics
- No account โ No BraceKit account required
API Key Security
Your API keys are protected by transparent encryption:
- Keys are encrypted before storage using a unique device key
- Keys are decrypted only when making API calls
- If someone copies your browser storage, they cannot read your keys
- Keys are device-specific and cannot be transferred without backup password
Troubleshooting
PIN not working
- Check caps lock is off
- Ensure number pad works
- Try typing slowly
- Reset if forgotten
Auto-lock not triggering
- Check timeout setting
- Ensure PIN is enabled
- Verify sidebar is closing properly
Lock screen stuck
- Refresh the page
- Restart the browser
- Reset extension if needed
Related
- Configuration โ All settings
- Memory System โ Whatโs stored
- Troubleshooting โ Common issues