[tor-relays] Hashed password behaviour

Geoff Down geoffdown at fastmail.net
Sun Oct 15 11:56:28 UTC 2017



On Sun, Oct 15, 2017, at 12:49 PM, teor wrote:
> 
> > On 15 Oct 2017, at 07:26, Geoff Down <geoffdown at fastmail.net> wrote:
> > 
> >> On Sun, Oct 15, 2017, at 01:51 AM, teor wrote:
> >> 
> >>> On 14 Oct 2017, at 20:33, Geoff Down <geoffdown at fastmail.net> wrote:
> >>> 
> >>> Hello all,
> >>> what sort of crazy bug would make Tor give different hashes for the same
> >>> password?
> >>> 
> >>> $ tor --hash-password hello
> >>> 16:735E6FA5355D4146606AFE25B61B411DF419878C99705164D038FC99BC
> >>> $ tor --hash-password hello
> >>> 16:8201E7D35BB8CACB60BF8947B49A3480BA1A17E77EDA8BE45790746884
> >>> $ tor --version
> >>> Tor version 0.3.1.7 (git-6babd3d9ba9318b3).
> >> 
> >> This is normal behaviour for salted hashes.
> >> 
> > But which one then goes in the torrc?
> 
> Either.
> If one doesn't work, that's a bug (or there's an extra space in the
> password).
> 
Right, got it - the salt is stored in that string too. My password
stopped working, so I was trying to check the hash and of course got a
different result. That leaves the original puzzle of why the password
stopped working...Thanks!


More information about the tor-relays mailing list