diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-01 15:48:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-01 15:48:43 +0100 |
commit | 26410a72c20632765d22ee10bbf51934c74d15af (patch) | |
tree | 668b6c4678cba682e29e6fcf4d0953e4736b36d3 | |
parent | 65ac35a72ca0dd5349ed88b522740d20725b3dca (diff) |
fix #6666, bump protocol version to 9
-rw-r--r-- | src/auditor/taler-auditor-httpd_deposit-confirmation.c | 1 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 | ||||
-rw-r--r-- | src/include/taler_signatures.h | 6 | ||||
-rw-r--r-- | src/util/offline_signatures.c | 3 |
4 files changed, 1 insertions, 11 deletions
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c b/src/auditor/taler-auditor-httpd_deposit-confirmation.c index 726e4de6d..5c1ee9f03 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c @@ -70,7 +70,6 @@ verify_and_execute_deposit_confirmation ( struct TALER_ExchangeSigningKeyValidityPS skv = { .purpose.purpose = htonl (TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY), .purpose.size = htonl (sizeof (struct TALER_ExchangeSigningKeyValidityPS)), - .master_public_key = es->master_public_key, .start = GNUNET_TIME_absolute_hton (es->ep_start), .expire = GNUNET_TIME_absolute_hton (es->ep_expire), .end = GNUNET_TIME_absolute_hton (es->ep_end), diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index ef4b3bf0f..b048f1d32 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -43,7 +43,7 @@ * #TALER_PROTOCOL_CURRENT and #TALER_PROTOCOL_AGE in * exchange_api_handle.c! */ -#define EXCHANGE_PROTOCOL_VERSION "8:0:0" +#define EXCHANGE_PROTOCOL_VERSION "9:0:0" /** diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 5f380812c..5622c7b6b 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -754,12 +754,6 @@ struct TALER_ExchangeSigningKeyValidityPS struct GNUNET_CRYPTO_EccSignaturePurpose purpose; /** - * Master public key of the exchange corresponding to @e signature. - * This is the long-term offline master key of the exchange. - */ - struct TALER_MasterPublicKeyP master_public_key; - - /** * When does this signing key begin to be valid? */ struct GNUNET_TIME_AbsoluteNBO start; diff --git a/src/util/offline_signatures.c b/src/util/offline_signatures.c index aab46fc7d..bd71af8ff 100644 --- a/src/util/offline_signatures.c +++ b/src/util/offline_signatures.c @@ -213,8 +213,6 @@ TALER_exchange_offline_signkey_validity_sign ( .signkey_pub = *exchange_pub }; - GNUNET_CRYPTO_eddsa_key_get_public (&master_priv->eddsa_priv, - &skv.master_public_key.eddsa_pub); GNUNET_CRYPTO_eddsa_sign (&master_priv->eddsa_priv, &skv, &master_sig->eddsa_signature); @@ -234,7 +232,6 @@ TALER_exchange_offline_signkey_validity_verify ( .purpose.purpose = htonl ( TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY), .purpose.size = htonl (sizeof (skv)), - .master_public_key = *master_pub, .start = GNUNET_TIME_absolute_hton (start_sign), .expire = GNUNET_TIME_absolute_hton (end_sign), .end = GNUNET_TIME_absolute_hton (end_legal), |