Add iterated and salted S2K parsing to _parse_string_to_key_specifier
authorW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 18:09:23 +0000 (10:09 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 19:46:30 +0000 (11:46 -0800)
commitfdc688a4e3b58bad40a49ae03d116d681bc04b75
treedbd3842efeff3d6a0422702ef205f5ce310994be
parentbe5b3b454d0a141248a9b684bc4f97a520deb979
Add iterated and salted S2K parsing to _parse_string_to_key_specifier

From RFC 4880 [1]:

   Octet  0:        0x03
   Octet  1:        hash algorithm
   Octets 2-9:      8-octet salt value
   Octet  10:       count, a one-octet, coded value

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