jaymzh / pius

PGP Individual User Signer
Other
97 stars 25 forks source link

`KEY_CONSIDERED` response of GnuPG 2.1 not handled #39

Closed civodul closed 8 years ago

civodul commented 8 years ago

Hello,

GnuPG 2.1.13 provides new KEY_CONSIDERED messages on its status fd, which provide information about the key lookup process that's going on (see doc/DETAILS in the GnuPG source.)

As of Pius 2.2.2, these messages are not handled, leading:

DEBUG: Sending sign command
DEBUG: Waiting for line [GNUPG:] GOT_IT
DEBUG: got line [GNUPG:] GOT_IT
DEBUG: Waiting for response
DEBUG: Got [GNUPG:] KEY_CONSIDERED XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 0

  ERROR: GnuPG reported an unknown error

The attached patch appears to solve the problem.

Thanks, Ludo'. key-considered-patch.txt