[tor-bugs] #24660 [Core Tor/Tor]: Wrap our PRNG interface(s) in Rust with appropriate traits

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 12 00:13:44 UTC 2018


#24660: Wrap our PRNG interface(s) in Rust with appropriate traits
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:  isis
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, tor-crypto, rng, roadmap, 034  |  Actual Points:
  -roadmap-master, 034-triage-20180328,          |
  034-included-20180328                          |
Parent ID:                                       |         Points:  2
 Reviewer:                                       |        Sponsor:
                                                 |  SponsorQ
-------------------------------------------------+-------------------------
Changes (by isis):

 * status:  accepted => needs_review


Comment:

 There's an implementation in my `bug24660`
 [https://gitweb.torproject.org/user/isis/tor.git/log/?h=bug24660 branch]
 ([https://travis-ci.org/isislovecruft/tor/builds/365348704 Travis mostly
 passes], just not the cargo offline mode). The added dependency for
 rand_core is in the `master` branch of my tor-rust-dependencies
 [https://github.com/isislovecruft/tor-rust-dependencies repo], but from
 https://github.com/rust-lang-
 nursery/rand/issues/386#issuecomment-380489759 it looks like we should
 wait a few days to vendor rand_core-0.1.0.

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


More information about the tor-bugs mailing list