Nick Mathewson
5032b8f178
Regenerate complete failing_routerdescs.inc and adjust tests accordingly.
2020-10-16 16:07:46 -04:00
Nick Mathewson
0031d2b0ad
Update makedesc.py script so that it works with python3.
2020-10-16 16:07:46 -04:00
Nick Mathewson
98c4e218b8
Update slow_ed25519.py to work with python 3.
2020-10-16 16:07:46 -04:00
Nick Mathewson
5e2294c6fe
Fix formats_rsa_ed25519 tests.
...
The "protos" field is mandatory, and so are Ed25519 signatures.
Also, remove formats_rsa (the version without Ed25519), since
RSA-only relays are no longer supported.
2020-10-16 16:07:46 -04:00
Nick Mathewson
84c13a35db
Add pr= lines to test_dir_clip_unmeasured*.
2020-10-16 16:07:46 -04:00
Nick Mathewson
bae5ba8073
Fix a couple of routerstatus-based tests.
2020-10-16 16:07:46 -04:00
Nick Mathewson
61a5a303f9
Replace the contents of test_descriptors.inc with a new set.
...
Had to replace these since we're updating the list of required fields.
These are taken from a chutney instance. Shockingly, this is enough
to make the test_dir_handle_get.c tests pass again.
2020-10-16 16:07:46 -04:00
Nick Mathewson
769882ea7c
test_dir_handle_get: add ntor-onion-key to microdescriptor example
...
Shockingly, this test didn't break after this change!
2020-10-16 16:07:46 -04:00
Nick Mathewson
acf4225441
Fix up vote tests in test_dir_handle_get.
...
These tests used a hardcoded vote with a hardcoded digest. That
vote didn't have any pr lines, and so it is now invalid. I've
adjusted the testing code so that it mocks the signature-checking,
so that we can more easily change the contents of the vote.
2020-10-16 16:07:46 -04:00
Nick Mathewson
36ea25c236
Fix the tests in test_microdesc.c
...
This was fairly simple: just had to replace the examples with ones
that had ntor keys. There were a couple of example chutney
routerinfos that I had to replace too.
I also removed tests for producing microdescs via consensus methods
that we don't support any longer.
2020-10-16 16:07:46 -04:00
Nick Mathewson
bb275e3712
Fix router/dump_router_to_string_no_bridge_distribution_method
...
The descriptor it generated needed to include ed25519 keys; needed
to have a correct TAP crosscert.
2020-10-16 16:07:46 -04:00
Nick Mathewson
6d419a3da3
test_dir_common: make sure we include pr lines. Fixes 7 tests.
2020-10-16 07:40:54 -04:00
Nick Mathewson
e934d713b3
Mark as required fields from prop315.
...
This change breaks some unit tests; it's time to fix those in
subsequent commits.
2020-10-15 18:02:16 -04:00
David Goulet
bb249a221f
Merge branch 'tor-gitlab/mr/170'
2020-10-14 09:46:44 -04:00
Nick Mathewson
f02f8f8946
Use "flavor" spelling consistently on manpage.
2020-10-14 09:45:41 -04:00
Nick Mathewson
d66cec8520
Apply typo fix patch from Samanta Navarro on #40161 .
2020-10-14 09:43:26 -04:00
Nick Mathewson
a251cff0c3
Add changes file for 40139 (removing usecreatefast and useoptimisticdata
2020-10-13 14:42:59 -04:00
Nick Mathewson
42a5e652cb
Make OptimisticData always-on.
...
We've been using it for years, and it seems to work just fine. This
patch removes the option and its network parameter.
Part of #40139
2020-10-13 14:38:32 -04:00
Nick Mathewson
ac311a38ec
Make "usecreatefast" always-off.
...
Part of #40139 , where I'm removing network parameters that we
shouldn't be looking at any longer.
2020-10-13 14:00:34 -04:00
Alexander Færøy
78aa037c41
Merge remote-tracking branch 'tor-gitlab/mr/161'
2020-10-13 13:50:14 +00:00
Alexander Færøy
5d23881770
Merge remote-tracking branch 'tor-gitlab/mr/165'
2020-10-13 13:45:01 +00:00
Nick Mathewson
c4812698c3
Remove long-obsolete members from the state file.
...
Tor has a feature to preserve unrecognized state file entries in
order to maintain forward compatibility. But this feature, along
with some unused code that we never actually removed, led to us
keeping items that were of no use to the user, other than at worst
to preserve ancient information about them.
This commit adds a feature to remove obsolete entries when we load
the file.
Closes ticket 40137.
2020-10-07 20:46:37 +03:00
Nick Mathewson
2ceea13140
Merge remote-tracking branch 'tor-gitlab/mr/164'
2020-10-07 09:42:37 -04:00
Nick Mathewson
d41025312a
Merge branch 'maint-0.4.4'
2020-10-07 09:29:17 -04:00
Nick Mathewson
ef70f5f42a
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 09:29:17 -04:00
Nick Mathewson
8e7778ec8a
Merge branch 'maint-0.3.5' into maint-0.4.3
2020-10-07 09:29:17 -04:00
Nick Mathewson
741edf1b45
Merge remote-tracking branch 'tor-github/pr/1827/head' into maint-0.3.5
2020-10-07 09:29:07 -04:00
David Goulet
17e9d40c16
Merge branch 'tor-gitlab/mr/159'
2020-10-07 09:00:10 -04:00
Nick Mathewson
9ad525604e
Use AC_LANG_SOURCE
2020-10-07 09:00:06 -04:00
Nick Mathewson
59c36b9b58
Use AC_RUN_IFELSE, not AC_TRY_RUN.
2020-10-07 09:00:06 -04:00
Nick Mathewson
de03f7a13d
Changes file for autoconf improvements in 40138
2020-10-07 09:00:06 -04:00
Nick Mathewson
ec9ac0756d
configure.ac: Summarize how many times we warned.
...
It's way too easy to have a warning in the middle of the configure
process that the user never notices.
2020-10-07 09:00:06 -04:00
Nick Mathewson
96b69152ce
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 08:38:30 -04:00
Nick Mathewson
40f0db75bd
Merge branch 'maint-0.3.5' into maint-0.4.3
2020-10-07 08:38:30 -04:00
Nick Mathewson
95a5186463
Merge branch 'maint-0.4.4'
2020-10-07 08:38:30 -04:00
David Goulet
b404f085ad
hs-v2: Add deprecation warning for service
...
If at least one service is configured as a version 2, a log warning is emitted
once and only once.
Closes #40003
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-07 08:38:23 -04:00
Nick Mathewson
0e2e517019
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 08:35:18 -04:00
Nick Mathewson
d0eee3c575
Merge branch 'maint-0.4.4'
2020-10-07 08:35:18 -04:00
Neel Chauhan
884cad3edf
Make HSFETCH take the decoded length into account, not the base32 one
2020-10-07 08:35:12 -04:00
Nick Mathewson
faac186075
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 08:29:32 -04:00
Nick Mathewson
fe11a079d8
Merge branch 'maint-0.4.4'
2020-10-07 08:29:32 -04:00
Nick Mathewson
3e9fa5a029
Merge branch 'maint-0.3.5' into maint-0.4.3
2020-10-07 08:29:31 -04:00
Nick Mathewson
5f5587ee50
Merge remote-tracking branch 'tor-gitlab/mr/77' into maint-0.3.5
2020-10-07 08:29:23 -04:00
Nick Mathewson
ad62cf2ac9
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 08:26:04 -04:00
Nick Mathewson
a5c5c0d2f5
Merge branch 'maint-0.4.4'
2020-10-07 08:26:04 -04:00
Nick Mathewson
701a1936fa
Merge branch 'maint-0.3.5' into maint-0.4.3
2020-10-07 08:26:04 -04:00
Nick Mathewson
ad7ffa5240
Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.3.5
2020-10-07 08:25:55 -04:00
Nick Mathewson
2617987c88
Merge branch 'maint-0.4.4'
2020-10-07 08:16:20 -04:00
Nick Mathewson
a44bcc309d
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-10-07 08:16:19 -04:00
Nick Mathewson
a49373844c
Merge branch 'maint-0.3.5' into maint-0.4.3
2020-10-07 08:16:19 -04:00