gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: more logging for #6667


From: gnunet
Subject: [taler-exchange] branch master updated: more logging for #6667
Date: Thu, 31 Dec 2020 19:18:33 +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 65ee08a5 more logging for #6667
65ee08a5 is described below

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

    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(-)

diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index f455caaa..266534ba 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 345a826a..6a1019af 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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]