GpgmePassphraseCb: no way to make difference between cancel and invalid password

Miguel Coca e970095 at zipi.fi.upm.es
Wed Aug 21 20:34:01 CEST 2002


On Wed, Aug 21, 2002 at 00:06:25 +0200, Stéphane Corthésy wrote:
> Hi,
> 
> Using gpgme 0.3.8:
> When using a context to sign or decrypt data, according to the operation 
> result (the GpgmeError value) there is no way to make the difference 
> between the two following situations:

You can abort the operation from inside the callback with gpgme_cancel().
Then the operation will return GPGME_Canceled.

Bye,
-- 
Miguel Coca                                         e970095 at zipi.fi.upm.es
PGP Key 0x27FC3CA8                         http://zipi.fi.upm.es/~e970095/




More information about the Gnupg-devel mailing list