gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: [secmod] Add secmod-{eddsa,cs}.conf


From: gnunet
Subject: [taler-donau] branch master updated: [secmod] Add secmod-{eddsa,cs}.conf and currencies.conf configuration files
Date: Tue, 16 Jan 2024 15:11:38 +0100

This is an automated email from the git hooks/post-receive script.

pius-loosli pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 7b0fa91  [secmod] Add secmod-{eddsa,cs}.conf and currencies.conf 
configuration files
7b0fa91 is described below

commit 7b0fa91b4dd7fd8edfebefea72afa1f7015b18c7
Author: Pius Loosli <loosp2@bfh.ch>
AuthorDate: Tue Jan 16 15:10:45 2024 +0100

    [secmod] Add secmod-{eddsa,cs}.conf and currencies.conf configuration files
---
 src/util/Makefile.am             | 10 ++---
 src/util/currencies.conf         | 89 ++++++++++++++++++++++++++++++++++++++++
 src/util/donau-secmod-cs.conf    | 26 ++++++++++++
 src/util/donau-secmod-eddsa.conf | 26 ++++++++++++
 4 files changed, 145 insertions(+), 6 deletions(-)

diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index d9e5b66..12772c4 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -10,13 +10,11 @@ endif
 pkgcfgdir = $(prefix)/share/donau/config.d/
 
 pkgcfg_DATA = \
-  paths.conf
-#  currencies.conf \
-  #donau-secmod-eddsa.conf \
+  currencies.conf \
+  paths.conf \
+  donau-secmod-eddsa.conf \
   donau-secmod-rsa.conf \
-  donau-secmod-cs.conf
-
-
+  donau-secmod-cs.conf 
 
 lib_LTLIBRARIES = \
   libdonauutil.la
diff --git a/src/util/currencies.conf b/src/util/currencies.conf
new file mode 100644
index 0000000..0fa831b
--- /dev/null
+++ b/src/util/currencies.conf
@@ -0,0 +1,89 @@
+[currency-euro]
+ENABLED = YES
+name = "Euro"
+code = "EUR"
+fractional_input_digits = 2
+fractional_normal_digits = 2
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"€"}
+
+[currency-swiss-francs]
+ENABLED = YES
+name = "Swiss Francs"
+code = "CHF"
+fractional_input_digits = 2
+fractional_normal_digits = 2
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"Fr.","-2":"Rp."}
+
+[currency-forint]
+ENABLED = NO
+name = "Hungarian Forint"
+code = "HUF"
+fractional_input_digits = 0
+fractional_normal_digits = 0
+fractional_trailing_zero_digits = 0
+alt_unit_names = {"0":"Ft"}
+
+[currency-us-dollar]
+ENABLED = NO
+name = "US Dollar"
+code = "USD"
+fractional_input_digits = 2
+fractional_normal_digits = 2
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"$"}
+
+[currency-kudos]
+ENABLED = YES
+name = "Kudos (Taler Demonstrator)"
+code = "KUDOS"
+fractional_input_digits = 2
+fractional_normal_digits = 2
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"ク"}
+
+[currency-testkudos]
+ENABLED = YES
+name = "Test-kudos (Taler Demonstrator)"
+code = "TESTKUDOS"
+fractional_input_digits = 2
+fractional_normal_digits = 2
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"テ","3":"kテ","-3":"mテ"}
+
+[currency-japanese-yen]
+ENABLED = NO
+name = "Japanese Yen"
+code = "JPY"
+fractional_input_digits = 2
+fractional_normal_digits = 0
+fractional_trailing_zero_digits = 2
+alt_unit_names = {"0":"¥"}
+
+[currency-bitcoin-mainnet]
+ENABLED = NO
+name = "Bitcoin (Mainnet)"
+code = "BITCOINBTC"
+fractional_input_digits = 8
+fractional_normal_digits = 3
+fractional_trailing_zero_digits = 0
+alt_unit_names = {"0":"BTC","-3":"mBTC"}
+
+[currency-ethereum]
+ENABLED = NO
+name = "WAI-ETHER (Ethereum)"
+code = "EthereumWAI"
+fractional_input_digits = 0
+fractional_normal_digits = 0
+fractional_trailing_zero_digits = 0
+alt_unit_names = 
{"0":"WAI","3":"KWAI","6":"MWAI","9":"GWAI","12":"Szabo","15":"Finney","18":"Ether","21":"KEther","24":"MEther"}
+
+[currency-netzbon]
+ENABLED=YES
+name=NetzBon
+code=NETZBON
+fractional_input_digits=2
+fractional_normal_digits=2
+fractional_trailing_zero_digits=2
+alt_unit_names = {"0":"NETZBON"}
diff --git a/src/util/donau-secmod-cs.conf b/src/util/donau-secmod-cs.conf
new file mode 100644
index 0000000..88a01a7
--- /dev/null
+++ b/src/util/donau-secmod-cs.conf
@@ -0,0 +1,26 @@
+[donau-secmod-cs]
+
+# 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-cs/keys
+
+# Where does the helper listen for requests?
+UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-cs/server.sock
+
+# Directory for clients.
+CLIENT_DIR = ${DONAU_RUNTIME_DIR}donau-secmod-cs/clients
+
+# Where should the security module store its own private key?
+SM_PRIV_KEY = ${DONAU_DATA_HOME}donau-secmod-cs/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/donau-secmod-eddsa.conf b/src/util/donau-secmod-eddsa.conf
new file mode 100644
index 0000000..2ccaa7a
--- /dev/null
+++ b/src/util/donau-secmod-eddsa.conf
@@ -0,0 +1,26 @@
+[donau-secmod-eddsa]
+
+# 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 = 5m
+
+# Where do we store the generated private keys.
+KEY_DIR = ${DONAU_DATA_HOME}donau-secmod-eddsa/keys
+
+# Where does the helper listen for requests?
+UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-eddsa/server.sock
+
+# Directory for clients.
+CLIENT_DIR = ${DONAU_RUNTIME_DIR}donau-secmod-eddsa/clients
+
+# Where should the security module store its own private key?
+SM_PRIV_KEY = ${DONAU_DATA_HOME}donau-secmod-eddsa/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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]