From 7242b9b9607995ad7358fa59e27dd5ff6f57ca9f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Jan 2020 13:10:42 +0100 Subject: add TODO --- src/auditor/taler-auditor-httpd_deposit-confirmation.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/auditor') diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c b/src/auditor/taler-auditor-httpd_deposit-confirmation.c index 4c80d8aa2..4a8890e9b 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c @@ -67,6 +67,11 @@ verify_and_execute_deposit_confirmation (struct MHD_Connection *connection, TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID, "master_sig (expired)"); } + + /* TODO: consider having an in-memory cache of already + verified exchange signing keys, this could save us + a signature check AND a database transaction per + operation. */ /* check exchange signing key signature */ skv.purpose.purpose = htonl (TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY); skv.purpose.size = htonl (sizeof (struct TALER_ExchangeSigningKeyValidityPS)); -- cgit v1.2.3