Help with python library

Marcel Fest marcelf at
Thu Mar 1 17:33:32 CET 2018

Hey all,

I use ArchLinux and the latest gpg python library from

Is their a function like 
    gpg --list-packets --list-only path/to/file

in the python library?
I need this information at the moment to verify if a file is correctly encrypted.
This will be checked against our ldap and our ansible repository.

Is their a similar function in the python GPGme Wrapper?
If so how can I use that function to get the required information out of an encrypted file?

Thanks for your time

Marcel Fest

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Gnupg-devel mailing list