Shift (sub)key -> public key coercion into _serialize_signature_packet_target
authorW. Trevor King <wking@tremily.us>
Mon, 23 Dec 2013 23:27:08 +0000 (15:27 -0800)
committerW. Trevor King <wking@tremily.us>
Mon, 23 Dec 2013 23:27:08 +0000 (15:27 -0800)
commitc26b4ddeba80740c3511856dbe7cf36c3806a88d
treef381df66be42f7b26a98c86cc852dcd8d186a18a
parent5f7ddea599c31ddd74e3c6cfcb453cce09698e0d
Shift (sub)key -> public key coercion into _serialize_signature_packet_target

While RFC 4880 explicitly specifies that key fingerprints are
calculated only on the public part of the key packet, it was unclear
if signatures are also only calculated over the public part.  It turns
out that they are, so move the coercion logic from
PGPPacket._parse_generic_public_key_packet into
_serialize_signature_packet_target.
gpg-migrate.py