gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: taler-local: adapt to latest c


From: gnunet
Subject: [taler-deployment] branch master updated: taler-local: adapt to latest config requirements
Date: Fri, 11 Mar 2022 10:47:51 +0100

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

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 7054f12  taler-local: adapt to latest config requirements
7054f12 is described below

commit 7054f12b806674198036c1714cf05d3543d2ded7
Author: MS <ms@taler.net>
AuthorDate: Fri Mar 11 10:47:47 2022 +0100

    taler-local: adapt to latest config requirements
---
 bin/WIP/taler-local | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local
index f385d42..9085997 100755
--- a/bin/WIP/taler-local
+++ b/bin/WIP/taler-local
@@ -881,6 +881,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
             rsa_keysize="2048",
         ):
             sec = "coin_" + currency + "_" + name
+            obj.cfg_put(sec, "cipher", "RSA")
             obj.cfg_put(sec, "value", currency + ":" + value)
             obj.cfg_put(sec, "duration_withdraw", d_withdraw)
             obj.cfg_put(sec, "duration_spend", d_spend)
@@ -960,6 +961,14 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
             "unixpath",
             str(unix_sockets_dir / "exchange-secmod-eddsa.sock")
         )
+        obj.cfg_put(
+            "taler-exchange-secmod-cs",
+            "unixpath",
+            str(unix_sockets_dir / "exchange-secmod-cs.sock")
+        )
+        obj.cfg_put("taler-exchange-secmod-cs", "sm_priv_key",
+                    
"${TALER_DATA_HOME}/taler-exchange-secmod-cs/secmod-private-key"
+        )
         obj.cfg_put(
             "taler-exchange-secmod-rsa",
             "unixpath",
@@ -1139,6 +1148,12 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
             cmd = f"{TALER_PREFIX}/bin/taler-exchange-transfer -L DEBUG -c 
{CFG_OUTDIR / 'taler.conf'}",
             env = TALER_UNIT_FILES_DIR / "taler-local-postgres.env" if 
os.environ.get("PGPORT") else None
         ))
+    with open(TALER_UNIT_FILES_DIR / "taler-local-exchange-secmod-cs.service", 
"w") as exchange_cs_unit:
+        exchange_cs_unit.write(unit_file_content(
+            description = "Taler Exchange CS security module",
+            cmd = f"{TALER_PREFIX}/bin/taler-exchange-secmod-cs -L DEBUG -c 
{CFG_OUTDIR / 'taler.conf'}"
+        ))
+
     with open(TALER_UNIT_FILES_DIR / 
"taler-local-exchange-secmod-rsa.service", "w") as exchange_rsa_unit:
         exchange_rsa_unit.write(unit_file_content(
             description = "Taler Exchange RSA security module",
@@ -1321,6 +1336,9 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
     print_nn("Launching the exchange EDDSA helper...")
     subprocess.run(["systemctl", "--user", "start", 
"taler-local-exchange-secmod-eddsa.service"])
     print(" OK")
+    print_nn("Launching the exchange CS helper...")
+    subprocess.run(["systemctl", "--user", "start", 
"taler-local-exchange-secmod-cs.service"])
+    print(" OK")
     print_nn("Launching the exchange...")
     subprocess.run(["systemctl", "--user", "start", 
"taler-local-exchange-httpd.service"])
     if not is_serving(REV_PROXY_URL + "/exchange/"):
@@ -1347,6 +1365,7 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
                 WIRE_METHOD,
                 CURRENCY + ":0.01",
                 CURRENCY + ":0.01",
+                CURRENCY + ":0.01",
                 "upload"
             ],
             custom_name="set-wire-fee"

-- 
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]