summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-31 19:18:31 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-31 19:18:31 +0100
commit65ee08a55352254ac7602d7aad952c2db36f4c7d (patch)
tree38d0ee20d3d7dfbcc2e45eb81f0b3c7558e825a8 /src/util
parentb7af94231b3eac266d0e216e5d91a2c65c7c680e (diff)
downloadexchange-65ee08a55352254ac7602d7aad952c2db36f4c7d.tar.gz
exchange-65ee08a55352254ac7602d7aad952c2db36f4c7d.tar.bz2
exchange-65ee08a55352254ac7602d7aad952c2db36f4c7d.zip
more logging for #6667
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_helper_denom.c4
-rw-r--r--src/util/taler-helper-crypto-rsa.c13
2 files changed, 16 insertions, 1 deletions
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,