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
Container Registry
Model registry
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
The Tor Project
Core
Tor
Commits
91f377de
Commit
91f377de
authored
5 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
HACKING/design: turn the remaining parts of crypto into a certs doc
parent
89396bc7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/crypt_ops/certs.dox
+8
-3
8 additions, 3 deletions
src/lib/crypt_ops/certs.dox
src/mainpage.dox
+2
-0
2 additions, 0 deletions
src/mainpage.dox
with
10 additions
and
3 deletions
doc/HACKING/design/01d-crypto.md
→
src/lib/crypt_ops/certs.dox
+
8
−
3
View file @
91f377de
/**
### Certificates ###
@page certificates Certificates in Tor.
We have, alas, several certificate types in Tor.
...
...
@@ -9,6 +9,8 @@ won't explain X.509 to you -- possibly, no document can. (OTOH, Peter
Gutmann's "x.509 style guide", though severely dated, does a good job of
explaining how awful x.509 can be.) Do not introduce any new usages of
X.509. Right now we only use it in places where TLS forces us to do so.
See x509.c for more information about using this type.
The authority_cert_t type is used only for directory authority keys. It
has a medium-term signing key (which the authorities actually keep
...
...
@@ -19,9 +21,12 @@ certificate.
For new places where you need a certificate, consider tor_cert_t: it
represents a typed and dated _something_ signed by an Ed25519 key. The
format is described in tor-spec. Unlike x.509, you can write it on a
napkin.
napkin. The torcert.c file is used for manipulating these certificates and
their associated keys.
(Additionally, the Tor directory design uses a fairly wide variety of
documents that include keys and which are signed by keys. You can
consider these documents to be an additional kind of certificate if you
want.)
**/
This diff is collapsed.
Click to expand it.
src/mainpage.dox
+
2
−
0
View file @
91f377de
...
...
@@ -31,6 +31,8 @@ Tor repository.
@subpage intro
@subpage dataflow
@subpage certificates
**/
/**
...
...
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