exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 65ee08a55352254ac7602d7aad952c2db36f4c7d
parent b7af94231b3eac266d0e216e5d91a2c65c7c680e
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 31 Dec 2020 19:18:31 +0100

more logging for #6667

Diffstat:
Msrc/util/crypto_helper_denom.c | 4++++
Msrc/util/taler-helper-crypto-rsa.c | 13++++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git 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 @@ -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,