Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Using pass tool in Fedora

Installation

sudo dnf install pass
sudo dnf install gnupg2

Setup

Check is any keys already exist:

gpg --list-keys

Output:

gpg: directory '~/.gnupg' created
gpg: ~!/.gnupg/trustdb.gpg: trustdb created

The ~/.gnugpg directory should look like this:

tree .gnugpg

Output:

.
├── common.conf
├── public-keys.d
│   ├── pubring.db
│   └── pubring.db.lock
└── trustdb.gpg

2 directories, 4 files

If public-keys.d directory does not exist, then run:

gpg -K

Generate new GPG key:

gpg --generate-key

Initialize your password store with generated GPG key.

pass init GPG-ID

where GPG-ID is the email address of your generated GPG key.

Output:

Password store initialized for GPG-ID

References