1. safely(1)
  2. safely(1)

NAME

safely - pretty command-line password manager

SYNOPSIS

safely [OPTIONS] COMMAND [ACCOUNT]

DESCRIPTION

safely is a command-line tool to manage passwords. It stores all your login information (usernames and passwords) in a simple JSON-formatted file, encrypted and signed using your OpenPGP key: this makes it pretty secure and allows manual decryption of the database when needed.

COMMANDS

-c, --create

       Create a new password database.

-a, --add

       Add a new account to the database.

-p, --pass

       Print the password of the given account.

-u, --user

       Print the user name of the given account.

-2, --2fa

       Print 2-factor auth token for the given account.

-e, --edit

       Modify the given account.

-r, --remove

       Remove the given account.

-s, --search

       Search the database for the given query.

-C, --check

       Estimate the given password's strength.

-d, --dump

       Dump the database in JSON format.

-h, --help

       Show the program's help message and exit.

OPTIONS

-D, --db

       Use this database file [default: ~/.config/safely/passwords.db].

-K, --keys

       Use these space-separated GPG keys [default: ].

-F, --fuzzy

       Enable non-exact (fuzzy) matches.

-N, --print-newline

       Force printing a trailing newline even if the output doesn't go to a terminal.

This is useful for piping safely output to programs that expect a trailing newline.

-Q, --quiet

       Quiet output.

-B, --no-backup

       Do not create a backup of the database.

ENVIRONMENT

GPG_AGENT_INFO

       Used to locate the gpg-agent.

FILES

~/.config/safely/passwords.db

       The default password database file. The option --db can be used to override it.

~/.config/safely/passwords.db~

       The default password database backup file. If the --db option is set, this will change accordingly. If the --no-backup option is used, this file is not created/modified.

~/.config/safely/passwords.db.lock

       The default password database lock file. If the --db option is set, this will change accordingly.

AUTHOR

Alessandro Ghedini alessandro@ghedini.me

Copyright (C) 2014 Alessandro Ghedini alessandro@ghedini.me

This program is released under the 2 clause BSD license.

  1. September 2018
  2. safely(1)