Add user id parsing to PGPPacket
authorW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 19:28:42 +0000 (11:28 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 23:18:13 +0000 (15:18 -0800)
commit62918ab781f90f4e8322083b1de60422fe71f1c2
tree5b8dffa45c2f1eb95633706de0c6b1cad16b10b4
parent478adf9df1e8149bc190888e4a55668b03bb8414
Add user id parsing to PGPPacket

From RFC 4880 [1]:

  A User ID packet consists of UTF-8 text that is intended to
  represent the name and email address of the key holder.  By
  convention, it includes an RFC 2822 [RFC2822] mail name-addr, but
  there are no restrictions on its content.  The packet length in the
  header specifies the length of the User ID.

[1]: http://tools.ietf.org/search/rfc4880#section-5.11
gpg-migrate.py