diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-28 16:13:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-28 16:13:30 +0100 |
commit | 8f77bda2e0297185c98694edf0d752cc925bf9a2 (patch) | |
tree | 8e48fa7ac850c0f570ced50f2113012ad25ee1f9 /src/auditor/generate-auditor-basedb.sh | |
parent | d7bbf934a042b84193fd7092b8632536f3279631 (diff) |
-towards getting auditor tests to pass again with new logic
Diffstat (limited to 'src/auditor/generate-auditor-basedb.sh')
-rwxr-xr-x | src/auditor/generate-auditor-basedb.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/auditor/generate-auditor-basedb.sh b/src/auditor/generate-auditor-basedb.sh index 4182942c2..41c91d32d 100755 --- a/src/auditor/generate-auditor-basedb.sh +++ b/src/auditor/generate-auditor-basedb.sh @@ -51,7 +51,7 @@ rm -f $WALLET_DB # Configuration file will be edited, so we create one # from the template. -CONF=generate-auditor-basedb-prod.conf +CONF=${BASEDB}.conf cp generate-auditor-basedb-template.conf $CONF @@ -92,8 +92,11 @@ mkdir -p $AUDITOR_PRIV_DIR gnunet-ecc -g1 $AUDITOR_PRIV_FILE > /dev/null AUDITOR_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE` +echo "AUDITOR PUB is $AUDITOR_PUB using file $AUDITOR_PRIV_FILE" + # patch configuration taler-config -c $CONF -s exchange -o MASTER_PUBLIC_KEY -V $MASTER_PUB +taler-config -c $CONF -s auditor -o PUBLIC_KEY -V $AUDITOR_PUB taler-config -c $CONF -s merchant-exchange-default -o MASTER_KEY -V $MASTER_PUB taler-config -c $CONF -s exchangedb-postgres -o CONFIG -V postgres:///$TARGET_DB taler-config -c $CONF -s auditordb-postgres -o CONFIG -V postgres:///$TARGET_DB @@ -238,7 +241,6 @@ echo "Final clean up" dropdb $TARGET_DB rm -rf $DATA_DIR || true -rm $CONF echo "=====================================" echo " Finished generation of $BASEDB" |