Skip to content


Subversion checkout URL

You can clone with
Download ZIP
PGP packet parser library
Latest commit 943af43 @toofishes Add recent testdata additions to MANIFEST
Signed-off-by: Dan McGee <>
Failed to load latest commit information.
pgpdump Version updates, copyright, etc.
testdata Support partial body length headers
.mailmap Add a .mailmap file
README Add and

python-pgpdump: a Python library for parsing PGP packets

This is based on the C version published at:

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

A single codebase with dependencies on only the standard python library is compatible across Python 2.6, 2.7, and 3.2+, as well as with PyPy 1.8+.

Something went wrong with that request. Please try again.