Passlane
A lightning-fast password manager for the command line

Features
- Generate passwords
- Place the generated password into the clipboard
- Save previously generated password from the clipboard
- Sync the generated password to OS specific keychains, including Mac's iCloud Keychain
- Import passwords from CSV files
Installation
- Download the latest release
- Unpack the archive
- Place the unarchived binary
passlaneto your $PATH - Enjoy!
Usage
()
Generate a new password
- Sign up for a new service in the web browser
- Run
passlane--> gnerates and saves a new password to the clipboard - Use the generated password from the clipboard
- After successful signup: Open terminal and run
passlane -sto save the password
Using saved credentials
Later on, when logging in to foobar.com:
- Run
passlane -g foobard.com--> copies foobar.com's password to clipboard. - Use the password from clipboard to login
| | | |
+==============================================================================================+
| | | |
||
| | | |
||
| | | |
||
| | | |
||
or alternatively
- Let MacOS propose the saved password. It knows it because Passlane also syncs to the keychain.
Syncing with the system Keychain
Passlane uses the keyring crate to sync credentials to the operating system's keychain. Syncing should work on Linux, iOS, macOS, and Windows.
Use option -s together with -k to save the last generated password to the Passlane storage file and to the keychain:
passlane -s -k
To sync all Passlane stored options to the keychain use the -k option alone:
passlane -k
Migrating from 1Password, LastPass, Dashlane etc.
You can import credentials from a CSV file. With this approach, you can easily migrate from less elegant and often expensive commercial services.
First, make sure that the CSV file has a header line (1st line) with the following column titles:
- username
- password
- service
The service field is the URL or name of the service. When importing from Dashlane, the only necessary preparation is to rename url to service.
To export the credentials to a CSV file and import the file into Passlane:
Here are links to instructions for doing the CSV export:
TODO
-
[] online sync service?
-
[] web UI for the online service
-
delete passwords
-
show grep results in a table, copy password to clipboard by row index
-
if "Failed: Unable to retrieve value from clipboard" --> prompt for the password to be saved
-
import from CSV
-
separate CLI option to sync to keychain
-
possibility to show passwords when multiple search matches