OpenPGP headers

Atom 'Smasher' atom at
Sun Aug 8 08:11:45 CEST 2004

Hash: SHA256

i'll be attempting to formally submit some "OpenPGP-*" mail & news header 
definitions to IETF. i'd like to first submit this *rough* draft here. 
please post any comments.

these should be considered "informational", and apply to both mail and 
netnews messages. these headers should be used to provide information 
about the senders OpenPGP key. zero or more of these headers MAY be used 
in any message. each one of these headers SHOULD NOT appear more than once 
in a message header.

OpenPGP-KeyID: 0xD9F57808
OpenPGP-KeyID: 0xD9F57808 (4096-RSA)
OpenPGP-KeyID: 0xB88D52E4D9F57808
OpenPGP-KeyID: 0xB88D52E4D9F57808 (4096-RSA)

 	long (16 character) or short (8 character) key id which MUST be
 	prefixed with "0x". key id MAY be followed by information about
 	key size and key type: this optional information, if included,
 	MUST be contained in parenthesis and SHOULD be in the format of
 	key size, dash, key type.

 	all four examples above are valid and refer to the same key.

OpenPGP-Fingerprint: 762A 3B98 A3C3 96C9 C6B7  582A B88D 52E4 D9F5 7808
OpenPGP-Fingerprint: 0x762A3B98A3C396C9C6B7582AB88D52E4D9F57808

 	key fingerprint SHOULD be in common fingerprint format (with
 	spaces) but MAY be in "0x" notation, with no blank spaces within
 	the fingerprint.

 	both examples above are valid and refer to the same key.

 	HTTP URL where the key can be found.

there are quite a few PGP & GnuPG users who add these types of headers, 
but they lack standardization, making them useless to automatically parse.

since both applications (PGP and GnuPG) rely on the OpenPGP protocol (RFC 
2440), it seems best to use headers that specify "OpenPGP" rather than 
"PGP", or "GPG", which seem like underhanded attempts to advocate specific 
applications, rather than the open standard they both share.


  PGP key -
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808

 	"If the world were merely seductive, that would be easy.
 	 If it were merely challenging, that would be no problem.
 	 But I arise in the morning torn between a desire to
 	 improve the world, and a desire to enjoy the world. This
 	 makes it hard to plan the day."
 		-- E.B. White
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?


More information about the Gnupg-devel mailing list