Repository navigation
Releases
Releases · Northern-Peaks-Development/passlane
v4.0.0
- Breaking: Add multi-vault support: manage any number of named vaults (
vault add,vault list,vault use,vault remove,vault rename,vault info), switch with the global--vault <NAME>flag orPASSLANE_VAULTenv var, and track the active vault. All entry types (credentials, payment cards, notes, TOTP) can now live in any vault. The pre-multi-vault config is migrated automatically on first run (main vault →default, TOTP vault →totp);unlock -o/passwd -oremain as legacy aliases for--vault totp - Add hardware key (YubiKey) challenge-response as an additional unlock factor for the main vault
- Align the stored entry format with the KeePass entry model: credentials and payment cards are stored in custom fields instead of notes, improving compatibility with other KeePass clients
- Upgrade keepass-ng from 0.9 to 0.11. Existing vaults are upgraded in memory from KDBX 4.0 to KDBX 4.1 on open, so the first save after upgrading works (keepass-ng 0.11 only writes KDBX 4.1; the format is a superset of 4.0 that all current KeePass clients read). Verified round-trip with KeePassXC, including TOTP entries
- Fix: payment cards saved without a billing address no longer fail to load ("InvalidFormat" panic); card fields in the notes are now matched by name instead of line position, so notes reordered in another KeePass client still load, and an unparseable expiry skips the entry instead of panicking
v3.2.0
Security release: fixes all findings from a full-codebase security audit (see docs/security-audit-2026-07-19.md).
- Save the vault atomically (temp file + rename) so a crash mid-save can no longer corrupt the vault file
- Fail with a clear error when the vault file is missing (e.g. unmounted sync folder) instead of silently opening an empty vault
- Stop logging TOTP secrets in debug output
- Breaking:
list -ono longer prints stored TOTP secrets unless--verboseis passed; uselist -o --codefor codes - Create sensitive files (CSV exports, completion cache, REPL history, vault files) with owner-only permissions, and warn that exports are plaintext
- Fix password generator: restore missing
w/Win alphabets, fix an off-by-one that excluded the last character of each character set, and guarantee every generated password contains all four character classes - Fix:
add --clipboardnow actually rejects clipboard content that fails password validation - Use the timed 20-second clipboard clear in
addand payment-cardshow - Fix
otpauth://URL construction: correct the misspelledalgorithmparameter (SHA256/SHA512 authorizers no longer silently fall back to SHA1) and percent-encode label, secret, and issuer - Zeroize master passwords in memory during password changes; replace the unmaintained clipboard dependency with
arboard; remove unusedmagic-crypt; runcargo auditin CI
v3.1.0
- Add scriptable, non-interactive TOTP code retrieval:
passlane list -o --codeprints the current codes (withvalid_for_secondsin--json) andpasslane show -o --onceprints a single matching code to stdout for use in scripts - Add a Claude agent skill (
.claude/skills/passlane) that teaches an AI agent how to use passlane in automations, such as programmatically logging into websites and APIs
v3.0.2
- Accept Firefox-exported CSV in
passlane csvimport - Make
showoutput narrower. Add--plainoption for plain non-table output. - Fix: Accept lenient TOTP secrets when reading from Keepass files
- Fix:
shownow finds entries stored anywhere in the Keepass file, including at the root and in groups created by other Keepass clients. Search also matches against the entry title, not just the URL. - Added
passwdcommand to change the master password of the vault file.
v3.0.1
- Fix completions from the cached completions file (dynamic completion of credentials)
v3.0.0
- Add interactive REPL mode
- Add
listcommand for JSON output and scripting - Add optional note field to credentials
- Add shell completion support for bash/zsh/fish, with dynamic completions for commands and saved service/username completions
- Show last 4 digits of card number in non-verbose payment cards table
- Clipboard auto-clear after 10 seconds and
--outflag for show/gen commands - Fix to ask master password only once when unlocking vault
- Fix zsh completion clearing input when no exact match
- Fix table layout
v2.5.1
- Fix to not clear the password prompt when editing a credential and skipping the password change
v2.5.0
- Added the init command to easily start using this tool
- Made the UI prompts more user friendly and look better
v2.4.3
- Added the edit command to edit entries in the vault
- Fixed a panic that occurred when generating passwords with running passlane without any options
v2.4.1
- Fix to validate all input from the command line to be stored (to remove all characters not allowed in Keepass XML)
- Show last modified date for each entry in the results tables
- Fix to store OTPs as protected values in the Keepass file