You are not logged in.

#1 2017-05-24 14:29:31

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Forgot Open PGP passphrase

I'm trying to add a key to my keyring with

gpg --recv-key XXXXXX

and

gpg --lsign XXXXX

. When I do the second command I get a pop up box to type my passphrase in for my key. I don't remember what it is.

I generated a new key, but I'm not sure how to make that the 'default'. I assume that I cannot reset the passpharse on the first one.

I'm not sure what the right solution here is.

thx

Offline

#2 2017-05-24 19:12:38

Hjok
Member
Registered: 2016-10-17
Posts: 2

Re: Forgot Open PGP passphrase

Hi,

You can't reset your passphrase key for obvious security reasons. What you need to do now is to revoke your lost key, it's particularly important if you put it on a public keyserver. When you generated it, you should have generated a revocation certificate as well.

All you have to do is :

gpg --import revocation_certificate.txt

You can then send it to a public keyserver with :

gpg --keyserver serverAdress --send-keys keyID

So everyone will know your old key isn't in use anymore.

If you don't have a revocation certificate, there is nothing you can do (except generating one for your new key, just in case...)

Offline

Board footer

Powered by FluxBB