Add key-binding targets to PGPPacket._parse_signature_packet
authorW. Trevor King <wking@tremily.us>
Mon, 6 Jan 2014 06:03:57 +0000 (22:03 -0800)
committerW. Trevor King <wking@tremily.us>
Mon, 6 Jan 2014 06:03:57 +0000 (22:03 -0800)
commit1664f3b4ed402b51187191215233d8d5900f9a85
tree637f5f1715f1fc9a0f98c627f42b29827f25984d
parent11a3e7e2d37d3574b1785164252f77660c4d5316
Add key-binding targets to PGPPacket._parse_signature_packet

Also adjust the 'user id and public-key packet' targets to always grab
the first packet in the list (public or private) instead of always
looking in the public packets.

This commit assumes that we're loading public packets first, and if a
key has any secret packets, then the current packet is a new secret
packet.
gpg-migrate.py