[Varnish] #1103: example for authentication in wiki
Varnish
varnish-bugs at varnish-cache.org
Tue Mar 6 16:21:32 CET 2012
#1103: example for authentication in wiki
-----------------------------------------+----------------------------------
Reporter: thibault.ketterer@… | Type: documentation
Status: new | Priority: low
Milestone: | Component: documentation
Version: 2.1.5 | Severity: normal
Keywords: |
-----------------------------------------+----------------------------------
You may add this example in the wiki
challenge = "ixslvvxrgkjptxmcgnnsdxsvdmvfympg"
secret = "foo\n"
import hashlib
print hashlib.sha256(challenge + "\n" + secret + challenge +
"\n").hexdigest()
https://www.varnish-cache.org/trac/wiki/CLI#Authentication:Thegorydetails
I spent 1 hour searching why my authentication was not working, I had not
seen the "\n" at the end of the secret file.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1103>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list