aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_anastasis_api.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_anastasis_api.conf')
-rw-r--r--src/testing/test_anastasis_api.conf264
1 files changed, 264 insertions, 0 deletions
diff --git a/src/testing/test_anastasis_api.conf b/src/testing/test_anastasis_api.conf
new file mode 100644
index 0000000..bde7ee1
--- /dev/null
+++ b/src/testing/test_anastasis_api.conf
@@ -0,0 +1,264 @@
1# This file is in the public domain.
2#
3[PATHS]
4# Persistent data storage for the testcase
5TALER_TEST_HOME = test_anastasis_api_home/
6TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/
7
8# Persistent data storage
9TALER_DATA_HOME = $TALER_TEST_HOME/.local/share/taler/
10
11# Configuration files
12TALER_CONFIG_HOME = $TALER_TEST_HOME/.config/taler/
13
14# Cached data, no big deal if lost
15TALER_CACHE_HOME = $TALER_TEST_HOME/.cache/taler/
16
17[taler]
18# What currency do we use?
19#currency = EUR
20currency = EUR
21#CURRENCY_ROUND_UNIT = EUR:0.01
22#CURRENCY_ROUND_UNIT = EUR:0.01
23
24[taler-helper-crypto-rsa]
25# Reduce from 1 year to speed up test
26LOOKAHEAD_SIGN = 12 days
27
28[taler-helper-crypto-eddsa]
29# Reduce from 1 year to speed up test
30LOOKAHEAD_SIGN = 12 days
31# Reduce from 12 weeks to ensure we have multiple
32DURATION = 7 days
33
34
35[bank]
36HTTP_PORT = 8082
37#BASE_URL = https://bank.test.taler.net/
38
39##########################################
40# Configuration for Anastasis #
41##########################################
42
43[anastasis]
44PORT = 8086
45
46DB = postgres
47
48BUSINESS_NAME = "Checker's Test Inc."
49
50# Upload limit
51UPLOAD_LIMIT_MB = 1
52
53ANNUAL_POLICY_UPLOAD_LIMIT = 64
54
55INSURANCE = EUR:0
56
57SERVER_SALT = salty
58
59# Base URL of anastasis.
60# BASE_URL = http://localhost:8086/
61
62# Where does our payment backend run? Must match PORT under [merchant]
63PAYMENT_BACKEND_URL = http://localhost:8080/
64
65# Annual fee we charge.
66#ANNUAL_FEE = EUR:4.99
67ANNUAL_FEE = EUR:4.99
68
69TRUTH_UPLOAD_FEE = EUR:0.0
70
71# Authentication costs
72[authorization-question]
73# Cost of authentication by question
74COST = EUR:0
75
76[authorization-file]
77# Cost of authentication by file (only for testing purposes)
78COST = EUR:1
79
80[authorization-email]
81# Cost of authentication by E-Mail
82COST = EUR:0
83
84[authorization-sms]
85# Cost of authentication by SMS
86COST = EUR:0
87
88# Command which is executed for the sms authentication
89COMMAND = ./sms_authentication.sh
90
91
92
93
94# This specifies which database the postgres backend uses.
95[stasis-postgres]
96CONFIG = postgres:///anastasischeck
97
98##########################################
99# Configuration for the merchant backend #
100##########################################
101
102[merchant]
103
104# Which port do we run the backend on? (HTTP server)
105PORT = 8080
106
107# How quickly do we want the exchange to send us our money?
108# Used only if the frontend does not specify a value.
109WIRE_TRANSFER_DELAY = 0 s
110
111# Which plugin (backend) do we use for the DB.
112DB = postgres
113
114# Default choice for maximum wire fee.
115DEFAULT_MAX_WIRE_FEE = EUR:0.10
116
117# Default choice for maximum deposit fee.
118DEFAULT_MAX_DEPOSIT_FEE = EUR:0.10
119
120
121# This specifies which database the postgres backend uses.
122[merchantdb-postgres]
123CONFIG = postgres:///talercheck
124
125# Sections starting with "exchange-" specify trusted exchanges
126# (by the merchant)
127[merchant-exchange-default]
128MASTER_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG
129EXCHANGE_BASE_URL = http://localhost:8081/
130#MASTER_KEY = DY95EXAHQ2BKM2WK9YHZHYG1R7PPMMJPY14FNGP662DAKE35AKQG
131#EXCHANGE_BASE_URL = https://exchange.test.taler.net/
132#CURRENCY = EUR
133CURRENCY = EUR
134
135# only fixes skips.
136[auditor]
137BASE_URL = http://the.auditor/
138#BASE_URL = https://auditor.test.taler.net/
139#AUDITOR_KEY = DSDASDXAMDAARMNAD53ZA4AFAHA2QADAMAHHASWDAWXN84SDAA11
140# If currency does not match [TALER] section, the auditor
141# will be ignored!
142CURRENCY = EUR
143
144# Where do we store the auditor's private key?
145AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv
146
147# Auditors must be in sections "auditor-", the rest of the section
148# name could be anything.
149[auditor-ezb]
150# Informal name of the auditor. Just for the user.
151NAME = European Central Bank
152
153# URL of the auditor (especially for in the future, when the
154# auditor offers an automated issue reporting system).
155# Not really used today.
156URL = http://taler.ezb.eu/
157
158# This is the important bit: the signing key of the auditor.
159PUBLIC_KEY = 9QXF7XY7E9VPV47B5Z806NDFSX2VJ79SVHHD29QEQ3BG31ANHZ60
160
161# Which currency is this auditor trusted for?
162CURRENCY = EUR
163
164
165###################################################
166# Configuration for the exchange for the testcase #
167###################################################
168
169[exchange]
170# How to access our database
171DB = postgres
172
173# HTTP port the exchange listens to
174PORT = 8081
175
176# how long are the signatures with the signkey valid?
177SIGNKEY_LEGAL_DURATION = 2 years
178
179# Our public key
180MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG
181
182# Base URL of the exchange.
183BASE_URL = "http://localhost:8081/"
184#BASE_URL = https://exchange.test.taler.net/
185
186KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/
187
188REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/
189
190
191# Network configuration for the normal API/service HTTP server
192# serve via tcp socket (on PORT)
193SERVE = tcp
194
195[exchange-offline]
196
197# Where do we store the offline master private key of the exchange?
198MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv
199
200# Where do we store the TOFU key material?
201SECM_TOFU_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/secm_tofus.pub
202
203
204[exchangedb-postgres]
205CONFIG = "postgres:///talercheck"
206
207[auditordb-postgres]
208CONFIG = "postgres:///talercheck"
209
210# Account of the EXCHANGE
211[exchange-account-exchange]
212# What is the exchange's bank account (with the "Taler Bank" demo system)?
213PAYTO_URI = "payto://x-taler-bank/localhost:8082/2"
214
215WIRE_GATEWAY_URL = "http://localhost:8082/2/"
216WIRE_GATEWAY_AUTH_METHOD = NONE
217
218ENABLE_DEBIT = YES
219ENABLE_CREDIT = YES
220
221
222[coin_eur_ct_1]
223value = EUR:0.01
224duration_withdraw = 7 days
225duration_spend = 2 years
226duration_legal = 3 years
227fee_withdraw = EUR:0.00
228fee_deposit = EUR:0.00
229fee_refresh = EUR:0.01
230fee_refund = EUR:0.01
231rsa_keysize = 1024
232
233[coin_eur_ct_10]
234value = EUR:0.10
235duration_withdraw = 7 days
236duration_spend = 2 years
237duration_legal = 3 years
238fee_withdraw = EUR:0.01
239fee_deposit = EUR:0.01
240fee_refresh = EUR:0.03
241fee_refund = EUR:0.01
242rsa_keysize = 1024
243
244[coin_eur_1]
245value = EUR:1
246duration_withdraw = 7 days
247duration_spend = 2 years
248duration_legal = 3 years
249fee_withdraw = EUR:0.01
250fee_deposit = EUR:0.01
251fee_refresh = EUR:0.03
252fee_refund = EUR:0.01
253rsa_keysize = 1024
254
255[coin_eur_5]
256value = EUR:5
257duration_withdraw = 7 days
258duration_spend = 2 years
259duration_legal = 3 years
260fee_withdraw = EUR:0.01
261fee_deposit = EUR:0.01
262fee_refresh = EUR:0.03
263fee_refund = EUR:0.01
264rsa_keysize = 1024