[tor-bugs] #3241 [Core Tor/Tor]: Seeing lots of "crypto error while reading public key from string" on DA

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 25 14:24:51 UTC 2017


#3241: Seeing lots of "crypto error while reading public key from string" on DA
-------------------------------------------+-------------------------------
 Reporter:  linus                          |          Owner:
     Type:  defect                         |         Status:  new
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  unspecified
Component:  Core Tor/Tor                   |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  tor-dirauth easy log-severity  |  Actual Points:
Parent ID:                                 |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------
Changes (by nickm):

 * keywords:  tor-dirauth => tor-dirauth easy log-severity
 * status:  needs_information => new
 * severity:   => Normal


Comment:

 I think these log warnings are uselessly severe.  It would be better to
 lower the severity that we are passing to crypto_log_errors(): we
 shouldn't warn the user just because we couldn't read a key or verify a
 signature somewhere or other.

 That's not quite enough, though: we'll need to make sure that the other
 functions in Tor that call the relevant functions in crypto.c are logging
 better warnings at a more appropriate level.

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


More information about the tor-bugs mailing list