[tor-bugs] #22703 [Core Tor/Tor]: Add a KeyDirectory option to override location of $datadir/keys, and/or a cachedir option to override location of cached files.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 23 12:36:30 UTC 2017


#22703: Add a KeyDirectory option to override location of $datadir/keys, and/or a
cachedir option to override location of cached files.
--------------------------+------------------------------------------------
     Reporter:  nickm     |      Owner:
         Type:            |     Status:  new
  enhancement             |
     Priority:  Medium    |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core      |    Version:
  Tor/Tor                 |
     Severity:  Normal    |   Keywords:  sponsor8-maybe configuration torrc
Actual Points:            |  Parent ID:  #7176
       Points:  2         |   Reviewer:
      Sponsor:            |
--------------------------+------------------------------------------------
 It is at least mildly naughty how Tor currently uses the same
 DataDirectory for both persistent secret things (keys), persistent
 sensitive things (the state file), runtime stuff (the lock file), and
 cached objects (cached-*).  Perhaps we should provide options to split
 these up?

 This might help a bit with memory usage on platforms where /var is a
 tmpfs.  In #7176, there was an openwrt patch that changed the key
 directory to a hardcoded path, but that's obviously not mergeable in
 mainline tor.

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


More information about the tor-bugs mailing list