toofishes / python-pgpdump

PGP packet parser library
Other
55 stars 26 forks source link

Cleaner errors #22

Open dkg opened 5 years ago

dkg commented 5 years ago

This series of changes does significantly more error checking, and tries to avoid arbitrary exceptions being thrown when handling malformed data.

It also permits the user to use the system logging module when parsing a stream of packets to log malformed packets rather than raising an exception during the generation.

Part of this cleanup also involves identifying new algorithms and packet types.