Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pier Angelo Vendrame
Tor
Commits
37f95e8d
Commit
37f95e8d
authored
8 months ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
process_descs: Authorities require TAP keys for now.
parent
73b73c07
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/feature/dirauth/process_descs.c
+10
-0
10 additions, 0 deletions
src/feature/dirauth/process_descs.c
with
10 additions
and
0 deletions
src/feature/dirauth/process_descs.c
+
10
−
0
View file @
37f95e8d
...
...
@@ -762,6 +762,16 @@ dirserv_add_descriptor(routerinfo_t *ri, const char **msg, const char *source)
log_info
(
LD_DIR
,
"Assessing new descriptor: %s: %s"
,
ri
->
nickname
,
ri
->
platform
);
/* For now, TAP keys are still required. */
if
(
!
ri
->
tap_onion_pkey
)
{
log_info
(
LD_DIRSERV
,
"Rejecting descriptor from %s (source: %s); "
"it has no TAP key."
,
router_describe
(
ri
),
source
);
*
msg
=
"Missing TAP key in descriptor."
;
r
=
ROUTER_AUTHDIR_REJECTS
;
goto
fail
;
}
/* Check whether this descriptor is semantically identical to the last one
* from this server. (We do this here and not in router_add_to_routerlist
* because we want to be able to accept the newest router descriptor that
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment