Check for short packets in PGPPacket.from_bytes
authorW. Trevor King <wking@tremily.us>
Thu, 19 Dec 2013 04:44:30 +0000 (20:44 -0800)
committerW. Trevor King <wking@tremily.us>
Thu, 19 Dec 2013 04:44:30 +0000 (20:44 -0800)
commit5de0fb9382bbe3b4898d7d85c2199c52f46eff68
tree6652fa733e91465e5f8dab240638c999dce24758
parentbb35abab7ef9803674202d95db6c933ec6e1b82c
Check for short packets in PGPPacket.from_bytes

When the data is longer than expected, the packet may just be part of
a stream.
gpg-migrate.py