Skip to content
Snippets Groups Projects
Commit 3f1c5f67 authored by Damian Johnson's avatar Damian Johnson
Browse files

Disable DocTor checks for dannenberg

Dannenberg will be unable to sign the consensus until November due to lack of
the present consensus in Tor's LTS release (and by extension openbsd's).
parent 9ddd6e7c
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,11 @@ Runlevel = stem.util.enum.UppercaseEnum('NOTICE', 'WARNING', 'ERROR')
DIRECTORY_AUTHORITIES = stem.directory.Authority.from_cache()
del DIRECTORY_AUTHORITIES['tor26'] # DirPort does not service requests without a '.z' suffix
# dannenberg runs tor's long-term-stable release which does not support the
# most recent consensus method, breaking its ability to sign the consensus
del DIRECTORY_AUTHORITIES['dannenberg']
EMAIL_SUBJECT = 'Consensus issues'
BANDWIDTH_AUTHORITIES = ('moria1', 'gabelmoo', 'maatuska', 'Faravahar', 'bastet', 'longclaw')
......@@ -641,6 +646,9 @@ def has_authority_flag(latest_consensus, consensuses, votes):
if 'tor26' in seen_authorities:
seen_authorities.remove('tor26')
if 'dannenberg' in seen_authorities:
seen_authorities.remove('dannenberg')
known_authorities = set(DIRECTORY_AUTHORITIES.keys())
missing_authorities = known_authorities.difference(seen_authorities)
extra_authorities = seen_authorities.difference(known_authorities)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment