From 94a50fc33e7ee409a991d73f81f26565ce28ef1c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Dec 2021 09:37:43 +0100 Subject: -do not log tokens --- src/backend/taler-merchant-httpd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 550a2ce6..cae16909 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -165,8 +165,7 @@ TMH_check_auth (const char *token, strlen (token), &dec); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Checking against token %s with salt %s\n", - dec, + "Checking against token with salt %s\n", TALER_B2S (salt)); GNUNET_assert (GNUNET_YES == GNUNET_CRYPTO_kdf (&val, @@ -196,8 +195,7 @@ TMH_compute_auth (const char *token, salt, sizeof (*salt)); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Computing initial auth using token %s with salt %s\n", - token, + "Computing initial auth using token with salt %s\n", TALER_B2S (salt)); GNUNET_assert (GNUNET_YES == GNUNET_CRYPTO_kdf (hash, -- cgit v1.2.3