summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-26 13:56:01 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-26 13:56:01 +0200
commit4f7582bf86d8f8d873c4387d21637ea91c76b0b1 (patch)
tree6149f2bcac806debc37e59788bc359f840c74d78 /config
parented1824fbe14ea2f34c4f9ae0cf1134d3818b6ff1 (diff)
downloaddeployment-4f7582bf86d8f8d873c4387d21637ea91c76b0b1.tar.gz
deployment-4f7582bf86d8f8d873c4387d21637ea91c76b0b1.tar.bz2
deployment-4f7582bf86d8f8d873c4387d21637ea91c76b0b1.zip
test config
Diffstat (limited to 'config')
-rw-r--r--config/demo.taler.net/taler.conf149
-rw-r--r--config/demo.taler.net/taler/exchange/wire/test.json8
-rw-r--r--config/demo.taler.net/taler/merchant/wire/test.json7
3 files changed, 164 insertions, 0 deletions
diff --git a/config/demo.taler.net/taler.conf b/config/demo.taler.net/taler.conf
new file mode 100644
index 0000000..634c1c8
--- /dev/null
+++ b/config/demo.taler.net/taler.conf
@@ -0,0 +1,149 @@
+[paths]
+TALER_CONFIG_HOME = ${TALER_DEPLOYMENT_BASE:-$HOME}/config/taler
+# data that is shared across all deployments on e.g. one account
+TALER_DEPLOYMENT_SHARED = ${HOME}/shared-data
+
+[taler]
+CURRENCY = PUDOS
+
+[bank]
+uwsgi_serve = unix
+uwsgi_unixpath = ${TALER_DEPLOYMENT_BASE:-$HOME}/sockets/bank.uwsgi
+
+[donations]
+uwsgi_serve = unix
+uwsgi_unixpath = ${TALER_DEPLOYMENT_BASE:-$HOME}/sockets/donations.uwsgi
+
+[blog]
+uwsgi_serve = unix
+uwsgi_unixpath = ${TALER_DEPLOYMENT_BASE:-$HOME}/sockets/blog.uwsgi
+
+[merchant]
+WIREFORMAT = test
+SERVE = unix
+UNIXPATH = ${TALER_DEPLOYMENT_BASE:-$HOME}/sockets/merchant.http
+KEYFILE = ${TALER_DEPLOYMENT_SHARED}/merchant/merchant.priv
+
+[merchant-wireformat]
+BANK_URI = https://bank.test.taler.net/
+BANK_ACCOUNT_NUMBER = 3
+TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/taler/merchant/wire/test.json
+
+[merchantdb-postgres]
+CONFIG = postgres:///talerdemo
+
+[merchant-exchange-test]
+URI = https://exchange.demo.taler.net/
+MASTER_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
+
+[exchange]
+SERVE = unix
+UNIXPATH = ${TALER_DEPLOYMENT_BASE:-$HOME}/sockets/exchange.http
+KEYDIR = ${TALER_DEPLOYMENT_SHARED:-$HOME}/exchange/live-keys/
+MASTER_PRIV_FILE = ${TALER_DEPLOYMENT_SHARED}/exchange/offline-keys/master.priv
+MASTER_PUBLIC_KEY = CQQZ9DY3MZ1ARMN5K1VKDETS04Y2QCKMMCFHZSWJWWVN82BTTH00
+WIREFORMAT = test
+TESTRUN = YES
+
+[exchangedb-postgres]
+DB_CONN_STR = "postgres:///talerdemo"
+
+[exchange-wire-outgoing-test]
+BANK_URI = https://bank.demo.taler.net/
+BANK_ACCOUNT_NUMBER = 1
+EXCHANGE_ACCOUNT_NUMBER = 2
+
+[exchange_keys]
+# how long is one signkey valid?
+signkey_duration = 18 weeks
+
+# how long are the signatures with the signkey valid?
+legal_duration = 2 years
+
+# how long do we generate denomination and signing keys
+# ahead of time?
+lookahead_sign = 32 weeks 1 day
+
+# how long do we provide to clients denomination and signing keys
+# ahead of time?
+lookahead_provide = 4 weeks 1 day
+
+[merchant]
+EDATE = 3 week
+
+# Coin definitions are detected because the section
+# name begins with "coin_". The rest of the
+# name is free, but of course following the convention
+# of "coin_$CURRENCY[_$SUBUNIT]_$VALUE" make sense.
+[coin_pudos_ct_10]
+value = KUDOS:0.10
+duration_overlap = 5 minutes
+duration_withdraw = 32 years
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 1024
+
+
+[coin_pudos_1]
+value = KUDOS:1
+duration_overlap = 5 minutes
+duration_withdraw = 17 weeks
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 1024
+
+[coin_pudos_2]
+value = KUDOS:2
+duration_overlap = 5 minutes
+duration_withdraw = 17 weeks
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 1024
+
+[coin_pudos_5]
+value = KUDOS:5
+duration_overlap = 5 minutes
+duration_withdraw = 17 weeks
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 1024
+
+[coin_pudos_10]
+value = KUDOS:10
+duration_overlap = 5 minutes
+duration_withdraw = 17 weeks
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 1024
+
+[coin_pudos_1000]
+value = KUDOS:1000
+duration_overlap = 5 minutes
+duration_withdraw = 17 weeks
+duration_spend = 12 years
+duration_legal = 3 years
+fee_withdraw = KUDOS:0.01
+fee_deposit = KUDOS:0.01
+fee_refresh = KUDOS:0.01
+fee_refund = KUDOS:0.01
+rsa_keysize = 2048
diff --git a/config/demo.taler.net/taler/exchange/wire/test.json b/config/demo.taler.net/taler/exchange/wire/test.json
new file mode 100644
index 0000000..d46c3c6
--- /dev/null
+++ b/config/demo.taler.net/taler/exchange/wire/test.json
@@ -0,0 +1,8 @@
+{
+ "sig": "JE0QWGH1GSTB5QTC6MJZHAKPQBD1FRMPTGB3B5E0Q7MWCSEVX95JDTDGKH1AQBJ9R17KDQ1CB0XBCCW420Z2CXW9CZXXFEQJ2BKSG3G",
+ "name": "The exchange",
+ "account_number": 2,
+ "bank_uri": "https://bank.test.taler.net/",
+ "type": "test",
+ "salt": "P3SBRJE7QW43GR44CW2V921M7N2WEESTRJS39ZECDK60ZJ8VBDJMQ1QQS5HSZBT06DGEDEK654T8WX2C7BGRT6A2798EYJFECME3B3G"
+}
diff --git a/config/demo.taler.net/taler/merchant/wire/test.json b/config/demo.taler.net/taler/merchant/wire/test.json
new file mode 100644
index 0000000..dbdd979
--- /dev/null
+++ b/config/demo.taler.net/taler/merchant/wire/test.json
@@ -0,0 +1,7 @@
+{
+ "type": "test",
+ "bank_uri": "https://bank.test.taler.net/",
+ "sig": "MERCHANTSIGNATURE",
+ "account_number": 24,
+ "salt": "SALT"
+}