[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: add missing files
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: add missing files |
Date: |
Tue, 16 Jan 2024 13:35:00 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository donau.
The following commit(s) were added to refs/heads/master by this push:
new a095a6c add missing files
a095a6c is described below
commit a095a6c4e3139b64d0ba63439ce2196199646b56
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 16 13:34:52 2024 +0100
add missing files
---
src/donau/donau-httpd_keys.c | 4 ++--
src/util/Makefile.am | 12 +++++++++++-
src/util/donau-secmod-rsa.conf | 26 ++++++++++++++++++++++++++
src/util/paths.conf | 29 +++++++++++++++++++++++++++++
4 files changed, 68 insertions(+), 3 deletions(-)
diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index abb62e0..a3ec9fc 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -1199,7 +1199,7 @@ setup_key_helpers (struct HelperState *hs)
hs->esign_keys
= GNUNET_CONTAINER_multipeermap_create (32,
GNUNET_NO /* MUST BE NO! */);
- hs->rsadh = DONAU_CRYPTO_helper_rsa_connect (DH_cfg,
+ hs->rsadh = TALER_CRYPTO_helper_rsa_connect (DH_cfg,
"donau",
&helper_rsa_cb,
hs);
@@ -1208,7 +1208,7 @@ setup_key_helpers (struct HelperState *hs)
destroy_key_helpers (hs);
return GNUNET_SYSERR;
}
- hs->csdh = DONAU_CRYPTO_helper_cs_connect (DH_cfg,
+ hs->csdh = TALER_CRYPTO_helper_cs_connect (DH_cfg,
"donau",
&helper_cs_cb,
hs);
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 9edee30..d6cd5a7 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -7,7 +7,16 @@ if USE_COVERAGE
endif
-pkgcfgdir = $(prefix)/share/taler/config.d/
+pkgcfgdir = $(prefix)/share/donau/config.d/
+
+pkgcfg_DATA = \
+ currencies.conf \
+ paths.conf \
+ donau-secmod-eddsa.conf \
+ donau-secmod-rsa.conf \
+ donau-secmod-cs.conf
+
+
lib_LTLIBRARIES = \
libdonauutil.la
@@ -32,6 +41,7 @@ libdonauutil_la_LIBADD = \
-lm
EXTRA_DIST = \
+ $(pkgcfg_DATA) \
donau-config.in
bin_SCRIPTS = \
diff --git a/src/util/donau-secmod-rsa.conf b/src/util/donau-secmod-rsa.conf
new file mode 100644
index 0000000..3e3ca86
--- /dev/null
+++ b/src/util/donau-secmod-rsa.conf
@@ -0,0 +1,26 @@
+[donau-secmod-rsa]
+
+# How long should generated coins overlap in their validity
+# periods. Should be long enough to avoid problems with
+# wallets picking one key and then due to network latency
+# another key being valid. The DURATION_WITHDRAW period
+# must be longer than this value.
+OVERLAP_DURATION = 5 m
+
+# Where do we store the generated private keys.
+KEY_DIR = ${DONAU_DATA_HOME}donau-secmod-rsa/keys
+
+# Where does the helper listen for requests?
+UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-rsa/server.sock
+
+# Directory for clients.
+CLIENT_DIR = ${DONAU_RUNTIME_DIR}donau-secmod-rsa/clients
+
+# Where should the security module store its own private key?
+SM_PRIV_KEY = ${DONAU_DATA_HOME}donau-secmod-rsa/secmod-private-key
+
+# For how long into the future do we pre-generate keys?
+LOOKAHEAD_SIGN = 2 year
+
+# Round down anchor key start date to multiples of this time.
+ANCHOR_ROUND = 1 year
\ No newline at end of file
diff --git a/src/util/paths.conf b/src/util/paths.conf
new file mode 100644
index 0000000..b0bf318
--- /dev/null
+++ b/src/util/paths.conf
@@ -0,0 +1,29 @@
+# This file is in the public domain.
+#
+[PATHS]
+# The PATHS section is special, as filenames including $-expression are
+# expanded using the values from PATHS or the system environment (PATHS
+# is checked first). Donau also supports expanding $-expressions using
+# defaults with the syntax "${VAR:-default}". Here, "default" can again
+# be a $-expression.
+#
+# We usually want $HOME for $DONAU_HOME, but we allow testcases to
+# easily override this by setting $DONAU_TEST_HOME.
+#
+DONAU_HOME = ${DONAU_TEST_HOME:-${HOME:-${USERPROFILE}}}
+
+# see XDG Base Directory Specification at
+# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
+# for how these should be used.
+
+# Persistent data storage
+DONAU_DATA_HOME = ${XDG_DATA_HOME:-${DONAU_HOME}/.local/share}/donau/
+
+# Configuration files
+DONAU_CONFIG_HOME = ${XDG_CONFIG_HOME:-${DONAU_HOME}/.config}/donau/
+
+# Cached data, no big deal if lost
+DONAU_CACHE_HOME = ${XDG_CACHE_HOME:-${DONAU_HOME}/.cache}/donau/
+
+# Runtime data (always lost on system boot)
+DONAU_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/donau-system-runtime/
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-donau] branch master updated: add missing files,
gnunet <=