Skip to content

Documentation

Everything Saltcellar does, and how.

Installing and checking the download, your first vault, everyday use, backups, where the files live, upgrading from lokey, the security model and building it yourself.

Start here

Install

One file per system. Nothing to set up and nothing written outside your own user folder.

Windows 10 or 11, 64-bit: the portable Saltcellar-<version>.exe. It needs WebView2, which is built into Windows 11 and into any Windows 10 kept up to date.

macOS, Apple silicon or Intel: the universal Saltcellar-<version>-macos-universal.dmg.

Linux, x86_64: Saltcellar-<version>-linux-x86_64.AppImage or Saltcellar-<version>-linux-amd64.deb. The .deb needs WebKitGTK 4.1, which it pulls in.

  • Download your system's file and SHA256SUMS.txt from the same release, under Assets on the latest release.
  • Check the download, as below.
  • Run it. The builds are not code-signed yet. On Windows, SmartScreen asks first: choose More info, then Run anyway. On macOS the build is ad-hoc signed but not notarized, so macOS refuses the first time: open System Settings → Privacy & Security and choose Open Anyway. On Linux, make the AppImage executable first with chmod +x.
  • On Windows, put the exe wherever you keep your tools. To remove Saltcellar, delete the file.

Check the download

The checksum proves the file is the one the release published. The two hashes must be identical.

Compare the hash in PowerShell
(Get-FileHash .\Saltcellar-<version>.exe -Algorithm SHA256).Hash.ToLower()
Get-Content .\SHA256SUMS.txt

The attestation proves the file was built by this repository's release workflow from a tagged commit. It needs the GitHub CLI.

Verify the build attestation
gh attestation verify <file> --repo akshit-bansal11/saltcellar

Start here

First use

The first run offers to create the vault, with one master password.

The master password must be at least 15 characters, and Saltcellar refuses passwords that appear in public lists of leaked passwords. A few random words make a strong password that is easy to remember. Once it is entered, everything is open: reading, adding, editing, copying and deleting. Deleting asks you to confirm.

Then you choose what happens if you forget it:

  • A recovery key (recommended). Saltcellar shows a 32-character key once, and asks you to type it back to prove you saved it. Write it on paper and keep it away from the computer. If you forget the master password, the recovery key opens the vault and you choose a new password; you then get a new recovery key and the used one stops working.
  • No recovery. Only the master password opens the vault. Forget it and everything in it is gone, for you and for anyone else.

Start here

Using it

One project at a time, as a sheet with three columns: number, key and value.
  • Type a name and value in the last row and press Enter to add a key.
  • Show, copy, edit and delete are on each row. Values stay hidden until you show one, and only one is shown at a time.
  • Copying clears the clipboard after 30 seconds, if it still holds the copied value, and a thin line in the status bar counts it down. Selecting the text goes through the same protected copy. On Windows, copied values stay out of Win+V history and cloud clipboard. On macOS they are marked so clipboard managers that honour org.nspasteboard.ConcealedType skip them, but Universal Clipboard (Handoff) still carries them. On Linux, KDE's password-manager hint is added.
  • Generate a password with the dice button or Ctrl+G: a length from 8 to 128, and which characters to use. Copy it, or choose Use as new key to put it in the last row.
  • Projects keep the same key name apart: DATABASE_URL can exist once in web and once in api. New keys go to default unless you pick another.
  • Names use letters, digits, spaces (not at either end) and _ - . / @ + :, and match regardless of case.
  • The app locks itself after 5 minutes without use, on Ctrl+L, and whenever it is closed. On Windows the window is hidden from screenshots and screen sharing; macOS is asked to hide it too, and whether a tool honours that is up to macOS. Linux cannot.
  • On a Mac, Cmd stands in for Ctrl in every shortcut.

The keyboard

Everything works from the keyboard. Press F1 (or ?) for the full list. Ctrl+K opens the command palette, which lists every command and project. Ctrl+N adds a key, Ctrl+Shift+N makes a project, Ctrl+1 to Ctrl+9 jump to a project, Ctrl+PgUp and Ctrl+PgDn (or Alt+Up and Alt+Down) switch projects, Ctrl+F or / searches, Ctrl+G opens the generator, Ctrl+, opens settings and Ctrl+L locks. In the rows, Up, Down, Home and End move, Enter shows, Ctrl+C copies the value, Ctrl+Shift+C copies the key's name, F2 edits and Del deletes. In the add row, Ctrl+Enter (or Enter) adds the key.

Your vault

Backups

The vault is a single file, and a dead disk takes it with it.

Settings → Export backup… asks for your master password again, then where to save. The backup is the vault file itself, still encrypted: it opens with the master password, or the recovery key, the vault had when you exported it. Keep one on a USB drive or another disk.

