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