gpgme_op_verify regression with gnupg 2.2.6?

Werner Koch wk at gnupg.org
Thu Apr 12 10:29:30 CEST 2018


On Thu, 12 Apr 2018 10:17, thomas.jarosch at intra2net.com said:

> -> to me it seems gnupg 2.2.6 exits with failure
> once it encounters an unknown public key.
>
> Is this behavior to be expected or considered a regression?

Good question.  I implemented the

> "gpg: Emit FAILURE status lines in almost all cases.  [#3872]"

to help Enigmail but they are also parsed by gpgme in a way that make
gpgme fail.  So yes, this is clearly a regression.  The question is
whetrhe to fix it: 

 a) In GPGME
 b) In GnuPG
    - either send FAILURE status lines only in severe situations
      (e.g. bad option argument)
    - or figure out why the NO_PUBKEY also used log_error which causes
      an exit code != 0 and thus the FAILURE status line.

I need to think about - I considere this a severe problem.
 

Salam-Shalom,

   Werner

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180412/eed74136/attachment.sig>


More information about the Gnupg-users mailing list