How do I add a PhotoID to my key and how do PhotoIDs work?

This forum contains answers to frequently asked questions. You should always check here if you are having a problem before posting to any of the other forums.

How do I add a PhotoID to my key and how do PhotoIDs work?

Postby barry » 30th Nov 2005 07:37

To add a PhotoID to you key:

At a command prompt type:
Code: Select all
gpg --edit-key <keyID> addphoto


GnuPG suggests a resolution of 240x288. PGP suggests 120x144. Both recommend JPEGs <= 7KB in size.

How do PhotoID's work?

A jpeg image is treated as an additional UserID, eg
Code: Select all
pub  1024D/608D2A10  created: 2003-03-06  expires: never       usage: SC
                       trust: ultimate      validity: ultimate
sub  2048g/EF4010D2  created: 2003-03-06  expires: never       usage: E
  [ultimate] (1). John P. Clizbe <JPClizbe@Earthling.nyet>
  [ultimate] (2)  [jpeg image of size 4563]

It is included in an ASCII armored key if it is present at the time of export.

It will be downloaded from a keyserver if it was included in a key that was sent to a keyserver, either by the key owner or a second party.

It will be included in your key, if present, when you send your key to a recipient in an email whether inline or attaching an exported key file (.asc).
It will likewise be included if sent to a keyserver.

Signing an email (or any other file) with OpenPGP does not automatically include your key with the signature (S/MIME does however).

There is no mechanism in OpenPGP for selecting which key UIDs are included in a key export or send operation. If present in the key, they are included. Once on a keyserver, they are there *forever*, even if revoked.

If you add an image, consider that it will eventually be available worldwide from any keyserver.

This item was created from a post by John Clizbe to the Enigmail Mailing List.
User avatar
barry
Enigmail Team
Enigmail Team
 
Posts: 91
Joined: 12th Nov 2005 19:25
Location: Croydon, Surrey, UK

Return to Frequently Asked Questions (FAQ)