This is based on the C version published at: http://www.mew.org/~kazu/proj/pgpdump/
This version is a fork of the version by Dan McGee.
The intent here is not on completeness, as we don't currently decode every packet type, but on being able to do what people actually have to 95% of the time. Currently supported things include:
- Signature packets
- Public key packets
- Secret key packets
- Trust, user ID, and user attribute packets
- ASCII-armor decoding and CRC check
- Compressed packet decompression automatically
- Decryption of encrypted secret key material
- Parse ECC keys (Brainpool and NIST-P)
This package is designed for Python 3 only.
- Add support for curve25119 (see
TODO
comments in pgpdump/packet.py)