Don't use key_id from dendrite.yaml as it is in matrix_key.pem

This commit is contained in:
Neil Alexander 2020-09-23 10:40:28 +01:00
parent 0cf8e9166c
commit 6ab6e2aaae
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 1 additions and 4 deletions

View file

@ -38,9 +38,6 @@ global:
# The path to the signing private key file, used to sign requests and events.
private_key: matrix_key.pem
# A unique identifier for this private key. Must start with the prefix "ed25519:".
key_id: ed25519:auto
# How long a remote server can cache our server signing key before requesting it
# again. Increasing this number will reduce the number of requests made by other
# servers for our key but increases the period that a compromised key will be

View file

@ -20,7 +20,7 @@ type Global struct {
// An arbitrary string used to uniquely identify the PrivateKey. Must start with the
// prefix "ed25519:".
KeyID gomatrixserverlib.KeyID `yaml:"key_id"`
KeyID gomatrixserverlib.KeyID `yaml:"-"`
// How long a remote server can cache our server key for before requesting it again.
// Increasing this number will reduce the number of requests made by remote servers