
presannar at ami
Dec 3, 2007, 5:27 PM
Post #1 of 3
(1499 views)
Permalink
|
|
Can Libcrypt work with ASCII Armored Keys?
|
|
Hi All, I need to create a light-weight app in the EFI env that just verifies signing of files and decrypts them. I came across Libgcrypt lib and have studied the reference manual. I also looked into the sample applications. I found that this library has api's to do what I required, but once I have the public Key in the s-exp format. There is no document that explains how to convert an ascii armored public-key to it's equivalent s-exp. Although, I can construct a s-exp using the armored data with quotes around it (gcry_sexp_sscan), I get back zero when I check if the s-exp contains the token "public-key" (gcry_sexp_find_token). I understand that the key needs to be converted to a format understood by gcrypt before I can use it. Are there documents that describes how to convert the armored input to a format understood by gcrypt? Any help with this would be appriciated. With Regards, Presanna Raman. _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
|