Re: Digital Signature Verification

2022-04-08 Thread Werner Koch via Gnupg-users
On Fri, 8 Apr 2022 14:07, Vishal Rana said: > But my received signed image is some unreadable "--detach-sign" file . > How I am able to make a received signed image to * gcry_sexp_t *please > suggest*.* See gnupg/g10/parse-packet.c and gnupg/g10/pkglue.c and please do yourself a favor and

Re: Digital Signature Verification

2022-04-08 Thread Vishal Rana via Gnupg-users
Hi Team, Verify API in libgcrypt is expecting all arguments in * gcry_sexp_t *data type. gcry_error_t *gcry_pk_verify (**gcry_sexp_t* sig*, **gcry_sexp_t *data*, **gcry_sexp_t *pkey*) .* But my received signed image is some unreadable "--detach-sign" file . How I am able to make a received

Re: Digital Signature Verification

2022-04-08 Thread Vishal Rana via Gnupg-users
Hi Team, Thank you Shalom, above suggestion is working. But Digital signature verify is still not working. > I am signing image using *gnupg* from server side using "--detach-sign" and getting *"image.sig*" file. > Which I am trying to verify on another machine using libgcrypt. On the verificatio