From a3520d9c11a34bd19be261fc5b2c21d8bb862db9 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 29 Jul 2021 18:31:48 +0200 Subject: [PATCH] config --- debian/taler-exchange-offline.tmpfiles | 2 ++ debian/taler-exchange.tmpfiles | 8 ++++++++ src/util/taler-exchange-secmod-eddsa.conf | 8 ++++---- src/util/taler-exchange-secmod-rsa.conf | 8 ++++---- 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 debian/taler-exchange-offline.tmpfiles create mode 100644 debian/taler-exchange.tmpfiles 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