couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svilen>
Subject passwords
Date Tue, 23 Apr 2013 11:15:47 GMT

i am trying to set a user with a password that is not just alphanumeric.
e.g. "b:@" (or if uri-encoded, b%3A%40)

but the result of getting the /_users/ doc is always 401-unauthorized.

if i login in Futon, it seems to work. 
when i compute the pasword_sha myself and compare to whats in user/doc,
it matches.

but http via basic authentication won't let me in.
curl -vX GET

(seems the subject is very tricky and rarely paid attention to in
various http libraries i looked recently. Everyone just lumps the
usr+":"+psw and uri-encoding/decoding is left out..)

any idea of what can be the problem? 
what is Futon using so i can check the source?


View raw message