merchant

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

test_key_rotation.conf (4073B)


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