problem with signature verify

d_well@isuisse.com d_well@isuisse.com
Fri Oct 11 14:17:03 2002


I have a problem when i would verify a signature.=20
I do a signature with "gpgme_op_sign (ctx, in, out,
GPGME_SIG_MODE_CLEAR );" (in is teh message and out
the signature)and after i take exactly the text of
the result of signature. Exemple of signature :

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAj2mvS4ACgkQLXJ8x2hpdzTY7wCfTifkRJHvoUfUy
QbillayFXkG
3BMAn3sfBJweibbwyCLRW2kYbqkSMx8/
=3Dnlgf
-----END PGP SIGNATURE-----

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:
Bad" (GPGME_SIG_STAT_BAD).
I would like know how to have the result good.