From 65ee08a55352254ac7602d7aad952c2db36f4c7d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 31 Dec 2020 19:18:31 +0100 Subject: more logging for #6667 --- src/util/crypto_helper_denom.c | 4 ++++ src/util/taler-helper-crypto-rsa.c | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c index f455caaaf..266534ba9 100644 --- a/src/util/crypto_helper_denom.c +++ b/src/util/crypto_helper_denom.c @@ -295,6 +295,10 @@ handle_mt_avail (struct TALER_CRYPTO_DenominationHelper *dh, } GNUNET_CRYPTO_rsa_public_key_hash (denom_pub.rsa_public_key, &h_denom_pub); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Received RSA key %s (%s)\n", + GNUNET_h2s (&h_denom_pub), + section_name); if (GNUNET_OK != TALER_exchange_secmod_rsa_verify ( &h_denom_pub, diff --git a/src/util/taler-helper-crypto-rsa.c b/src/util/taler-helper-crypto-rsa.c index 345a826a6..6a1019af4 100644 --- a/src/util/taler-helper-crypto-rsa.c +++ b/src/util/taler-helper-crypto-rsa.c @@ -591,6 +591,8 @@ handle_done (void *cls) buf, buf_size); GNUNET_free (buf); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Sending RSA signature\n"); (void) transmit (&wi->addr, wi->addr_size, &sr->header); @@ -740,6 +742,10 @@ notify_client_dk_add (struct Client *client, { int ret = GNUNET_OK; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Sending RSA denomination key %s (%s)\n", + GNUNET_h2s (&dk->h_denom_pub), + denom->section); if (GNUNET_OK != transmit (&client->addr, client->addr_size, @@ -774,6 +780,9 @@ notify_client_dk_del (struct Client *client, .h_denom_pub = dk->h_denom_pub }; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Sending RSA denomination expiration %sn", + GNUNET_h2s (&dk->h_denom_pub)); if (GNUNET_OK != transmit (&client->addr, client->addr_size, @@ -1063,6 +1072,8 @@ read_job (void *cls) .size = htons (sizeof (synced)) }; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Sending RSA SYNCED message\n"); if (GNUNET_OK != transmit (&client->addr, client->addr_size, @@ -2032,7 +2043,7 @@ main (int argc, GNUNET_OS_init (TALER_project_data_default ()); GNUNET_assert (GNUNET_OK == GNUNET_log_setup ("taler-helper-crypto-rsa", - "WARNING", + "INFO", NULL)); now = now_tmp = GNUNET_TIME_absolute_get (); ret = GNUNET_PROGRAM_run (argc, argv, -- cgit v1.2.3