From 99fd1179fb9e5b64a5acbf5bd1a98c79ed1e0f14 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 20 May 2022 16:35:26 +0100 Subject: [PATCH 1/2] Add Complement's shared secret to the worker configuration --- docker/complement/conf-workers/workers-shared.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/complement/conf-workers/workers-shared.yaml b/docker/complement/conf-workers/workers-shared.yaml index 86ee11ecd0e5..cd7b50c65cc3 100644 --- a/docker/complement/conf-workers/workers-shared.yaml +++ b/docker/complement/conf-workers/workers-shared.yaml @@ -5,6 +5,12 @@ enable_registration: true enable_registration_without_verification: true bcrypt_rounds: 4 +## Registration ## + +# Needed by Complement to register admin users +# DO NOT USE in a production configuration! This should be a random secret. +registration_shared_secret: complement + ## Federation ## # trust certs signed by Complement's CA From a9a4f403a407a630984ce0df684a3442b4c5f720 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 20 May 2022 16:36:39 +0100 Subject: [PATCH 2/2] Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) --- changelog.d/12819.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12819.misc diff --git a/changelog.d/12819.misc b/changelog.d/12819.misc new file mode 100644 index 000000000000..7a03102a632d --- /dev/null +++ b/changelog.d/12819.misc @@ -0,0 +1 @@ +Add Complement's shared registration secret to the Complement worker image. This fixes tests that depend on it. \ No newline at end of file