[tor-bugs] #6708 [Onionoo]: Pyonionoo returns code 500 for a few parameters

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Sep 23 10:05:58 UTC 2012


#6708: Pyonionoo returns code 500 for a few parameters
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  gsathya     
     Type:  defect   |         Status:  needs_review
 Priority:  normal   |      Milestone:              
Component:  Onionoo  |        Version:              
 Keywords:           |         Parent:              
   Points:           |   Actualpoints:              
---------------------+------------------------------------------------------
Changes (by gsathya):

  * status:  needs_revision => needs_review


Comment:

 Please review my
 [https://github.com/gsathya/pyonionoo/compare/bug_6708_revised
 bug_6708_revised] branch. Thanks!

 Haven't added support for hashed fingerprint. Is this
 {{{
 >>> from binascii import b2a_hex, a2b_hex, a2b_base64
 >>> b2a_hex(a2b_base64('f2044413dac2e02e3d6bcf4735a19bca1de97281='))
 '7f6d38e38d7775a7367b4d9eddde9b71fe3bdf96b5f5b71ad5d7bdef6f35'
 }}}
 or
 {{{
 >>> import hashlib
 >>> a=hashlib.sha1('f2044413dac2e02e3d6bcf4735a19bca1de97281')
 >>> a.hexdigest()
 'fc3167a5a738a5949e429b64c5ea3bc687a7f733'
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6708#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list