[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: have auditor report
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: have auditor report command to handle denomination key revocation on emergency-detection (#3887) |
Date: |
Sat, 08 Apr 2017 20:11:39 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new d27f7f3 have auditor report command to handle denomination key
revocation on emergency-detection (#3887)
d27f7f3 is described below
commit d27f7f34b4a43701b8a46226ee56a2a40c671754
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Apr 8 20:11:37 2017 +0200
have auditor report command to handle denomination key revocation on
emergency-detection (#3887)
---
src/auditor/taler-auditor.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 1484c2a..5576bd6 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);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: have auditor report command to handle denomination key revocation on emergency-detection (#3887),
gnunet <=