befree/doc/password_m.org

1.7 KiB

Using passwords

If you have multiple accounts and need to organize and keep all the passwords encrypted, then using a password manager could be an option.

Password managers allow to keep a directory within your system which allows to simplify the access to your accounts and services, while keeping that information secure.

Password managers: pass

pass is a simple and interesting tool to manage passwords. You should install the program and also you will need to install and use gpg to encrypt the directory where pass will keep your passwords.

Additionally, you may be interested in using git to control the versions of the files in the directory.

First, install and set the pass configuration files:

Installing in Parabola-GNU

  pacman -S pass

Installing in Debian-Ubuntu-Trisquel-PureOS

  apt install pass

Initialize password store, using the gpg ID and then create a git repository for the password storage key:

  pass init "CXZ Passwords"\
  pass git init

Verify the place were passwords live:

  ls ~/.password-store/

Then, use pass to manage passwords

  pass insert Email/email1

Then, you can retrieve the password for this:

  pass Email/email1

After using this command you will need to inform the GPG password for the ID you have created to encrypt the pass files.

You could also copy the retrieved password:

  pass -c Email/email1

References