LibGcrypt verify Help required

Adam Langley agl at imperialviolet.org
Wed Feb 20 05:42:04 CET 2008


On Feb 19, 2008 6:50 PM, Presanna Raman <presannar at ami.com> wrote:
>         I am developing an App that needs to verify the signature of a file
> signed by gpg. I am unable to use gpg in the EFI environment. I have
> converted the public key, signature from the armored format to the
> s-expression by extracting the MPI values and building the sexpression from
> them. The problem is that I am unable to verify the data.

I could be wrong, but I'm pretty sure that gpg signature will have
rather more encoding. Unless gpg is really in some sort of 'really
raw' mode, it should be following the OpenPGP spec[1]. Possibly
opencdk is the library that you want for this.

[1] http://www.faqs.org/rfcs/rfc2440.html

AGL

-- 
Adam Langley agl at imperialviolet.org http://www.imperialviolet.org



More information about the Gcrypt-devel mailing list