test_anastasis_api.conf (5874B)
1 # This file is in the public domain. 2 # 3 [PATHS] 4 TALER_TEST_HOME = test_anastasis_api_home/ 5 TALER_HOME = ${TALER_TEST_HOME:-${HOME:-${USERPROFILE}}} 6 TALER_DATA_HOME = ${TALER_TEST_HOME:-${XDG_DATA_HOME:-${TALER_HOME}/.local/share/}/.local/share/}taler/ 7 TALER_CONFIG_HOME = ${TALER_TEST_HOME:-${XDG_CONFIG_HOME:-${TALER_HOME}/.config/}/.config/}taler/ 8 TALER_CACHE_HOME = ${TALER_TEST_HOME:-${XDG_CACHE_HOME:-${TALER_HOME}/.cache/}/.cache/}taler/ 9 # Keep the runtime directory (which holds the secmod UNIX domain sockets) 10 # per-user: a fixed name under a shared /tmp is created by whoever runs the 11 # test suite first and is then unusable for everybody else. Matches the 12 # convention of exchange-paths.conf. 13 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/ 14 15 [taler-helper-crypto-rsa] 16 LOOKAHEAD_SIGN = 12 days 17 18 [taler-helper-crypto-eddsa] 19 LOOKAHEAD_SIGN = 12 days 20 DURATION = 7 days 21 22 # The bank is libeufin-bank (see below); this section only survives because 23 # TALER_TESTING_get_credentials() insists on reading [bank]/HTTP_PORT. 24 [bank] 25 HTTP_PORT = 8082 26 BASE_URL = http://localhost:8082/ 27 28 # libeufin-bank is started by taler-unified-setup.sh (option '-b'); WIRE_TYPE 29 # must agree with the wire method the tests pass to it ('-d iban'), as that is 30 # what decides the shape of the payto://-URIs of the accounts it registers. 31 [libeufin-bank] 32 CURRENCY = EUR 33 WIRE_TYPE = iban 34 IBAN_PAYTO_BIC = SANDBOXX 35 BASE_URL = http://localhost:8082/ 36 DEFAULT_CUSTOMER_DEBT_LIMIT = EUR:200 37 DEFAULT_ADMIN_DEBT_LIMIT = EUR:2000 38 REGISTRATION_BONUS_ENABLED = yes 39 REGISTRATION_BONUS = EUR:100 40 SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/ 41 SERVE = tcp 42 PORT = 8082 43 # a cheap password hash keeps the test fast 44 PWD_HASH_CONFIG = { "cost": 4 } 45 # allow HTTP basic authentication, which is what the exchange's wire gateway 46 # client uses to talk to the bank 47 PWD_AUTH_COMPAT = yes 48 49 [libeufin-bankdb-postgres] 50 CONFIG = postgres:///talercheck 51 52 [anastasis] 53 PORT = 8086 54 DB = postgres 55 CURRENCY = EUR 56 BUSINESS_NAME = "Checker's Test Inc." 57 UPLOAD_LIMIT_MB = 1 58 ANNUAL_POLICY_UPLOAD_LIMIT = 64 59 INSURANCE = EUR:0 60 PROVIDER_SALT = salty 61 ANNUAL_FEE = EUR:4.99 62 TRUTH_UPLOAD_FEE = EUR:0.0 63 BASE_URL = http://localhost:8086/ 64 65 [anastasis-merchant-backend] 66 PAYMENT_BACKEND_URL = http://localhost:8080/ 67 68 [authorization-question] 69 CURRENCY = EUR 70 COST = EUR:0 71 72 [authorization-file] 73 CURRENCY = EUR 74 COST = EUR:1 75 # The file method writes the challenge code to a file whose name comes from 76 # the (client-supplied) truth, so the plugin only accepts names inside this 77 # directory. Per-user, like TALER_RUNTIME_DIR, so that concurrent runs by 78 # different users on one host do not collide. 79 DIRECTORY = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/anastasis-file-challenges/ 80 81 [authorization-email] 82 CURRENCY = EUR 83 COST = EUR:0 84 85 [authorization-sms] 86 CURRENCY = EUR 87 COST = EUR:0 88 COMMAND = ./sms_authentication.sh 89 90 [stasis-postgres] 91 CONFIG = postgres:///anastasischeck 92 93 [merchant] 94 PORT = 8080 95 WIRE_TRANSFER_DELAY = 0 s 96 DB = postgres 97 98 [merchantdb-postgres] 99 CONFIG = postgres:///talercheck 100 101 [merchant-exchange-default] 102 MASTER_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG 103 EXCHANGE_BASE_URL = http://localhost:8081/ 104 CURRENCY = EUR 105 106 [auditor] 107 PORT = 8083 108 BASE_URL = "http://localhost:8083/" 109 TINY_AMOUNT = EUR:0.01 110 111 [exchange] 112 # A purse must not outlive the denominations of the coins in it, see the 113 # comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. 114 PURSE_EXPIRATION_LIMIT = 3 years 115 CURRENCY = EUR 116 CURRENCY_ROUND_UNIT = EUR:0.01 117 TINY_AMOUNT = EUR:0.01 118 DB = postgres 119 PORT = 8081 120 SIGNKEY_LEGAL_DURATION = 2 years 121 MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG 122 BASE_URL = "http://localhost:8081/" 123 SERVE = tcp 124 STEFAN_ABS = "EUR:5" 125 126 [exchange-offline] 127 MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv 128 129 SECM_TOFU_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/secm_tofus.pub 130 131 [taler-exchange-secmod-eddsa] 132 KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-eddsa/keys 133 134 [taler-exchange-secmod-rsa] 135 KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-rsa/keys 136 137 [taler-exchange-secmod-cs] 138 KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-cs/keys 139 140 141 [exchangedb-postgres] 142 CONFIG = "postgres:///talercheck" 143 144 # 'exchange' is one of the accounts taler-unified-setup.sh registers at 145 # libeufin-bank; the IBAN is the one it hard-codes for that account. 146 [exchange-account-exchange] 147 PAYTO_URI = "payto://iban/SANDBOXX/DE989651?receiver-name=Exchange+Company" 148 ENABLE_DEBIT = YES 149 ENABLE_CREDIT = YES 150 151 [exchange-accountcredentials-exchange] 152 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" 153 WIRE_GATEWAY_AUTH_METHOD = basic 154 USERNAME = exchange 155 PASSWORD = password 156 157 [admin-accountcredentials-exchange] 158 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" 159 WIRE_GATEWAY_AUTH_METHOD = basic 160 USERNAME = admin 161 # the password taler-unified-setup.sh gives the bank's admin account 162 PASSWORD = secret-password 163 164 [coin_eur_ct_1] 165 value = EUR:0.01 166 duration_withdraw = 7 days 167 duration_spend = 2 years 168 duration_legal = 3 years 169 fee_withdraw = EUR:0.00 170 fee_deposit = EUR:0.00 171 fee_refresh = EUR:0.01 172 fee_refund = EUR:0.01 173 rsa_keysize = 1024 174 CIPHER = RSA 175 176 [coin_eur_ct_10] 177 value = EUR:0.10 178 duration_withdraw = 7 days 179 duration_spend = 2 years 180 duration_legal = 3 years 181 fee_withdraw = EUR:0.01 182 fee_deposit = EUR:0.01 183 fee_refresh = EUR:0.03 184 fee_refund = EUR:0.01 185 rsa_keysize = 1024 186 CIPHER = RSA 187 188 [coin_eur_1] 189 value = EUR:1 190 duration_withdraw = 7 days 191 duration_spend = 2 years 192 duration_legal = 3 years 193 fee_withdraw = EUR:0.01 194 fee_deposit = EUR:0.01 195 fee_refresh = EUR:0.03 196 fee_refund = EUR:0.01 197 rsa_keysize = 1024 198 CIPHER = RSA 199 200 [coin_eur_5] 201 value = EUR:5 202 duration_withdraw = 7 days 203 duration_spend = 2 years 204 duration_legal = 3 years 205 fee_withdraw = EUR:0.01 206 fee_deposit = EUR:0.01 207 fee_refresh = EUR:0.03 208 fee_refund = EUR:0.01 209 rsa_keysize = 1024 210 CIPHER = RSA