php hex code for cookie authentication to controller?

Nick Mathewson nickm at freehaven.net
Wed Oct 22 00:06:45 UTC 2008


On Tue, Oct 21, 2008 at 04:29:08PM -0700, Wesley Kenzie wrote:
> >>What's the actual length of $auth_value?  If it's not
> >>AUTHENTICATION_COOKIE_LEN (32, I think), that's when I'd expect that
> >>error.
> Thanks, Nick.  The length of $auth_value is 32 though, and the length of
> bin2hex($auth_value) is 64.
> 

D'oh!  I didn't read the code closely enough: Try omitting the quotes.
They're only for sending a literal value.

-- 
Nick



More information about the tor-talk mailing list