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

  1. Open Settings โ†’ Safety
  2. Toggle Enable PIN Lock
  3. Enter a 4-8 digit PIN
  4. Confirm the PIN
  5. 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:

  1. After timeout โ€” Sidebar locks automatically
  2. Manual lock โ€” Click lock icon in header
  3. On open โ€” PIN required to access

Lock Screen

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                                     โ”‚
โ”‚           ๐Ÿ”’ BraceKit               โ”‚
โ”‚                                     โ”‚
โ”‚     Enter your PIN to continue      โ”‚
โ”‚                                     โ”‚
โ”‚     [ _ _ _ _ ]                     โ”‚
โ”‚                                     โ”‚
โ”‚     [Unlock]                        โ”‚
โ”‚                                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Timeout Settings

Configure when auto-lock triggers:

SettingBehavior
ImmediateLock when sidebar closes
5 minutesLock after 5 min idle
15 minutesLock after 15 min idle
30 minutesLock after 30 min idle
NeverOnly 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

  1. Open Settings โ†’ Safety
  2. Click Change PIN
  3. Enter current PIN
  4. Enter new PIN
  5. Confirm new PIN

Disabling PIN

  1. Open Settings โ†’ Safety
  2. Toggle Enable PIN Lock off
  3. 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:

  1. Device Key โ€” A unique encryption key is generated for your device
  2. Automatic Encryption โ€” API keys are encrypted before storage
  3. Automatic Decryption โ€” Keys are decrypted only when needed for API calls
  4. 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:

  1. Password required โ€” You must set a password to encrypt the API key bundle
  2. Portable encryption โ€” Keys are re-encrypted with your password (not device key)
  3. Cross-device restore โ€” On the new device, enter the password to decrypt and restore keys
  4. 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:

  1. No recovery โ€” PINs cannot be recovered
  2. Reset data โ€” Clear extension data
  3. Start fresh โ€” Reconfigure everything

To reset:

  1. Go to chrome://extensions/
  2. Find BraceKit
  3. Click โ€œRemoveโ€
  4. 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