[tor-bugs] #10402 [Tor]: Force disable use of RDRAND in OpenSSL when HardwareAccel is enabled

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 14 16:56:44 UTC 2013


#10402: Force disable use of RDRAND in OpenSSL when HardwareAccel is enabled
------------------------+-----------------
     Reporter:  anon    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-----------------

Comment (by rl1987):

 I have applied your patch (tor-latest-rdrand-disable.patch) to Tor on Mac
 OS X Mavericks system with Intel Core i5 CPU that, according to `sysctl
 hw.optional.rdrand` has support for RDRAND instruction. Tor source code
 was cloned from Git master and was compiled with OpenSSL 1.0.1e. When
 trying to run the patched Tor, it crashed with the following error
 message:

 Dec 14 18:30:52.000 [warn] OpenSSL is using RDRAND by default. Attempting
 to force disable.

 {{{
 ============================================================ T= 1387038652
 Tor 0.2.5.1-alpha-dev (git-e6590efaa77c8cf1) died: Caught signal 11
 0   tor                                 0x0000000109b7f2ce crash_handler +
 46
 1   libsystem_platform.dylib            0x00007fff9897d5aa _sigtramp + 26
 2   libcrypto.1.0.0.dylib               0x0000000109d928ae
 ENGINE_set_default_RAND + 7
 3   tor                                 0x0000000109b95594
 crypto_global_init + 932
 4   tor                                 0x0000000109b2b655 tor_init + 933
 5   tor                                 0x0000000109b2bab7 tor_main + 87
 6   tor                                 0x0000000109aa3b99 main + 25
 7   libdyld.dylib                       0x00007fff989c55fd start + 1
 8   ???                                 0x0000000000000001 0x0 + 1
 Abort trap: 6
 }}}

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


More information about the tor-bugs mailing list