This commit is contained in:
Christian Grothoff 2020-01-17 13:10:42 +01:00
parent 4e125d8eda
commit 7242b9b960
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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));