[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix DH revocation logic
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix DH revocation logic |
Date: |
Fri, 15 Jan 2021 15:38:49 +0100 |
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 33835b12 fix DH revocation logic
33835b12 is described below
commit 33835b124b301fe688c82093a0fd6e38d28a91d3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 15 15:38:47 2021 +0100
fix DH revocation logic
---
.../taler-exchange-httpd_management_denominations_HDP_revoke.c | 2 +-
src/util/crypto_helper_denom.c | 6 ++++++
src/util/taler-helper-crypto-rsa.c | 4 ++--
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git
a/src/exchange/taler-exchange-httpd_management_denominations_HDP_revoke.c
b/src/exchange/taler-exchange-httpd_management_denominations_HDP_revoke.c
index 23e6cfb4..1a89652e 100644
--- a/src/exchange/taler-exchange-httpd_management_denominations_HDP_revoke.c
+++ b/src/exchange/taler-exchange-httpd_management_denominations_HDP_revoke.c
@@ -81,7 +81,7 @@ TEH_handler_management_denominations_HDP_revoke (
TALER_EC_GENERIC_DB_STORE_FAILED,
"denomination revocation");
}
- TEH_keys_update_states ();
+ TEH_keys_denomination_revoke (h_denom_pub);
return TALER_MHD_reply_static (
connection,
MHD_HTTP_NO_CONTENT,
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index 1ef24d3f..88eecec2 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -366,6 +366,9 @@ handle_mt_purge (struct TALER_CRYPTO_DenominationHelper *dh,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Received revocation of denomination key %s\n",
+ GNUNET_h2s (&pn->h_denom_pub));
dh->dkc (dh->dkc_cls,
NULL,
GNUNET_TIME_UNIT_ZERO_ABS,
@@ -681,6 +684,9 @@ TALER_CRYPTO_helper_denom_revoke (
}
/* We are using SOCK_DGRAM, partial writes should not be possible */
GNUNET_break (((size_t) ret) == sizeof (rr));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Requested revocation of denomination key %s\n",
+ GNUNET_h2s (h_denom_pub));
}
diff --git a/src/util/taler-helper-crypto-rsa.c
b/src/util/taler-helper-crypto-rsa.c
index ae75e5a2..779f7dae 100644
--- a/src/util/taler-helper-crypto-rsa.c
+++ b/src/util/taler-helper-crypto-rsa.c
@@ -958,7 +958,6 @@ handle_revoke_request (const struct sockaddr_un *addr,
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
"unlink",
dk->filename);
-
/* Setup replacement key */
denom = dk->denom;
ndk = GNUNET_new (struct DenominationKey);
@@ -985,7 +984,8 @@ handle_revoke_request (const struct sockaddr_un *addr,
denom->keys_tail,
dk);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Revocation complete\n");
+ "Revocation of denomination key %s complete\n",
+ GNUNET_h2s (&rr->h_denom_pub));
/* Tell clients this key is gone */
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix DH revocation logic,
gnunet <=