signature: add Signature class for more Pythonic verification.
authorW. Trevor King <wking@tremily.us>
Thu, 20 Sep 2012 14:12:38 +0000 (10:12 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 20 Sep 2012 14:12:38 +0000 (10:12 -0400)
commit7d4ff835519e6a8fa4273c364b571c2874bd31d5
tree5a13bc2f7c2d87ba0f2db5726db61b0f0d39a849
parent36eccd04fc331ec44df5b6b0e7f51996cac20c7d
signature: add Signature class for more Pythonic verification.

Now verify_bytes() returns a list of `Signature`s instead of XML.
This should be much easier for callers to handle, and it provides a
layer of insulation between the gpgme-tool output and Python code.
pgp_mime/crypt.py
pgp_mime/pgp.py
pgp_mime/signature.py [new file with mode: 0644]