On Sep 10, 9:02 pm, Greg Reinbach <
g...@ironlabs.com> wrote:
> I have the public and private key generated on another system as
> separate text files and am wanting to import the private key so that I
> can decrypt a file that was encrypted with the public key. I'm writing
> code that needs to move through various environments (dev, qa, etc).
>
The test harness (test_gnupg.py, included in the .tar.gz) includes
tests for the import functionality, so you can see what the format is.
Also, if you enable logging, you will see the normally hidden
interactions with gpg (test_gnupg.py does this, and saves the log in
test_gnupg.log).
Regards,
Vinay Sajip