mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
fix up the keypinning comments
This commit is contained in:
parent
962b15aa6f
commit
6c14f9076f
@ -58,18 +58,16 @@
|
|||||||
* with which Ed25519 keys, and force such associations to be permanent.
|
* with which Ed25519 keys, and force such associations to be permanent.
|
||||||
*
|
*
|
||||||
* This module implements a key-pinning mechanism to ensure that it's safe
|
* This module implements a key-pinning mechanism to ensure that it's safe
|
||||||
* to use RSA keys as identitifers even as we migrate to Ed25519 keys. It
|
* to use RSA keys as identifiers even as we migrate to Ed25519 keys. It
|
||||||
* remembers, for every Ed25519 key we've seen, what the associated Ed25519
|
* 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,
|
* key is. This way, if we see a different Ed25519 key with that RSA key,
|
||||||
* we'll know that there's a mismatch.
|
* we'll know that there's a mismatch.
|
||||||
*
|
*
|
||||||
* (As of this writing, these key associations are advisory only, mostly
|
* As of Tor 0.3.0.2-alpha the AuthDirPinKeys option has been on, meaning
|
||||||
* because some relay operators kept mishandling their Ed25519 keys during
|
* we drop descriptors with mismatches.
|
||||||
* the initial Ed25519 rollout. We should fix this problem, and then toggle
|
|
||||||
* the AuthDirPinKeys option.)
|
|
||||||
*
|
*
|
||||||
* We persist these entries to disk using a simple format, where each line
|
* We persist these entries to disk using a simple format, where each line
|
||||||
* has a base64-encoded RSA SHA1 hash, then a base64-endoded Ed25519 key.
|
* has a base64-encoded RSA SHA1 hash, then a base64-encoded Ed25519 key.
|
||||||
* Empty lines, malformed lines, and lines beginning with # are
|
* Empty lines, malformed lines, and lines beginning with # are
|
||||||
* ignored. Lines beginning with @ are reserved for future extensions.
|
* ignored. Lines beginning with @ are reserved for future extensions.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user