Problem with gcry_pk_verify

Moritz Schulte mo at g10code.com
Sat Aug 20 23:42:37 CEST 2005


Jean-Philippe Garcia Ballester wrote:

> But I still got a problem with DSA host key verification. The sexp is
> build like this :
> (data
>  (flags raw)
>  (value #9092EA3A02CD3738DD71DAE3FEAD27F3FC22A30F#)
>  )
> The problem is that it fails with Invalid Object (the mpi scanning fails
> because it's negative). If I put 0s, it fails with Invalid DSA
> signature.

I guess you have triggered the "Invalid signature" error.  In this case:
are you SURE that the value you have provided is indeed a correct DSA
signature?  Please send example code to me.

Thanks,
Moritz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20050820/cbbff5a8/signature.pgp


More information about the Gcrypt-devel mailing list