have auditor report command to handle denomination key revocation on emergency-detection (#3887)
This commit is contained in:
parent
d2f970c964
commit
d27f7f34b4
@ -121,11 +121,14 @@ static struct TALER_AUDITORDB_ProgressPoint pp;
|
|||||||
static void
|
static void
|
||||||
report_emergency (const struct TALER_EXCHANGEDB_DenominationKeyInformationP *dki)
|
report_emergency (const struct TALER_EXCHANGEDB_DenominationKeyInformationP *dki)
|
||||||
{
|
{
|
||||||
/* TODO: properly implement #3887, including how to continue the
|
char *dhks;
|
||||||
audit after the emergency. */
|
|
||||||
|
dhks = GNUNET_STRINGS_data_to_string_alloc (&dki->properties.denom_hash,
|
||||||
|
sizeof (struct GNUNET_HashCode));
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Emergency detected for denomination %s\n",
|
"Emergency detected. Exchange must revoke key using `taler-auditor -r %s`\n",
|
||||||
GNUNET_h2s (&dki->properties.denom_hash));
|
dhks);
|
||||||
|
GNUNET_free (dhks);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user