aboutsummaryrefslogtreecommitdiff
path: root/app/im/secrets/chat/synapse
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-01-19 17:53:53 +0100
committerAlex Auvolat <alex@adnab.me>2021-01-19 17:53:53 +0100
commit1c814f002af3aafa76aced040845d6fdeee7953e (patch)
treef1abd7369f279bb4c9fc56caf469825120564467 /app/im/secrets/chat/synapse
parent9560f8085292e990949c53b4ba964936a3d3b6e5 (diff)
downloadinfrastructure-1c814f002af3aafa76aced040845d6fdeee7953e.tar.gz
infrastructure-1c814f002af3aafa76aced040845d6fdeee7953e.zip
Add CMD_ONCE secret type and fill in/change secret definitions
Diffstat (limited to 'app/im/secrets/chat/synapse')
-rw-r--r--app/im/secrets/chat/synapse/homeserver.signing.key1
-rw-r--r--app/im/secrets/chat/synapse/registration_shared_secret2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/im/secrets/chat/synapse/homeserver.signing.key b/app/im/secrets/chat/synapse/homeserver.signing.key
new file mode 100644
index 0000000..099bd18
--- /dev/null
+++ b/app/im/secrets/chat/synapse/homeserver.signing.key
@@ -0,0 +1 @@
+USER Synapse homeserver ed25519 signing key
diff --git a/app/im/secrets/chat/synapse/registration_shared_secret b/app/im/secrets/chat/synapse/registration_shared_secret
index 395cccc..b82f191 100644
--- a/app/im/secrets/chat/synapse/registration_shared_secret
+++ b/app/im/secrets/chat/synapse/registration_shared_secret
@@ -1 +1 @@
-USER Shared secret for homeserver registrations (?)
+CMD head -c 32 /dev/urandom | base64