[tor-bugs] #21693 [Core Tor/Tor]: prop224: HS descriptors do wasteful double-base64 encoding
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 11 12:02:55 UTC 2017
#21693: prop224: HS descriptors do wasteful double-base64 encoding
-----------------------------+------------------------------------
Reporter: asn | Owner: asn
Type: task | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-hs, prop224 | Actual Points:
Parent ID: | Points: 4
Reviewer: | Sponsor: SponsorR-can
-----------------------------+------------------------------------
Comment (by asn):
WRT the zlib API, I looked at the test `test_buffers_zlib_impl()` and it
does not seem super hard. It seems to require to require a `buf_t`, the
use of `write_to_buf_zlib()`, and then extracting the compressed data from
the `buf_t` into a `uint8_t`. Uncompressing seems even easier, just use
`tor_gzip_uncompress()`.
Maybe I should give this a try for the inner layer.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21693#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list