gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: work around broken taler-harne


From: gnunet
Subject: [taler-deployment] branch master updated: work around broken taler-harness logic
Date: Sun, 05 Mar 2023 00:29:12 +0100

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 550dbfa  work around broken taler-harness logic
550dbfa is described below

commit 550dbfae973c21271cdc6b71a55f6f6c6d382424
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 5 00:29:09 2023 +0100

    work around broken taler-harness logic
---
 netzbon/setup-exchange.sh | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/netzbon/setup-exchange.sh b/netzbon/setup-exchange.sh
index acee51b..cecefb9 100755
--- a/netzbon/setup-exchange.sh
+++ b/netzbon/setup-exchange.sh
@@ -129,7 +129,13 @@ taler-harness deployment gen-coin-config \
               --min-amount ${CURRENCY}:0.01 \
               --max-amount ${CURRENCY}:100 \
     | sed -e "s/FEE_DEPOSIT = ${CURRENCY}:0.01/FEE_DEPOSIT = ${CURRENCY}:0/" \
-    > /etc/taler/conf.d/${CURRENCY}-coins.conf
+          > /etc/taler/conf.d/${CURRENCY}-coins.conf
+
+# FIXME-DOLD: this belongs with taler-harness
+for SEC in `taler-config -c /etc/taler/conf.d/${CURRENCY}-coins.conf -S | grep 
COIN-`
+do
+    taler-config -c /etc/taler/conf.d/${CURRENCY}-coins.conf -s $SEC -o CIPHER 
-V "RSA"
+done
 
 say "Initializing exchange database"
 sudo -u taler-exchange-httpd taler-exchange-dbinit -c /etc/taler/taler.conf
@@ -146,6 +152,13 @@ curl --max-time 2 \
      ${EXCHANGE_BASE_URL}config &> /dev/null
 echo "DONE"
 
+echo -n "Waiting for exchange keys (this may take a while)..."
+curl --max-time 30 \
+     --retry-delay 1 \
+     --retry 60 \
+     ${EXCHANGE_BASE_URL}management/keys &> /dev/null
+echo "DONE"
+
 say "Offline interaction..."
 
 taler-exchange-offline \

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