I've lost my key. Now I can't sign anything, and servers don't accept unsigned content. The key is uploaded to a keyserver. Now I have fingerprint, public key and I remember my passphrase.
How can I re-generate same key on my Linux box?
|
I've lost my key. Now I can't sign anything, and servers don't accept unsigned content. The key is uploaded to a keyserver. Now I have fingerprint, public key and I remember my passphrase. How can I re-generate same key on my Linux box? |
|||||||||||||||||
|
|
You cannot generate the private key¹ from the public key and the passphrase. The private key does not depend on the passphrase in any way. The passphrase is only used to encrypt the private key when you store it in a file. You could have multiple copies of the same private key encrypted with different passphrases. And you cannot recover the private key from the public key, public key cryptography relies on this being impossible. The only way to recover your private key is from a backup of the private key. ¹ It's called a private key when there's a corresponding public key, and a secret key for symmetric encryption. |
|||
|
|