commit 8b3394afffffb87e35a05c0b46db062ea70e6c36
parent b9e1e2fab466d8e6ca0d9646c3af1dafde0a9098
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 18 Jan 2026 10:54:34 +0100
remove bad duplicate config option lookahead_sign
Diffstat:
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/testing/test_exchange_api.conf b/src/testing/test_exchange_api.conf
@@ -158,9 +158,6 @@ CLIENT_DIR = ${TALER_RUNTIME_DIR}secmod-cs/clients
# Where should the security module store its own private key?
SM_PRIV_KEY = ${TALER_EXCHANGE_DATA_HOME}secmod-cs/secmod-private-key
-# For how long into the future do we pre-generate keys?
-LOOKAHEAD_SIGN = 1 year
-
[taler-exchange-secmod-rsa]
@@ -183,9 +180,6 @@ CLIENT_DIR = ${TALER_RUNTIME_DIR}secmod-rsa/clients
# Where should the security module store its own private key?
SM_PRIV_KEY = ${TALER_EXCHANGE_DATA_HOME}secmod-rsa/secmod-private-key
-# For how long into the future do we pre-generate keys?
-LOOKAHEAD_SIGN = 1 year
-
# Round down anchor key start date to multiples of this time.
ANCHOR_ROUND = 1 ms
@@ -210,9 +204,6 @@ CLIENT_DIR = ${TALER_RUNTIME_DIR}secmod-eddsa/clients
# Where should the security module store its own private key?
SM_PRIV_KEY = ${TALER_EXCHANGE_DATA_HOME}secmod-eddsa/secmod-private-key
-# For how long into the future do we pre-generate keys?
-LOOKAHEAD_SIGN = 1 year
-
# For how long are signing keys valid?
DURATION = 12 weeks
diff --git a/src/util/secmod_rsa.c b/src/util/secmod_rsa.c
@@ -1908,6 +1908,11 @@ load_durations (const struct GNUNET_CONFIGURATION_Handle *cfg)
GNUNET_free (secname);
return GNUNET_SYSERR;
}
+ fprintf (stderr,
+ "XXXX %s - %s\n",
+ GNUNET_TIME_relative2s (lookahead_sign,
+ false),
+ secname);
GNUNET_free (secname);
return GNUNET_OK;
}