Problem with gcry_pk_verify
Jean-Philippe Garcia Ballester
giga at le-pec.org
Sun Aug 21 18:06:52 CEST 2005
On Sat, Aug 20, 2005 at 11:42:37PM +0200, Moritz Schulte wrote :
> 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.
Oops. When putting 0s, I forgot to increment the data size parameter.
Thanks a lot for your help.
--
Jean-Philippe Garcia Ballester
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/attachments/20050821/4e99a7ef/attachment.pgp
More information about the Gcrypt-devel
mailing list