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

Re: [tor-bugs] #7869 [Core Tor/Tor]: ntor-onion-key is padded with an equal sign



#7869: ntor-onion-key is padded with an equal sign
-------------------------------------------------+-------------------------
 Reporter:  rransom                              |          Owner:
                                                 |  steeve149
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Low                                  |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay, easy, intro,              |  Actual Points:
  tor-03-unspecified-201612                      |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by Jigsaw52):

 I tried to fix this. Here is my code: https://github.com/Jigsaw52/tor/tree
 /remove-padding-fix-7869

 While fixing this issue, I noticed that the function
 curve25519_public_to_base64 does not behave according to its description.
 The description says 'Encode <b>pkey</b> as a base64-encoded string,
 without trailing "=" characters'. However, this function output still had
 the trailing "=".
 I fixed this as well and fixed all the code and tests that used padded
 keys.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7869#comment:15>
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