Add salted S2K parsing to PGPPacket._parse_string_to_key_specifier
authorW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 18:02:41 +0000 (10:02 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 19:46:30 +0000 (11:46 -0800)
commitbe5b3b454d0a141248a9b684bc4f97a520deb979
treed620817ba6e97015b874747accc3c6a36989527e
parent7ce8f6a9d9206532c2b36ea6cdab4b3cb41f3541
Add salted S2K parsing to PGPPacket._parse_string_to_key_specifier

From RFC 4880 [1]:

   Octet  0:        0x01
   Octet  1:        hash algorithm
   Octets 2-9:      8-octet salt value

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