[Varnish] #1103: example for authentication in wiki

Varnish varnish-bugs at varnish-cache.org
Tue Mar 6 16:23:47 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:                               |  
-----------------------------------------+----------------------------------

Comment(by thibault.ketterer@…):

 re-written the code
 {{{
 import hashlib

 challenge = "ixslvvxrgkjptxmcgnnsdxsvdmvfympg"
 secret = "foo\n"
 print hashlib.sha256(challenge + "\n" + secret + challenge +
 "\n").hexdigest()
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1103#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list