[tahoe-lafs-trac-stream] [tahoe-lafs] #1924: NetBSD < 6.0 /dev/random appears to break RSA keygen in test suites

tahoe-lafs trac at tahoe-lafs.org
Wed Jul 17 17:05:34 UTC 2013


#1924: NetBSD < 6.0 /dev/random appears to break RSA keygen in test suites
-------------------------------+------------------------------------
     Reporter:  midnightmagic  |      Owner:
         Type:  defect         |     Status:  new
     Priority:  major          |  Milestone:  undecided
    Component:  code           |    Version:  1.9.2
   Resolution:                 |   Keywords:  netbsd random cryptopp
Launchpad Bug:                 |
-------------------------------+------------------------------------

Comment (by midnightmagic):

 Hi zooko,

 Yes, it is very reproducible, and it is exactly as reproducible as the
 error message from cryptest.exe test program from crypto++. :-( It's not a
 bug in the kernel though, unless you consider blocking on /dev/random to
 be a bug. I'm not sure I do.

 Further steps to reproduce are:

 . TURN OFF all entropy sources via rndctl
 . ACTIVELY DRAIN /dev/random by cat /dev/random > /dev/null
 . WATCH to ensure that there are 0 bytes of entropy in the pool via rndctl
 . (Optional) Build a bunch of other stuff that uses /dev/random during
 their test suites

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1924#comment:24>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list