Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

From launchpad I have an email containing OpenPGP encrypted key. I received that email in gmail. But gmail wont decrypt it. Then I setup Thunderbird for gmail account and installed Enigmail for decrypting pgp key. All works fine, but when trying to open that specific message it pops up with a message

you need a passphrase to unlock the secret key for user

and give a password field to enter. But my root password or mail password anything won't work there and I am not clear about this passphrase.
However, what can I do now?

share|improve this question
    
Do you remember a passphrase being set on the private key at the time you generated it? Run gpg --list-secret-keys in the terminal (as regular user) to list your private keys. Try to remember the passphrase you put on it. –  gertvdijk May 28 '13 at 13:27
add comment

1 Answer

up vote 1 down vote accepted

If the E-Mail was send to you it was encrypted with your public key and can only be unlocked using your private key. You have to enter the passphrase you choose when creating the key pair.

If it is not encrypted with your key, the sender got it wrong or it was not meant for you in the first place. You'll have no way to decrypt it without the matching private key and it's passphrase.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.