dearmor in GPGME

Cameron Dale camrdale at gmail.com
Mon Apr 28 17:48:22 CEST 2008


On 4/28/08, Werner Koch <wk at gnupg.org> wrote:
>  However the format is pretty simple: It is the usual base-64 encoding
>  enclosed in header lines.  Look for the 5-dash header line, then wait
>  for an empty line and start your base-64 decoder with the next line.
>  A plain base-64 decoder should stop righjt before the OpenPGP CRC
>  checksum, which you can ignore.

Thanks, I was aware of that, but hoping for a built-in method that
would do it better, including checking the checksum for me. Oh well, a
dirty hack it is then. ;)

Thanks,
Cameron



More information about the Gnupg-users mailing list