diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/taler-exchange-secmod-cs.conf | 8 | ||||
-rw-r--r-- | src/util/taler-exchange-secmod-eddsa.conf | 8 | ||||
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.conf | 8 | ||||
-rw-r--r-- | src/util/wallet_signatures.c | 10 |
4 files changed, 22 insertions, 12 deletions
diff --git a/src/util/taler-exchange-secmod-cs.conf b/src/util/taler-exchange-secmod-cs.conf index 5085eab79..fa3cdba40 100644 --- a/src/util/taler-exchange-secmod-cs.conf +++ b/src/util/taler-exchange-secmod-cs.conf @@ -8,16 +8,16 @@ OVERLAP_DURATION = 5 m # Where do we store the generated private keys. -KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-cs/keys +KEY_DIR = ${TALER_DATA_HOME}exchange-secmod-cs/keys # Where does the helper listen for requests? -UNIXPATH = $TALER_RUNTIME_DIR/exchange-secmod-cs/server.sock +UNIXPATH = ${TALER_RUNTIME_DIR}exchange-secmod-cs/server.sock # Directory for clients. -CLIENT_DIR = $TALER_RUNTIME_DIR/exchange-secmod-cs/clients +CLIENT_DIR = ${TALER_RUNTIME_DIR}exchange-secmod-cs/clients # Where should the security module store its own private key? -SM_PRIV_KEY = ${TALER_DATA_HOME}/exchange-secmod-cs/secmod-private-key +SM_PRIV_KEY = ${TALER_DATA_HOME}exchange-secmod-cs/secmod-private-key # For how long into the future do we pre-generate keys? LOOKAHEAD_SIGN = 1 year diff --git a/src/util/taler-exchange-secmod-eddsa.conf b/src/util/taler-exchange-secmod-eddsa.conf index ea09f0334..0cb4a4ffc 100644 --- a/src/util/taler-exchange-secmod-eddsa.conf +++ b/src/util/taler-exchange-secmod-eddsa.conf @@ -8,16 +8,16 @@ OVERLAP_DURATION = 5m # Where do we store the private keys. -KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-eddsa/keys +KEY_DIR = ${TALER_DATA_HOME}exchange-secmod-eddsa/keys # Where does the helper listen for requests? -UNIXPATH = $TALER_RUNTIME_DIR/exchange-secmod-eddsa/server.sock +UNIXPATH = ${TALER_RUNTIME_DIR}exchange-secmod-eddsa/server.sock # Directory for clients. -CLIENT_DIR = $TALER_RUNTIME_DIR/exchange-secmod-eddsa/clients +CLIENT_DIR = ${TALER_RUNTIME_DIR}exchange-secmod-eddsa/clients # Where should the security module store its own private key? -SM_PRIV_KEY = ${TALER_DATA_HOME}/exchange-secmod-eddsa/secmod-private-key +SM_PRIV_KEY = ${TALER_DATA_HOME}exchange-secmod-eddsa/secmod-private-key # For how long into the future do we pre-generate keys? LOOKAHEAD_SIGN = 1 year diff --git a/src/util/taler-exchange-secmod-rsa.conf b/src/util/taler-exchange-secmod-rsa.conf index dfa87f050..7b16ad114 100644 --- a/src/util/taler-exchange-secmod-rsa.conf +++ b/src/util/taler-exchange-secmod-rsa.conf @@ -8,16 +8,16 @@ OVERLAP_DURATION = 5 m # Where do we store the generated private keys. -KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-rsa/keys +KEY_DIR = ${TALER_DATA_HOME}exchange-secmod-rsa/keys # Where does the helper listen for requests? -UNIXPATH = $TALER_RUNTIME_DIR/exchange-secmod-rsa/server.sock +UNIXPATH = ${TALER_RUNTIME_DIR}exchange-secmod-rsa/server.sock # Directory for clients. -CLIENT_DIR = $TALER_RUNTIME_DIR/exchange-secmod-rsa/clients +CLIENT_DIR = ${TALER_RUNTIME_DIR}exchange-secmod-rsa/clients # Where should the security module store its own private key? -SM_PRIV_KEY = ${TALER_DATA_HOME}/exchange-secmod-rsa/secmod-private-key +SM_PRIV_KEY = ${TALER_DATA_HOME}exchange-secmod-rsa/secmod-private-key # For how long into the future do we pre-generate keys? LOOKAHEAD_SIGN = 1 year diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c index 0b6ab5432..ebdb7eab9 100644 --- a/src/util/wallet_signatures.c +++ b/src/util/wallet_signatures.c @@ -201,6 +201,16 @@ TALER_wallet_deposit_verify ( amount); TALER_amount_hton (&dr.deposit_fee, deposit_fee); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Validating deposit with hash %s, wallet timestamp %llu and refund deadline %llu by %s\n", + GNUNET_h2s (&h_contract_terms->hash), + (unsigned long long) wallet_timestamp.abs_time.abs_value_us, + (unsigned long long) refund_deadline.abs_time.abs_value_us, + TALER_B2S (merchant_pub)); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Denomination is %s, wire target is %s\n", + GNUNET_h2s (&h_denom_pub->hash), + TALER_B2S (h_wire)); if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT, &dr, |