-   Linux - Security (
-   -   recovering my GPG key? (

microsoft/linux 01-06-2006 09:17 PM

recovering my GPG key?
I had my GPG password stored in a text file on my PDA, until I memorized it. Somehow, my text file got deleted, and I need to be able to get my password back. Is there a way? I don't want to do another key, becuase I've just gotten this one configured. Please?

rolsch 01-07-2006 08:39 AM

Sorry to say that, but there is no way to "recover" your password. This is the whole idea behind gpg, _not_ to be able to generate the password (passphrase) from your encrypted data or public/private key.

There is a way to generate a new passphrase, but for that you have to supply your old passphrase.

I hope you generated a revocation certificate to invalidate your (now useless) keypair. This is necessary to make sure your old public key will not be used in the future by accident.

It is always a good idea to make a backup copy of your passphrase. One advise is to print out your passphrase on paper and store it in a safe place where only you have access to.

microsoft/linux 01-07-2006 05:31 PM

ok...bummer. I didn't generate a revocation certificate, I didn't know I should have. So basically I have to generate a key?

gilead 01-07-2006 05:38 PM

The docs at the GPG mini HOWTO are pretty good - and yes it's correct that you can't retrieve the passphrase.

microsoft/linux 01-07-2006 05:48 PM

and there's porbably no way to make a revocation certificate since I don't have the passphrase anymore? Alright...

All times are GMT -5. The time now is 01:36 PM.