[Help-gnutls] Re: Using gnutls_srp_base64_decode to decode something encoded with SSL's EVP_Encode*

Simon Josefsson simon at josefsson.org
Wed Feb 13 10:43:54 CET 2008

Robert Hogan <lists at roberthogan.net> writes:

> On Tuesday 12 February 2008 10:35:46 Simon Josefsson wrote:
>> Alas, base64 is not always "just base64".  SRP uses its own base64
>> variant, so the encoding are not compatible.  I've tried to improve the
>> documentation with the patch below, so that others doesn't run into this
>> problem in the future.  Comments welcome.
> Perhaps a patch for the man pages as well?

The man pages are generated from the source code.

>> What were you going to use the base64 functions for?
> For my project TorK ( a controller for Tor). Tor encodes 'router digests' in 
> base64 and uses openSSL's EVP_Encode* to do the encoding. I just needed 
> something equivalent that wasn't openSSL based.

Ok.  GnuTLS isn't a complete OpenSSL replacement, so I think for now we
won't add this feature.

> Thanks for settling this one for me!

Thanks for feedback.


More information about the Gnutls-help mailing list