test_sanctions.conf (4687B)
1 # This file is in the public domain. 2 # 3 [PATHS] 4 TALER_TEST_HOME = test_sanctions_api_home/ 5 6 [taler-helper-crypto-rsa] 7 LOOKAHEAD_SIGN = 24 days 8 9 [taler-helper-crypto-eddsa] 10 LOOKAHEAD_SIGN = 24 days 11 DURATION = 14 days 12 13 [bank] 14 HTTP_PORT = 8082 15 16 [exchange] 17 # A purse must not outlive the denominations of the coins in it, see the 18 # comment on PURSE_EXPIRATION_LIMIT in exchange.conf. 19 PURSE_EXPIRATION_LIMIT = 3 years 20 CURRENCY = EUR 21 CURRENCY_ROUND_UNIT = EUR:0.01 22 TINY_AMOUNT = EUR:0.01 23 PORT = 8081 24 MASTER_PUBLIC_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG 25 BASE_URL = "http://localhost:8081/" 26 STEFAN_ABS = "EUR:5" 27 ENABLE_KYC = YES 28 29 [exchange-sanctionscheck] 30 RATER_COMMAND = robocop sanction-list.json 31 32 [exchangedb-postgres] 33 CONFIG = "postgres:///talercheck" 34 SQL_DIR = ${DATADIR}sql/ 35 DEFAULT_PURSE_LIMIT = 1 36 37 [kyc-check-test-form] 38 VOLUNTARY = NO 39 # We use an external provider 40 TYPE = FORM 41 DESCRIPTION = "Test form" 42 DESCRIPTION_I18N = {} 43 # No context requirements 44 REQUIRES = 45 # Measure to execute if check failed. 46 FALLBACK = manual-freeze 47 # This check runs on oauth2 48 FORM_NAME = full_name_and_birthdate 49 # Outputs from this check 50 OUTPUTS = FULL_NAME DATE_OF_BIRTH 51 52 # This is the "default" setting for an account if 53 # it has not yet triggered anything. 54 [kyc-check-default] 55 VOLUNTARY = NO 56 TYPE = INFO 57 DESCRIPTION = "Your account is operating normally" 58 DESCRIPTION_I18N = {} 59 # No context requirements 60 REQUIRES = 61 # Measure to execute if check failed. Well, 62 # this check cannot really fail, but the 63 # conservative answer is to freeze. 64 FALLBACK = manual-freeze 65 66 # If this "check" is triggered, we merely inform 67 # the user that their account has been frozen. The 68 # user cannot proceed manually. 69 [kyc-check-info-frozen] 70 VOLUNTARY = NO 71 TYPE = INFO 72 DESCRIPTION = "Your account is frozen pending investigation" 73 DESCRIPTION_I18N = {} 74 # No context requirements 75 REQUIRES = 76 # Measure to execute if check failed. Well, 77 # this check cannot really fail, but we stay 78 # where we are: frozen. 79 FALLBACK = manual-freeze 80 81 [kyc-measure-run-form] 82 # Get client ID via the OAuth test provider 83 CHECK_NAME = test-form 84 # AML program to run on the output of the OAuth provider 85 # to decide what rules should apply next. 86 PROGRAM = form-output-check 87 # Context to provide for check and program; empty. 88 CONTEXT = {} 89 90 [aml-program-form-output-check] 91 DESCRIPTION = "Validates the output from the test-form and then increases all limits to EUR:1000" 92 # Command that runs on the output of the form 93 # to decide what rules should apply next. 94 COMMAND = taler-exchange-helper-measure-test-form 95 # What measure to take if the COMMAND failed. 96 FALLBACK = manual-freeze 97 98 99 # This is a base-measure that is being triggered 100 # whenever something goes wrong. We freeze the 101 # account and ask AML staff to investigate. 102 [kyc-measure-manual-freeze] 103 CHECK_NAME = skip 104 # AML program that freezes the account and flags 105 # it for investigation. 106 PROGRAM = freeze 107 # Context to provide for check and program; empty. 108 CONTEXT = {} 109 110 [aml-program-freeze] 111 DESCRIPTION = "Freeze the account" 112 COMMAND = taler-exchange-helper-measure-freeze 113 FALLBACK = manual-freeze 114 115 [kyc-rule-balance-high] 116 ENABLED = YES 117 EXPOSED = YES 118 IS_AND_COMBINATOR = YES 119 OPERATION_TYPE = BALANCE 120 NEXT_MEASURES = run-form 121 THRESHOLD = EUR:1 122 TIMEFRAME = 1d 123 124 [exchangedb-postgres] 125 CONFIG = "postgres:///talercheck" 126 127 # Account of the EXCHANGE 128 [exchange-account-exchange] 129 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2" 130 ENABLE_DEBIT = YES 131 ENABLE_CREDIT = YES 132 133 [exchange-accountcredentials-exchange] 134 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 135 WIRE_GATEWAY_AUTH_METHOD = NONE 136 137 [admin-accountcredentials-exchange] 138 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" 139 WIRE_GATEWAY_AUTH_METHOD = NONE 140 141 142 [coin_eur_ct_1] 143 value = EUR:0.01 144 duration_withdraw = 7 days 145 duration_spend = 2 years 146 duration_legal = 3 years 147 fee_withdraw = EUR:0.00 148 fee_deposit = EUR:0.00 149 fee_refresh = EUR:0.01 150 fee_refund = EUR:0.01 151 rsa_keysize = 1024 152 CIPHER = RSA 153 154 [coin_eur_ct_10] 155 value = EUR:0.10 156 duration_withdraw = 7 days 157 duration_spend = 2 years 158 duration_legal = 3 years 159 fee_withdraw = EUR:0.01 160 fee_deposit = EUR:0.01 161 fee_refresh = EUR:0.03 162 fee_refund = EUR:0.01 163 rsa_keysize = 1024 164 CIPHER = RSA 165 166 [coin_eur_1] 167 value = EUR:1 168 duration_withdraw = 7 days 169 duration_spend = 2 years 170 duration_legal = 3 years 171 fee_withdraw = EUR:0.01 172 fee_deposit = EUR:0.01 173 fee_refresh = EUR:0.03 174 fee_refund = EUR:0.01 175 rsa_keysize = 1024 176 CIPHER = RSA 177 178 [coin_eur_5] 179 value = EUR:5 180 duration_withdraw = 7 days 181 duration_spend = 2 years 182 duration_legal = 3 years 183 fee_withdraw = EUR:0.01 184 fee_deposit = EUR:0.01 185 fee_refresh = EUR:0.03 186 fee_refund = EUR:0.01 187 rsa_keysize = 1024 188 CIPHER = RSA