I'm trying to use interesting password management tool named Pass.
I did the following:
- Installed gpg tool
$ sudo dnf install gpg
- Generated a key using
$ gpg --gen-key
- Typed
$ pass init "foobar id of my gpg key"
as stated here - Got
mkdir: created directory ‘/home/chichivica/.password-store/’ Password store initialized for [email protected]
- Tried to add a simple password
$ pass insert foo Enter password for foo: Retype password for foo:
- And there is the problem
gpg: A45A123C: There is no assurance this key belongs to the named user gpg: [stdin]: encryption failed: Unusable public key
Could anyone give me some advice?
gpg -K
printing?/home/chichivica/.gnupg/secring.gpg ----------------------------------- sec 2048R/96F0E0C0 2015-10-26 uid Ivan Talalaev (chichivica) <[email protected]> ssb 2048R/76A1D91D 2015-10-26
gpg --list-keys --keyid-format long
does