Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 2 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

Your Answer


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.