Search code examples
pythonsecuritycross-platformgnupg

PGP signatures from Python?


What is the easiest way to create and verify PGP/GPG signatures from within a Python application?

I can call pgp or gpg using subprocess and parse the output, but I was looking for a way that didn't require an external program to be installed (my application is cross-platform mac/windows/unix).


Solution

  • I think GPGME and the PyMe Python wrapper should do what you need.