A command line password manager.

Pass lets you encrypt text files containing any type of data you wish, most commonly user credentials.

Using pass with an existing database can be tricky. To fix the initialisation error, transfer ~/.gnupg/ and .password-store/ from your old device to the new one.

If you run into the permission warning gpg: WARNING: unsafe permissions on homedir '/home/rostiger/.gnupg' set the directory permissions to 700:

sudo chmod 700 .gnupg/

Set all files inside the directory to 600 using:

sudo chmod 600 .gnupg/*

Now set the permissions for pubring.kbx and private-keys-v1/:

drwx------  private-keys-v1.d/
-rw-rw-r--  pubring.kbx

To make sure the files can be decrypted, set the correct owner to the directory and its content:

sudo chown -R rostiger:rostiger ~/.gnupg
sudo chown -R rostiger:rostiger ~/.password-store

To use the curses interface instead of a pop up when prompting for the key select pinentry-curses using

sudo update-alternatives --config pinentry

incoming(1) | software