To move to a new computer, or after losing the disk, start Saltcellar with no vault and choose Restore from a backup…. Saltcellar never restores over an existing vault.

Your vault

Where the vault lives

%LOCALAPPDATA%\saltcellar on Windows, ~/Library/Application Support/saltcellar on macOS and ~/.local/share/saltcellar (or $XDG_DATA_HOME/saltcellar) on Linux, in your own user profile.
  • vault.lokey: the vault.
  • vault.lokey.bak: the version before the last change.
  • lockout.json: the count of wrong passwords, shared by every window.
  • migration.log: only if a lokey vault was copied in, or a copy failed.

Set SALTCELLAR_DIR (or the older LOKEY_DIR) to keep them somewhere else. On Windows it is local, not roaming: Windows never syncs the folder. On macOS and Linux the files are yours only (0600). The files keep the .lokey extension from the app's previous name; the format inside is the same.

Two Saltcellar windows can be open at once: every change takes a lock on the file, reads it fresh, applies one change and writes it back whole, so the two never overwrite each other.

Your vault

Upgrading from lokey

Saltcellar was called lokey until 1.0.0. The first start copies a lokey vault across, and leaves the original alone.
  • Close lokey first, every window of it.
  • Start Saltcellar. If %LOCALAPPDATA%\lokey holds a vault and %LOCALAPPDATA%\saltcellar does not, it copies vault.lokey, vault.lokey.bak and lockout.json across, then asks for your master password as before. The status bar says the vault was copied, and migration.log records it.
  • Once Saltcellar has opened your vault and you have checked your entries, delete %LOCALAPPDATA%\lokey and lokey.exe yourself. Saltcellar never does.

What the copy does and does not do

  • It copies, never moves. The lokey folder is only read: nothing in it is changed, moved or deleted, so lokey still opens it if anything goes wrong.
  • It happens once. If the Saltcellar folder already holds a vault, nothing is copied and both are left alone.
  • It is skipped when SALTCELLAR_DIR or LOKEY_DIR is set: Saltcellar opens the folder you chose.
  • If the copy fails, Saltcellar shows the reason instead of offering to create a new vault, records it, and tries again on the next start.
  • The vault format is unchanged. Backups made by lokey restore in Saltcellar.

Under the hood

Security model

What the vault protects against, what it does not, and what you can check yourself.

How the vault is sealed

  • Your entries are encrypted with AES-256-GCM under a random 256-bit data key.
  • The data key is stored at most twice, each copy encrypted: once under a key derived from your master password, and once under a key derived from the recovery key if you have one. Both derivations use Argon2id at 64 MiB, 3 passes and 1 lane, with a random 16-byte salt.
  • Changing the master password, or making or removing a recovery key, replaces the data key. An old password or recovery key opens only copies of the file made before the change.
  • Every header field an attacker could weaken, among them the salt and the cost settings, is bound into the encryption. A changed file fails to open rather than opening weakened or wrong. A file asking for less than 19 MiB, or more than 1 GiB, is refused.
  • Wrong passwords and recovery keys wait 1 second, doubling to 30, and 10 in a row lock the vault for 15 minutes.
  • Exporting a backup, changing the master password and making or removing a recovery key each ask for the master password again, even with the vault open.
  • Keys and the decrypted vault in the Rust side are wiped (zeroize) when dropped. Values shown in the window live in the web view's memory, which Saltcellar cannot wipe.
  • The app makes no network requests and its content security policy blocks any. The system web view underneath is updated by the operating system.

What it cannot protect you from

  • Malware already running as you, which can record the password as you type it or read the screen.
  • A weak or reused master password. Anyone with a copy of the file can guess offline for as long as they like; the lockout lives beside the vault and does not slow them.
  • Someone who finds your recovery key. It opens the vault as fully as the password does.
  • Someone at your computer while the vault is unlocked, until it locks.
  • Old copies: a backup or vault.lokey.bak opens with the password and recovery key it had.
  • SSDs keeping old blocks after a file is rewritten. Full-disk encryption (BitLocker, FileVault, LUKS) covers that, and the stolen-laptop case.

Under the hood

Build from source

Rust (stable) and Node.js 24 or newer, on Windows, macOS or Linux.
Build the app
npm ci
npm run check                 # format, lint, type-check, all tests, build the page
npx tauri build --no-bundle   # target/release/saltcellar.exe
npx tauri build --bundles app,dmg   # macOS; Linux: --bundles appimage,deb

npm run check:ci runs the same checks without changing any file; CI runs that. Releases are built by GitHub Actions from a tagged commit that passed every check, with each third-party action pinned to an exact commit, and carry SHA256SUMS.txt and a signed build attestation. CONTRIBUTING.md has the rest.