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