Hi Eva,

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 <[email protected]>"
> [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

Best,
Bernhard


-- 
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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to