commit 7242b9b9607995ad7358fa59e27dd5ff6f57ca9f parent 4e125d8eda41dcfa7488c96f7b00011a09959c5d Author: Christian Grothoff <christian@grothoff.org> Date: Fri, 17 Jan 2020 13:10:42 +0100 add TODO Diffstat:
| M | src/auditor/taler-auditor-httpd_deposit-confirmation.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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));