mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 01:59:24 -05:00
Improve comment formatting
This commit is contained in:
parent
6e9f3ab415
commit
0af6213019
@ -109,7 +109,7 @@ class TlsConfig(Config):
|
|||||||
# fingerprints of a new certificate and wait for the caches on other
|
# fingerprints of a new certificate and wait for the caches on other
|
||||||
# servers to expire before deploying it.
|
# servers to expire before deploying it.
|
||||||
tls_fingerprints: []
|
tls_fingerprints: []
|
||||||
#- {"sha256": "<base64_encoded_sha256_fingerprint>"}
|
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
||||||
""" % locals()
|
""" % locals()
|
||||||
|
|
||||||
def read_tls_certificate(self, cert_path):
|
def read_tls_certificate(self, cert_path):
|
||||||
|
@ -46,9 +46,12 @@ class LocalKey(Resource):
|
|||||||
"expired_ts": # integer posix timestamp when the key expired.
|
"expired_ts": # integer posix timestamp when the key expired.
|
||||||
"key": # base64 encoded NACL verification key.
|
"key": # base64 encoded NACL verification key.
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
"tls_fingerprints": # Fingerprints of the TLS certs this server uses.
|
"tls_fingerprints": [ # Fingerprints of the TLS certs this server uses.
|
||||||
- {"sha256": "..."}
|
{
|
||||||
|
"sha256": # base64 encoded sha256 fingerprint of the X509 cert
|
||||||
|
},
|
||||||
|
],
|
||||||
"signatures": {
|
"signatures": {
|
||||||
"this.server.example.com": {
|
"this.server.example.com": {
|
||||||
"algorithm:version": # NACL signature for this server
|
"algorithm:version": # NACL signature for this server
|
||||||
|
Loading…
Reference in New Issue
Block a user