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

I've created a key pair using GnuPG. I've read that in addition to multiple identities and email addresses, one can also embed a small image (most usually of the user) to help perhaps with memory recall or to verify visually the identity of a person, say at key-signing parties etc.

How do I go about doing this with GnuPG 1.4.10 on Windows 7?

share|improve this question

migrated from Sep 18 '11 at 1:25

This question came from our site for software developers, mathematicians and others interested in cryptography.

up vote 15 down vote accepted


  gpg --edit-key <your key id>

This will start gpg's key editing mode. Then use the command addphoto:

gpg> addphoto

Pick an image to use for your photo ID. The image must be a JPEG file. Remember that the image is stored within your public key. If you use a very large picture, your key will become very large as well! Keeping the image close to 240x288 is a good size to use.

Enter JPEG filename for photo ID:

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.