problem with signature verify

Timo Schulz
Fri Oct 11 15:30:02 2002

On Fri Oct 11 2002; 12:18, wrote:

[IMHO this is a question for gnupg-devel or gpa-dev...]

> And whith this signature i do a verification with
> "gpgme_op_verify (ctx, sig, text, &status );" (sig is
> the signature, and text is the message). And
> everytime i have the result "Verification Status:

If you verify a cleartext signature, you need to set the text parameter
to zero: gpgme_op_verify (ctx, sig, NULL, &status );
The cleartext signature itself contains the sig so there is no need
to separate it before you can check the signature (with GPGME).