aboutsummaryrefslogtreecommitdiff
path: root/app/im/secrets/chat/fb2mx
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/fb2mx
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/fb2mx')
-rw-r--r--app/im/secrets/chat/fb2mx/as_token2
-rw-r--r--app/im/secrets/chat/fb2mx/hs_token2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/im/secrets/chat/fb2mx/as_token b/app/im/secrets/chat/fb2mx/as_token
index 20b76d4..5fa4e3c 100644
--- a/app/im/secrets/chat/fb2mx/as_token
+++ b/app/im/secrets/chat/fb2mx/as_token
@@ -1 +1 @@
-USER fb2mx API server token
+CMD openssl rand -hex 32
diff --git a/app/im/secrets/chat/fb2mx/hs_token b/app/im/secrets/chat/fb2mx/hs_token
index 8808f8f..5fa4e3c 100644
--- a/app/im/secrets/chat/fb2mx/hs_token
+++ b/app/im/secrets/chat/fb2mx/hs_token
@@ -1 +1 @@
-USER fb2mx homeserver token
+CMD openssl rand -hex 32