Problems using gnupg
bernhard at intevation.de
Wed Sep 10 09:14:32 CEST 2014
On Tuesday 09 September 2014 at 12:48:27, Eva Suarez wrote:
> I'm trying to develop a script in python that decrypt a file with the
> extension .zip.pgp, and I found that I have to use gnupg.
which gpgme python wrapper are you using? pyme or pygpgme?
You probably should use one of them, see http://wiki.gnupg.org/APIs
> But I'm having trouble, because I don't understand why the log say de
> process was ok, but I can find de decrypted file. The log is the following:
Can you decrypt on the command line?
Note that there must be a way your private certificate is unlocked,
the standard procedure may be to use an empty passphrase.
> [GNUPG:] NO_SECKEY XXXXXXXXXXXXXX
> gpg: encrypted with 2048-bit RSA key, ID 4XXXXX, created 2014-05-12
> user <tuser at xxx.com>"
> [GNUPG:] BEGIN_DECRYPTION
> [GNUPG:] DECRYPTION_INFO 2 9
> [GNUPG:] PLAINTEXT XXXXXX file.zip
> [GNUPG:] PLAINTEXT_LENGTH 40384
> [GNUPG:] DECRYPTION_OKAY
> [GNUPG:] GOODMDC
> [GNUPG:] END_DECRYPTION
www.intevation.de/~bernhard (CEO) www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, Germany; Amtsgericht Osnabrück, HRB 18998
Owned and run by Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users