[tor-bugs] #8755 [Stem]: Python 3 Compatibility

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 04:20:47 UTC 2013


#8755: Python 3 Compatibility
---------------------+------------------------------------------------------
 Reporter:  aj00200  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by aj00200):

 Thank you for fixing this. Your last commit (
 https://gitweb.torproject.org/stem.git/commit/a1149f5489065cf7445f83137f3747a4866351e1
 ) fixed the main issue. There is still the issue where some digests
 consistently fail to pass the ''_verify_digest()'' check. This error only
 happens with Python 3:

 >   File "/usr/local/lib/python3.2/dist-
 packages/stem/descriptor/server_descriptor.py", line 765, in
 _verify_digest
 >     raise !ValueError("Decrypted digest does not match local digest
 (calculated: %s, local: %s)" % (digest, local_digest))
 > !ValueError: Decrypted digest does not match local digest (calculated:
 6514CFCCF92A61907730E3E6F4EF13B8FE706712, local:
 2DF931970EA4A05A53EF5B1A7371D13D5253DBFC)
 >
 At present, I do not know what is causing this issue. I will attempt to
 look closer, but it might take me a while to work though the crypto code
 involved.

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


More information about the tor-bugs mailing list