diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2020-06-06 11:34:47 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-23 08:25:22 -0400 |
commit | d72618eb7f152c8f1633294fa30978c7ac0a48f3 (patch) | |
tree | a8ed65e80420b8a7e254bcde56634f70051e95f4 /src/feature/dirauth/dirvote.h | |
parent | 27315de590da24fe55353332c29a3a4454ee7da2 (diff) | |
download | tor-d72618eb7f152c8f1633294fa30978c7ac0a48f3.tar.gz tor-d72618eb7f152c8f1633294fa30978c7ac0a48f3.zip |
Remove padding from ntor-onion-key #7869
Diffstat (limited to 'src/feature/dirauth/dirvote.h')
-rw-r--r-- | src/feature/dirauth/dirvote.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h index fa7b1da4ab..3ab40367ae 100644 --- a/src/feature/dirauth/dirvote.h +++ b/src/feature/dirauth/dirvote.h @@ -53,7 +53,7 @@ #define MIN_SUPPORTED_CONSENSUS_METHOD 28 /** The highest consensus method that we currently support. */ -#define MAX_SUPPORTED_CONSENSUS_METHOD 29 +#define MAX_SUPPORTED_CONSENSUS_METHOD 30 /** * Lowest consensus method where microdescriptor lines are put in canonical @@ -61,6 +61,10 @@ **/ #define MIN_METHOD_FOR_CANONICAL_FAMILIES_IN_MICRODESCS 29 +/** Lowest consensus method where an unpadded base64 onion-key-ntor is allowed + * See #7869 */ +#define MIN_METHOD_FOR_UNPADDED_NTOR_KEY 30 + /** Default bandwidth to clip unmeasured bandwidths to using method >= * MIN_METHOD_TO_CLIP_UNMEASURED_BW. (This is not a consensus method; do not * get confused with the above macros.) */ |