diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-09-05 23:52:19 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-09-05 23:52:19 +0200 |
commit | 8168910f71bf5de15f752551d94485afb3c7933d (patch) | |
tree | c5a911ef8a9d2f56f6395db6133377b2bc0af27d | |
parent | ab413849da994d99490033db6a85f67c692f69f4 (diff) | |
download | deployment-8168910f71bf5de15f752551d94485afb3c7933d.tar.gz deployment-8168910f71bf5de15f752551d94485afb3c7933d.tar.bz2 deployment-8168910f71bf5de15f752551d94485afb3c7933d.zip |
only one type of currency for now, sign extensions
-rwxr-xr-x | bin/taler-gv | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/bin/taler-gv b/bin/taler-gv index 2cb0a73..479d67c 100755 --- 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", |