aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-04-08 20:11:37 +0200
committerChristian Grothoff <christian@grothoff.org>2017-04-08 20:11:37 +0200
commitd27f7f34b4a43701b8a46226ee56a2a40c671754 (patch)
tree9a6df0ebf503560e1153eb7bc1fd1200e02c2c33 /src/auditor
parentd2f970c96480d728d2ea156609719403e1ee26f2 (diff)
have auditor report command to handle denomination key revocation on emergency-detection (#3887)
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 1484c2aaa..5576bd6a2 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -121,11 +121,14 @@ static struct TALER_AUDITORDB_ProgressPoint pp;
static void
report_emergency (const struct TALER_EXCHANGEDB_DenominationKeyInformationP *dki)
{
- /* TODO: properly implement #3887, including how to continue the
- audit after the emergency. */
+ char *dhks;
+
+ dhks = GNUNET_STRINGS_data_to_string_alloc (&dki->properties.denom_hash,
+ sizeof (struct GNUNET_HashCode));
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Emergency detected for denomination %s\n",
- GNUNET_h2s (&dki->properties.denom_hash));
+ "Emergency detected. Exchange must revoke key using `taler-auditor -r %s`\n",
+ dhks);
+ GNUNET_free (dhks);
}