merchant

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

test_key_rotation.conf (4093B)


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