merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

test_key_rotation.conf (4299B)


      1 [PATHS]
      2 TALER_HOME = ${PWD}/test_rotation_home/
      3 TALER_DATA_HOME = $TALER_HOME/.local/share/taler/
      4 TALER_CONFIG_HOME = $TALER_HOME/.config/taler/
      5 TALER_CACHE_HOME = $TALER_HOME/.cache/taler/
      6 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime/
      7 
      8 [exchange]
      9 # The denominations of this test are legally valid for 120 s only, so
     10 # neither a purse nor the default expiration of a purse may outlive them.
     11 PURSE_EXPIRATION_LIMIT = 120 s
     12 DEFAULT_P2P_EXPIRATION = 120 s
     13 CURRENCY = TESTKUDOS
     14 CURRENCY_ROUND_UNIT = TESTKUDOS:0.01
     15 TINY_AMOUNT = TESTKUDOS:0.01
     16 MAX_KEYS_CACHING = forever
     17 DB = postgres
     18 SERVE = tcp
     19 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
     20 UNIXPATH_MODE = 660
     21 PORT = 8081
     22 BASE_URL = http://localhost:8081/
     23 SIGNKEY_DURATION = 30 s
     24 SIGNKEY_LEGAL_DURATION = 240 s
     25 KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/
     26 REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/
     27 TERMS_ETAG = 0
     28 PRIVACY_ETAG = 0
     29 
     30 [taler-exchange-secmod-eddsa]
     31 OVERLAP_DURATION = 2 s
     32 KEY_DIR = ${TALER_DATA_HOME}/crypto-eddsa/
     33 UNIXPATH = $TALER_RUNTIME_DIR/taler-exchange-secmod-eddsa.sock
     34 SM_PRIV_KEY = ${TALER_DATA_HOME}/taler-exchange-secmod-eddsa/.private-key
     35 LOOKAHEAD_SIGN = 60 s
     36 DURATION = 30 s
     37 
     38 [taler-exchange-secmod-rsa]
     39 OVERLAP_DURATION = 2 s
     40 KEY_DIR = ${TALER_DATA_HOME}/crypto-rsa/
     41 UNIXPATH = $TALER_RUNTIME_DIR/taler-exchange-secmod-rsa.sock
     42 SM_PRIV_KEY = ${TALER_DATA_HOME}/taler-exchange-secmod-rsa/.private-key
     43 LOOKAHEAD_SIGN = 60 s
     44 
     45 
     46 [merchant]
     47 SERVE = tcp
     48 PORT = 9966
     49 UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http
     50 UNIXPATH_MODE = 660
     51 DEFAULT_WIRE_FEE_AMORTIZATION = 1
     52 DB = postgres
     53 WIREFORMAT = default
     54 # Set very low, so we can be sure that the database generated
     55 # will contain wire transfers "ready" for the aggregator.
     56 WIRE_TRANSFER_DELAY = 1 minute
     57 DEFAULT_PAY_DEADLINE = 1 day
     58 DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1
     59 KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv
     60 DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10
     61 
     62 # Ensure that merchant reports EVERY deposit confirmation to auditor
     63 FORCE_AUDIT = YES
     64 
     65 [auditor]
     66 DB = postgres
     67 AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv
     68 SERVE = tcp
     69 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
     70 UNIXPATH_MODE = 660
     71 PORT = 8083
     72 AUDITOR_URL = http://localhost:8083/
     73 TINY_AMOUNT = TESTKUDOS:0.01
     74 BASE_URL = "http://localhost:8083/"
     75 
     76 [bank]
     77 DATABASE = postgres:///taler-auditor-basedb
     78 MAX_DEBT = TESTKUDOS:50.0
     79 MAX_DEBT_BANK = TESTKUDOS:100000.0
     80 HTTP_PORT = 8082
     81 SUGGESTED_EXCHANGE = http://localhost:8081/
     82 SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2?receiver-name=Exchange
     83 ALLOW_REGISTRATIONS = YES
     84 SERVE = tcp
     85 
     86 [exchangedb]
     87 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
     88 LEGAL_RESERVE_EXPIRATION_TIME = 7 years
     89 
     90 [exchange-account-1]
     91 PAYTO_URI = payto://x-taler-bank/localhost/Exchange?receiver-name=Exchange
     92 enable_debit = yes
     93 enable_credit = yes
     94 
     95 [exchange-accountcredentials-1]
     96 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/Exchange/taler-wire-gateway/"
     97 WIRE_GATEWAY_AUTH_METHOD = basic
     98 USERNAME = Exchange
     99 PASSWORD = password
    100 
    101 [admin-accountcredentials-1]
    102 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/Exchange/taler-wire-gateway/"
    103 WIRE_GATEWAY_AUTH_METHOD = basic
    104 USERNAME = Exchange
    105 PASSWORD = password
    106 
    107 [merchant-exchange-default]
    108 EXCHANGE_BASE_URL = http://localhost:8081/
    109 CURRENCY = TESTKUDOS
    110 
    111 [payments-generator]
    112 currency = TESTKUDOS
    113 instance = default
    114 bank = http://localhost:8082/
    115 merchant = http://localhost:9966/
    116 exchange_admin = http://localhost:18080/
    117 exchange-admin = http://localhost:18080/
    118 exchange = http://localhost:8081/
    119 
    120 [coin_kudos_ct_1]
    121 value = TESTKUDOS:0.01
    122 duration_withdraw = 10 s
    123 duration_spend = 60 s
    124 duration_legal = 2 m
    125 fee_withdraw = TESTKUDOS:0.01
    126 fee_deposit = TESTKUDOS:0.01
    127 fee_refresh = TESTKUDOS:0.01
    128 fee_refund = TESTKUDOS:0.01
    129 rsa_keysize = 1024
    130 CIPHER = RSA
    131 
    132 [coin_kudos_ct_10]
    133 value = TESTKUDOS:0.10
    134 duration_withdraw = 10 s
    135 duration_spend = 60 s
    136 duration_legal = 2 m
    137 fee_withdraw = TESTKUDOS:0.01
    138 fee_deposit = TESTKUDOS:0.01
    139 fee_refresh = TESTKUDOS:0.03
    140 fee_refund = TESTKUDOS:0.01
    141 rsa_keysize = 1024
    142 CIPHER = RSA
    143 
    144 [coin_kudos_50]
    145 value = TESTKUDOS:1
    146 duration_withdraw = 10 s
    147 duration_spend = 60 s
    148 duration_legal = 2 m
    149 fee_withdraw = TESTKUDOS:0.02
    150 fee_deposit = TESTKUDOS:0.02
    151 fee_refresh = TESTKUDOS:0.03
    152 fee_refund = TESTKUDOS:0.01
    153 rsa_keysize = 1024
    154 CIPHER = RSA