Re: Questions using GPGME

2017-07-13 Thread Andreas Heinlein
Am 13.07.2017 um 09:27 schrieb Werner Koch: > On Thu, 6 Jul 2017 14:48, aheinl...@gmx.com said: > >> decrypt with cancel'ing the pinentry, one with missing private key and >> one with a truncated input file. All three gave >> >> print str(e): Invocation of gpgme_op_decrypt_verify: GPGME: Decryptio

Re: Questions using GPGME

2017-07-13 Thread Werner Koch
On Thu, 6 Jul 2017 14:48, aheinl...@gmx.com said: > decrypt with cancel'ing the pinentry, one with missing private key and > one with a truncated input file. All three gave > > print str(e): Invocation of gpgme_op_decrypt_verify: GPGME: Decryption > failed This has been fixed yesterday in GPGME.

Re: Questions using GPGME

2017-07-06 Thread Justus Winter
Andreas Heinlein writes: > Am 06.07.2017 um 14:01 schrieb Justus Winter: >>> 2.) Is there a way to safely distinguish "User clicked cancel when asked >>> for the passphrase" from other errors? I think an application should >>> abort silently in this case, but I'm getting another GPGMEError withou

Re: Questions using GPGME

2017-07-06 Thread Andreas Heinlein
Am 06.07.2017 um 14:01 schrieb Justus Winter: >> 2.) Is there a way to safely distinguish "User clicked cancel when asked >> for the passphrase" from other errors? I think an application should >> abort silently in this case, but I'm getting another GPGMEError without >> any clue to the reason. > M

Re: Questions using GPGME

2017-07-06 Thread Justus Winter
Hi :) Andreas Heinlein writes: > I am currently taking first steps using GPGME with the Python interface. > I am facing two questions: > > 1.) I'm looking for a way to get the recipients of encrypted data which > I can not/do not want to decrypt. I.e. a message for which I do not have > the priv

Questions using GPGME

2017-07-06 Thread Andreas Heinlein
Hello, I am currently taking first steps using GPGME with the Python interface. I am facing two questions: 1.) I'm looking for a way to get the recipients of encrypted data which I can not/do not want to decrypt. I.e. a message for which I do not have the private key. Enigmail tells me "This mess