[patch] replace base64 with hex in the auth protocol
Kristian Høgsberg
krh at bitplanet.net
Mon Apr 19 04:35:11 EST 2004
On Sat, 2004-04-17 at 05:54, Jon Trowbridge wrote:
> As suggested by the TODO, this patch:
> (1) replaces base64 encoding with hex encoding in the auth protocol
> (2) removes the base64 implementation
Hi Jon,
This doesn't work, test/unbase64.c fails to compile and make check
fails:
* the auth test scripts should be updated to use USERID_HEX
instead of USERID_BASE64
* _dbus_string_base64_decode() would skip leading whitespace, but
_dbus_string_hex_decode() doesn't do this.
I've attached a patch (apply on top of your patch) that fixes this and
also removes the base64 mention from the spec.
Kristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-base64-extra.patch
Type: text/x-patch
Size: 7733 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040418/57dd4bad/no-base64-extra.bin
More information about the dbus
mailing list