[tor-bugs] #16769 [Tor]: add two new functions when manually calling --keygen for better management

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 18 20:38:58 UTC 2015


#16769: add two new functions when manually calling --keygen for better management
------------------------+--------------------------------------------------
     Reporter:  s7r     |      Owner:  nickm
         Type:  defect  |     Status:  accepted
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:  Tor: 0.2.7.2-alpha
   Resolution:          |   Keywords:  ed25519,relay,keys,TorCoreTeam201508
Actual Points:          |  Parent ID:  #16645
       Points:          |
------------------------+--------------------------------------------------

Comment (by s7r):

 Also, in ed25519_hup branch, when we manually call --keygen to generate
 medium term signing key and certificate, if it finds the master ID key it
 will generate and save them to disk as expected, but will show this
 output:

 {{{
 # tor --datadirectory ~/torsrc/data/ --SigningKeyLifetime '2 days'
 --keygen
 Aug 18 16:32:23.968 [notice] Tor v0.2.7.2-alpha-dev (git-09326b2fe160eb4d)
 running on Linux with Libevent 2.0.19-stable, OpenSSL 1.0.1e and Zlib
 1.2.7.
 Aug 18 16:32:23.968 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Aug 18 16:32:23.968 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Aug 18 16:32:23.968 [notice] Configuration file "/usr/local/etc/tor/torrc"
 not present, using reasonable defaults.
 Aug 18 16:32:23.972 [warn] You are running Tor as root. You don't need to,
 and you probably shouldn't.
 Aug 18 16:32:23.972 [notice] It looks like I need to generate and sign a
 new medium-term signing key, because I don't have one. To do that, I need
 to load (or create) the permanent master identity key
 }}}

 Could we change the last log line here (or add another log line, if that
 one is used/needed when Tor calls --keygen automatically) to something
 like: Successfully generated and saved to disk medium signing key and
 certificate for the mater identity provided.

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


More information about the tor-bugs mailing list