gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin-deployment] branch master updated: change auth method


From: gnunet
Subject: [libeufin-deployment] branch master updated: change auth method
Date: Mon, 16 Nov 2020 17:26:02 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin-deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 1d4ebbf  change auth method
1d4ebbf is described below

commit 1d4ebbfb9b5fd5b6588966e6eb0efce01b2ab54c
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 16 17:25:53 2020 +0100

    change auth method
---
 buildbot/master.cfg | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index a58f8f0..0b7ebe1 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -124,6 +124,11 @@ BUILDER_LIST = [
     "integration-tests"
 ]
 
+# For now, Buildbot uses one password for all the admins.
+with open("/home/libeufin/buildbot_passwords", "r") as data:
+    password_data = data.read()
+passwords = json.loads(password_data)
+
 c["www"] = {
     "port": 8020,
     "plugins": {
@@ -132,7 +137,9 @@ c["www"] = {
     },
     "allowed_origins": ["https://*.libeufin.tech";],
     "avatar_methods": [],
-    "auth": util.HTPasswdAuth("/home/libeufin/.htpasswd"),
+    "auth": util.UserPasswordAuth([(
+        "ms", passwords["ms"]
+    )]),
     "authz": util.Authz(
         allowRules=[
             util.ForceBuildEndpointMatcher(role="admins",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]