diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-26 20:07:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-26 20:07:23 +0100 |
commit | 394765a1e60cab4504817ca364429222e76f59ce (patch) | |
tree | d41968192d00a2b1ea27bd8040882dc52737c5bc /src/auditor/generate-revoke-basedb.sh | |
parent | 51bdfab93565856473c2df9d654c45693adaf5d3 (diff) |
auditor-sign keys generated due to revocations
Diffstat (limited to 'src/auditor/generate-revoke-basedb.sh')
-rwxr-xr-x | src/auditor/generate-revoke-basedb.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh index 654d9a53a..c04a41ec5 100755 --- a/src/auditor/generate-revoke-basedb.sh +++ b/src/auditor/generate-revoke-basedb.sh @@ -154,7 +154,10 @@ echo "Revoking denomination ${rd} (to affect coin ${rc})" export susp=$(echo "$coins" | jq --arg rc "$rc" '[.coins[] | select(.coin_pub != $rc) | .coin_pub]') # Do the revocation -taler-exchange-keyup -c $CONF -r $rd +taler-exchange-keyup -o e2a2.dat -c $CONF -r $rd +taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a2.dat -o a2e2.dat -m $MASTER_PUB +rm e2a2.dat +mv a2e2.dat $ABD # Restart the exchange... kill -SIGUSR1 $EXCHANGE_PID @@ -233,7 +236,10 @@ export susp=$(echo "$coins" | jq --arg freshc "$freshc" '[.coins[] | select(.coi # Do the revocation of freshc echo "Revoking ${fresh_denom} (to affect coin ${freshc})" -taler-exchange-keyup -c $CONF -r $fresh_denom +taler-exchange-keyup -c $CONF -o e2a3.dat -r $fresh_denom +taler-auditor-sign -c $CONF -u $AUDITOR_URL -r e2a3.dat -o a2e3.dat -m $MASTER_PUB +rm e2a3.dat +mv a2e3.dat $ABD # Restart the exchange... kill -SIGUSR1 $EXCHANGE_PID |