mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
o Minor bugfixes (hidden service v3):
|
||||
- When parsing the descriptor signature, look for the token plus an extra
|
||||
white-space at the end. This is more correct but also will allow us to
|
||||
support new fields that might start with "signature". Fixes bug 26069;
|
||||
bugfix on 0.3.0.1-alpha.
|
||||
Reference in New Issue
Block a user