Skip to content

Saved Logins

nick3 edited this page May 28, 2026 · 1 revision

Saved Logins

Per-origin credential storage for browser panes. Stored encrypted using your OS keychain via Electron safeStorage. Never auto-submits.


Add a credential

Browser pane overflow menu → Saved LoginsAdd:

Field Notes
Origin https://github.com (scheme + host, no path)
Username Plain text
Password Stored encrypted via safeStorage on save
Notes Optional free text — handy for OTP setup hints or recovery codes

Save. The credential is now matched whenever you visit any URL under that origin.

Backend: src/main/browser-credentials-store.ts. File: clusterspace-browser-credentials.json (passwords inside are safeStorage-encrypted blobs).


Fill a saved login

On a page where you'd normally type credentials:

  1. Focus the username field (click into it)
  2. Pane overflow menu → Fill saved login
  3. Pick the matching credential from the dropdown (filtered by current origin)

ClusterSpace types the username, presses Tab, types the password. It does not press Enter — you submit when you're ready. This avoids surprises on sites with extra fields (CAPTCHAs, OTP) and gives you a chance to verify before committing.


Where the password goes

The password never crosses the renderer boundary except for the explicit Show password action (which requires a fresh confirmation prompt). At fill time, the typing happens in the main process via Chrome DevTools Protocol input events, so the password never lands in any DOM property.


Security model

Encryption at rest OS keychain via safeStorage (Keychain on macOS, DPAPI on Windows, Secret Service on Linux)
Encryption fallback Base64 with a loud console.warn — happens only when the OS keychain is unavailable (rare; container without dbus on Linux is the usual case)
Cross-pane visibility Credentials are global — any browser pane on the matching origin sees the same list
Auto-submit Never — you press Enter yourself
Export Not built-in (intentional — encrypted blobs aren't useful without the keychain key anyway). Use OS-level keychain export if needed.
Wipe Pane overflow menu → Saved Logins → select credential → Delete. Bulk wipe: delete clusterspace-browser-credentials.json from your userData dir.

Backup and migration

Because the credential file is encrypted with your OS user's keychain key, it is not portable to other machines or users without first decrypting and re-encrypting. The simplest path:

  1. Open the Saved Logins dialog on the source machine
  2. Click each credential, copy the username + password, paste into a password manager temporarily
  3. Re-add on the destination machine

Don't try to copy clusterspace-browser-credentials.json directly between machines — it won't decrypt on the other side.


Storage path

<userData>/clusterspace-data/clusterspace-browser-credentials.json

<userData> paths:

  • Windows: %APPDATA%\ClusterSpace\
  • macOS: ~/Library/Application Support/ClusterSpace/
  • Linux: ~/.config/ClusterSpace/

See also

Clone this wiki locally