test_taler_exchange_httpd.conf (3336B)
1 [PATHS] 2 # Persistent data storage for the testcase 3 TALER_TEST_HOME = test_taler_exchange_httpd_home/ 4 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/ 5 6 [taler] 7 # Currency supported by the exchange (can only be one) 8 CURRENCY = EUR 9 CURRENCY_ROUND_UNIT = EUR:0.01 10 11 [auditor] 12 TINY_AMOUNT = EUR:0.01 13 14 [exchange] 15 # A purse must not outlive the denominations of the coins in it, see the 16 # comment on PURSE_EXPIRATION_LIMIT in exchange.conf. 17 PURSE_EXPIRATION_LIMIT = 3 years 18 19 # Directory with our terms of service. 20 TERMS_DIR = ../../contrib/tos 21 22 # Etag / filename for the terms of service. 23 TERMS_ETAG = 0 24 25 SIGNKEY_LEGAL_DURATION = 2 years 26 27 # Directory with our privacy policy. 28 PRIVACY_DIR = ../../contrib/pp 29 30 # Etag / filename for the privacy policy. 31 PRIVACY_ETAG = 0 32 33 # MAX_REQUESTS = 2 34 # how long is one signkey valid? 35 SIGNKEY_DURATION = 4 weeks 36 37 # how long do we generate denomination and signing keys 38 # ahead of time? 39 LOOKAHEAD_SIGN = 32 weeks 1 day 40 41 # HTTP port the exchange listens to 42 PORT = 8081 43 44 # Master public key used to sign the exchange's various keys 45 MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG 46 47 # How to access our database 48 DB = postgres 49 50 51 [exchangedb] 52 # After how long do we close idle reserves? The exchange 53 # and the auditor must agree on this value. We currently 54 # expect it to be globally defined for the whole system, 55 # as there is no way for wallets to query this value. Thus, 56 # it is only configurable for testing, and should be treated 57 # as constant in production. 58 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks 59 60 61 [exchangedb-postgres] 62 CONFIG = "postgres:///talercheck" 63 64 [exchange-account-1] 65 PAYTO_URI = "payto://x-taler-bank/localhost:8082/3?receiver-name=exchange" 66 ENABLE_DEBIT = YES 67 ENABLE_CREDIT = YES 68 69 [exchange-accountcredentials-1] 70 WIRE_GATEWAY_AUTH_METHOD = basic 71 USERNAME = Exchange 72 PASSWORD = password 73 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/3/taler-wire-gateway/" 74 75 # Coins for the tests. 76 [coin_eur_ct_1_rsa] 77 value = EUR:0.01 78 duration_withdraw = 7 days 79 duration_spend = 2 years 80 duration_legal = 3 years 81 fee_withdraw = EUR:0.00 82 fee_deposit = EUR:0.00 83 fee_refresh = EUR:0.01 84 fee_refund = EUR:0.01 85 CIPHER = RSA 86 rsa_keysize = 1024 87 88 [coin_eur_ct_1_cs] 89 value = EUR:0.01 90 duration_withdraw = 7 days 91 duration_spend = 2 years 92 duration_legal = 3 years 93 fee_withdraw = EUR:0.00 94 fee_deposit = EUR:0.00 95 fee_refresh = EUR:0.01 96 fee_refund = EUR:0.01 97 CIPHER = CS 98 99 [coin_eur_ct_10_rsa] 100 value = EUR:0.10 101 duration_withdraw = 7 days 102 duration_spend = 2 years 103 duration_legal = 3 years 104 fee_withdraw = EUR:0.01 105 fee_deposit = EUR:0.01 106 fee_refresh = EUR:0.03 107 fee_refund = EUR:0.01 108 CIPHER = RSA 109 rsa_keysize = 1024 110 111 [coin_eur_ct_10_cs] 112 value = EUR:0.10 113 duration_withdraw = 7 days 114 duration_spend = 2 years 115 duration_legal = 3 years 116 fee_withdraw = EUR:0.01 117 fee_deposit = EUR:0.01 118 fee_refresh = EUR:0.03 119 fee_refund = EUR:0.01 120 CIPHER = CS 121 122 [coin_eur_1_rsa] 123 value = EUR:1 124 duration_withdraw = 7 days 125 duration_spend = 2 years 126 duration_legal = 3 years 127 fee_withdraw = EUR:0.01 128 fee_deposit = EUR:0.01 129 fee_refresh = EUR:0.03 130 fee_refund = EUR:0.01 131 CIPHER = RSA 132 rsa_keysize = 1024 133 134 [coin_eur_1_cs] 135 value = EUR:1 136 duration_withdraw = 7 days 137 duration_spend = 2 years 138 duration_legal = 3 years 139 fee_withdraw = EUR:0.01 140 fee_deposit = EUR:0.01 141 fee_refresh = EUR:0.03 142 fee_refund = EUR:0.01 143 CIPHER = CS