summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-29 18:31:48 +0200
committerFlorian Dold <florian@dold.me>2021-07-29 18:31:48 +0200
commita3520d9c11a34bd19be261fc5b2c21d8bb862db9 (patch)
treecbe4cc41c75025bb73a1384f52bd4cb03efff45d
parenteb3c3c3557fd7a5b54cd09dafe3eb404bb9441db (diff)
downloadexchange-a3520d9c11a34bd19be261fc5b2c21d8bb862db9.tar.gz
exchange-a3520d9c11a34bd19be261fc5b2c21d8bb862db9.tar.bz2
exchange-a3520d9c11a34bd19be261fc5b2c21d8bb862db9.zip
config
-rw-r--r--debian/taler-exchange-offline.tmpfiles2
-rw-r--r--debian/taler-exchange.tmpfiles8
-rw-r--r--src/util/taler-exchange-secmod-eddsa.conf8
-rw-r--r--src/util/taler-exchange-secmod-rsa.conf8
4 files changed, 18 insertions, 8 deletions
diff --git a/debian/taler-exchange-offline.tmpfiles b/debian/taler-exchange-offline.tmpfiles
new file mode 100644
index 000000000..5f9dcb011
--- /dev/null
+++ b/debian/taler-exchange-offline.tmpfiles
@@ -0,0 +1,2 @@
+#Type Path Mode UID GID Age Argument
+d /var/lib/taler/exchange-offline 0700 taler-exchange-offline taler-exchange-offline - -
diff --git a/debian/taler-exchange.tmpfiles b/debian/taler-exchange.tmpfiles
new file mode 100644
index 000000000..7e3b9671a
--- /dev/null
+++ b/debian/taler-exchange.tmpfiles
@@ -0,0 +1,8 @@
+#Type Path Mode UID GID Age Argument
+d /run/taler 0755 root root - -
+d /run/taler/exchange-secmod-rsa 0755 taler-exchange-secmod-rsa taler-exchange-secmod - -
+d /run/taler/exchange-secmod-eddsa 0755 taler-exchange-secmod-eddsa taler-exchange-secmod - -
+d /var/lib/taler/exchange-offline 0700 taler-exchange-offline taler-exchange-offline - -
+d /var/lib/taler/exchange-secmod-rsa 0700 taler-exchange-secmod-rsa taler-exchange-secmod - -
+d /var/lib/taler/exchange-secmod-eddsa 0700 taler-exchange-secmod-eddsa taler-exchange-secmod - -
+d /var/lib/taler/exchange-secmod-eddsa 0700 taler-exchange-httpd root - -
diff --git a/src/util/taler-exchange-secmod-eddsa.conf b/src/util/taler-exchange-secmod-eddsa.conf
index 8227c908f..25803d3c6 100644
--- a/src/util/taler-exchange-secmod-eddsa.conf
+++ b/src/util/taler-exchange-secmod-eddsa.conf
@@ -8,16 +8,16 @@
OVERLAP_DURATION = 5m
# Where do we store the private keys.
-KEY_DIR = ${TALER_DATA_HOME}/crypto-eddsa/
+KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-eddsa/
# Where does the helper listen for requests?
-UNIXPATH = $TALER_RUNTIME_DIR/taler-exchange-secmod-eddsa.sock
+UNIXPATH = $TALER_RUNTIME_DIR/exchange-secmod-eddsa/server.sock
# Directory for clients.
-CLIENT_DIR = $TALER_RUNTIME_DIR/secmod-eddsa-client
+CLIENT_DIR = $TALER_RUNTIME_DIR/exchange-secmod-eddsa/clients
# Where should the security module store it's private key?
-SM_PRIV_KEY = ${TALER_DATA_HOME}/taler-exchange-secmod-eddsa/.private-key
+SM_PRIV_KEY = ${TALER_DATA_HOME}/exchange-secmod-eddsa/private-key
# For how long into the future do we pre-generate keys?
LOOKAHEAD_SIGN = 1 year
diff --git a/src/util/taler-exchange-secmod-rsa.conf b/src/util/taler-exchange-secmod-rsa.conf
index c653fa4f4..74a90310e 100644
--- a/src/util/taler-exchange-secmod-rsa.conf
+++ b/src/util/taler-exchange-secmod-rsa.conf
@@ -8,16 +8,16 @@
OVERLAP_DURATION = 5 m
# Where do we store the private keys.
-KEY_DIR = ${TALER_DATA_HOME}/crypto-rsa/
+KEY_DIR = ${TALER_DATA_HOME}/exchange-secmod-rsa/
# Where does the helper listen for requests?
-UNIXPATH = $TALER_RUNTIME_DIR/taler-exchange-secmod-rsa.sock
+UNIXPATH = $TALER_RUNTIME_DIR/exchange-secmod-rsa/server.sock
# Directory for clients.
-CLIENT_DIR = $TALER_RUNTIME_DIR/secmod-rsa-client
+CLIENT_DIR = $TALER_RUNTIME_DIR/exchange-secmod-rsa/clients
# Where should the security module store it's private key?
-SM_PRIV_KEY = ${TALER_DATA_HOME}/taler-exchange-secmod-rsa/.private-key
+SM_PRIV_KEY = ${TALER_DATA_HOME}/exchange-secmod-rsa/private-key
# For how long into the future do we pre-generate keys?
LOOKAHEAD_SIGN = 1 year