[tor-bugs] #18280 [Tor]: base32 encoding API doesn't work for a source length that is not a multiple of 5 or 8

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 8 20:14:56 UTC 2016


#18280: base32 encoding API doesn't work for a source length that is not a multiple
of 5 or 8
----------------------+------------------------------------
 Reporter:  dgoulet   |          Owner:
     Type:  defect    |         Status:  needs_review
 Priority:  Medium    |      Milestone:  Tor: 0.2.9.x-final
Component:  Tor       |        Version:
 Severity:  Normal    |     Resolution:
 Keywords:            |  Actual Points:
Parent ID:  #18278    |         Points:  small
  Sponsor:  SponsorR  |
----------------------+------------------------------------

Comment (by nickm):

 Suggestion 1: Let's have unit tests for inputs of various different
 lengths?

 Suggestion 2: Maybe it makes more sense to make it so that we always
 encrypt all the bits we are given, and zero-pad?

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


More information about the tor-bugs mailing list