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