mirror repository of the tor core protocol in case of issues
Go to file
David Goulet 6e99286d45 hs-v3: Add an extra white-space when parsing descriptor
The specification describes the signature token to be right after a newline
(\n) then the token "signature" and then a white-space followed by the encoded
signature.

This commit makes sure that when we parse the signature from the descriptor,
we are always looking for that extra white-space at the end of the token.

It will allow us also to support future fields that might start with
"signature".

Fixes #26069

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-10 09:16:50 -04:00
changes hs-v3: Add an extra white-space when parsing descriptor 2018-05-10 09:16:50 -04:00
contrib version bump to 0.3.1.10-dev 2018-03-03 11:32:51 -05:00
doc Merge branch 'maint-0.2.9' into maint-0.3.1 2018-02-16 09:48:11 -05:00
m4 Replace obsolete macros with modern equivalents 2016-12-23 10:34:11 -05:00
scripts Update fuzzing_include_am to include updates from include.am 2017-07-03 13:24:57 -04:00
src hs-v3: Add an extra white-space when parsing descriptor 2018-05-10 09:16:50 -04:00
.gitignore add rust registry to gitignore 2017-09-19 13:08:56 -04:00
.gitmodules Update the .gitmodules to refer to project-level tor-rust-dependencies 2018-02-21 11:53:04 -05:00
.travis.yml Merge branch 'bug25936-029' into bug25936-031 2018-04-26 15:46:57 -05:00
acinclude.m4 Run the copyright update script. 2017-03-15 16:13:17 -04:00
autogen.sh Report errors when updating configuration files 2016-12-23 10:35:26 -05:00
ChangeLog fwd-port more changelogs (0.2.4 through 0.2.8) 2017-06-08 10:15:41 -04:00
configure.ac version bump to 0.3.1.10-dev 2018-03-03 11:32:51 -05:00
Doxyfile.in doxygen says these options are obsolete 2016-10-24 10:31:05 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Run the copyright update script. 2017-03-15 16:13:17 -04:00
Makefile.am Merge branch 'bug25936-029' into bug25936-031 2018-04-26 15:46:57 -05:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
README Move hacking documentation into a new subdirectory. 2015-10-09 10:40:53 -04:00
ReleaseNotes fwd-port more changelogs (0.2.4 through 0.2.8) 2017-06-08 10:15:41 -04:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/docs/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/projects/tor/wiki/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html


To get started working on Tor development:
        See the doc/HACKING directory.