taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 8168910f71bf5de15f752551d94485afb3c7933d
parent ab413849da994d99490033db6a85f67c692f69f4
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon,  5 Sep 2022 23:52:19 +0200

only one type of currency for now, sign extensions

Diffstat:
Mbin/taler-gv | 19+++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/bin/taler-gv b/bin/taler-gv @@ -948,18 +948,6 @@ def prepare(postgres_db_name): obj.cfg_put(sec, "fee_deposit", currency + ":" + f_deposit) obj.cfg_put(sec, "rsa_keysize", rsa_keysize) obj.cfg_put(sec, "age_restricted", "YES") - sec2 = "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) - obj.cfg_put(sec, "duration_legal", d_legal) - obj.cfg_put(sec, "fee_withdraw", currency + ":" + f_withdraw) - obj.cfg_put(sec, "fee_refresh", currency + ":" + f_refresh) - obj.cfg_put(sec, "fee_refund", currency + ":" + f_refund) - obj.cfg_put(sec, "fee_deposit", currency + ":" + f_deposit) - obj.cfg_put(sec, "rsa_keysize", rsa_keysize) - obj.cfg_put(sec, "age_restricted", "NO") obj = ConfigFile("taler.conf") obj.cfg_put("paths", "TALER_DATA_HOME", str(TALER_DATA_DIR)) @@ -1355,6 +1343,13 @@ def prepare(postgres_db_name): if not is_serving("https://exchange.demo.taler.net/"): fail(f"Exchange did not start correctly.") print(" OK") + print_nn("exchange-offline: signing extensions...") + Command([ + f"{TALER_PREFIX}/bin/taler-exchange-offline", + "-c", CFG_OUTDIR / "taler.conf", + "extension", "sign", "upload" + ]).run() + print(" OK") print_nn("exchange-offline: signing key material...") Command([ f"{TALER_PREFIX}/bin/taler-exchange-offline",