Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Could you find the sender's Public PGP (GPG) key from an encoded message?

share|improve this question
Did you mean "Encoded" or "Encrypted"? – grawity Apr 16 '11 at 14:32

Encrypted messages only contain the recipients' key IDs (and even that can be disabled).

You can only find the sender's key ID if the message was also signed – but the signature is encrypted too, so you're out of luck.

Either way, you would only find the key ID, not the key itself.

share|improve this answer

Correct, what @grawity said.

Additionally, some email clients do send the senders public key as another attachment automatically.

And/or you can search for the sender's public key on a keyserver using command line:

gpg --search-keys

or alternatively on the keyserver's web interface, like Sender must have uploaded the key to the keyserver, of course.

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.