[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27246 [Core Tor/Tor]: Can we use less space for RSA onion keys on clients?



#27246: Can we use less space for RSA onion keys on clients?
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  035-roadmap-master, 035-triaged-
     Severity:  Normal   |  in-20180711
Actual Points:           |  Parent ID:  #27243
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor8               |
-------------------------+-------------------------------------------------
 Our heap profiles say that we're using a HUGE amount of storage for RSA
 onion keys.  That's pretty sad, considering that we only use them for
 legacy v2 hidden service stuff.

 Maybe we can only parse them on-demand, when we need them?

 Maybe (if the openssl format is much more expensive than the raw asn1) we
 can store them in asn1, and only convert them to EVP_PKEY objects when we
 need them?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27246>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs