Passlane

A lightning-fast password generator for the command line

Features

Usage

Generate a new password

Using saved credentials

Later on, when logging in to foobar.com:

or alternatively

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 -s -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:

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:

bash passlane --csv <path_to_csv_file>

Here are links to instructions for doing the CSV export:

TODO