[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: cookie authentication



On Saturday 17 June 2006 13:05, Ge van Geldorp wrote:
> > From: Robert Hogan
> >
> > this seems to be implemented a bit oddly. the controller has
> > to send the raw bytes rather than hexified version to authenticate.
>
> It only has to send the raw bytes when it's using the old, deprecated, V0
> control protocol. The current V1 protocol expects a hexified cookie.
> Note that arma recently fixed a bug in cookie authentication
> (src/or/control.c revision 1.192, dated 2006-05-24). Without that bugfix
> cookie authentication doesn't work at all.
>

and i'm looking at

/* $Id: control.c,v 1.189 2006/04/02 22:19:01 arma Exp $ */

duh! updated to cvs and it works with the hexified cookie. thanks Ge...