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
Releases
Package registry
Container Registry
Model registry
Operate
Environments
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
orbea
Tor
Commits
6c14f907
Commit
6c14f907
authored
4 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
fix up the keypinning comments
parent
962b15aa
No related branches found
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/keypin.c
+5
-7
5 additions, 7 deletions
src/feature/dirauth/keypin.c
with
5 additions
and
7 deletions
src/feature/dirauth/keypin.c
+
5
−
7
View file @
6c14f907
...
...
@@ -58,18 +58,16 @@
* with which Ed25519 keys, and force such associations to be permanent.
*
* This module implements a key-pinning mechanism to ensure that it's safe
* to use RSA keys as identi
ti
fers even as we migrate to Ed25519 keys. It
* remembers, for every Ed25519 key we've seen, what the associated
Ed25519
* to use RSA keys as identif
i
ers even as we migrate to Ed25519 keys. It
* remembers, for every Ed25519 key we've seen, what the associated
RSA
* key is. This way, if we see a different Ed25519 key with that RSA key,
* we'll know that there's a mismatch.
*
* (As of this writing, these key associations are advisory only, mostly
* because some relay operators kept mishandling their Ed25519 keys during
* the initial Ed25519 rollout. We should fix this problem, and then toggle
* the AuthDirPinKeys option.)
* As of Tor 0.3.0.2-alpha the AuthDirPinKeys option has been on, meaning
* we drop descriptors with mismatches.
*
* We persist these entries to disk using a simple format, where each line
* has a base64-encoded RSA SHA1 hash, then a base64-en
d
oded Ed25519 key.
* has a base64-encoded RSA SHA1 hash, then a base64-en
c
oded Ed25519 key.
* Empty lines, malformed lines, and lines beginning with # are
* ignored. Lines beginning with @ are reserved for future extensions.
*
...
...
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