[tor-bugs] #17697 [Tor]: Add crypto_rand unit tests to check for predictable values

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 26 15:07:05 UTC 2015


#17697: Add crypto_rand unit tests to check for predictable values
-------------------------+------------------------------------
 Reporter:  teor         |          Owner:
     Type:  enhancement  |         Status:  closed
 Priority:  Medium       |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:  implemented
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------
Changes (by nickm):

 * status:  new => closed
 * resolution:   => implemented


Comment:

 Sure; took this one.

 Instead of adding more tests of this kind though, we should probably add a
 way to pipe output from crypto_rand() to stdout, so that we can test it
 with some statistics package.  (I've used dieharder in the past; Yawning
 told me about a cleaner one recently.)

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


More information about the tor-bugs mailing list