gpg2 - Unusable public key -No assurance key belongs to named user

3

I'm using pass as my main password manager(which uses gpg2), but since a few days i can't create new keys, I always get the error message:

There is no assurance this key belongs to the named user
[stdin]: encryption failed: Unusable public key

I already set the the trust of my key to ultimate als suggested here

And also checked that my key is not expired. Any suggestions how to fix this or should i get a new key?

MonoGenerator

Posted 2018-02-21T14:24:59.420

Reputation: 41

I voted to migrate your question to [su]. I think it might be a better fit there. – Tobi Nary – 2018-02-21T15:22:53.367

This is better asked on the pass mailing list. – mricon – 2018-02-21T16:24:15.683

Answers

2

From https://stackoverflow.com/questions/33361068/gnupg-there-is-no-assurance-this-key-belongs-to-the-named-user:

do gpg --edit-key <KEY_ID> and gpg>trust

If you're sure about the authenticity of your key, select the trust level 5.

Vedansh Bhartia

Posted 2018-02-21T14:24:59.420

Reputation: 29

As i mentioned in my question i already tried this and it didn't resolve my issue. I solved it running pass init again on the directory with my gpg-key – MonoGenerator – 2018-05-25T11:13:35.697

1

Solved the problem by running:pass init <gpg-id> which reencrypted the existing keys. Afterwards i was able to decrypt my keys again normaly

MonoGenerator

Posted 2018-02-21T14:24:59.420

Reputation: 41