[Top][All Lists]

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

[GNUnet-SVN] [taler-deployment] branch master updated: bootstrapping con

From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: bootstrapping config-generate script
Date: Sun, 09 Jun 2019 04:28:05 +0200

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 32e09aa  bootstrapping config-generate script
32e09aa is described below

commit 32e09aa39a14490cbacaee4863c1291eb01964d2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sun Jun 9 04:27:58 2019 +0200

    bootstrapping config-generate script
 bin/taler-deployment-config-generate | 17 +----------------
 bin/taler-deployment-keyup           | 16 +++++++++++++++-
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/bin/taler-deployment-config-generate 
index 09b08a1..5430de6 100755
--- a/bin/taler-deployment-config-generate
+++ b/bin/taler-deployment-config-generate
@@ -21,22 +21,7 @@ if [[ -z ${TALER_CONFIG_CURRENCY+x} ]]; then
   exit 1
-EXCHANGE_MASTER_PRIV=$(taler-config -s exchange -o master_priv_file -f)
-AUDITOR_MASTER_PRIV=$(taler-config -s auditor -o auditor_priv_file -f)
-if ! test -f $EXCHANGE_MASTER_PRIV ; then
-  mkdir -p $(dirname $EXCHANGE_MASTER_PRIV)
-  cp $HOME/deployment/private-keys/${TALER_CONFIG_ENV}-exchange-master.priv 
-if ! test -f $AUDITOR_MASTER_PRIV; then
-  mkdir -p $(dirname $AUDITOR_MASTER_PRIV)
-  cp $HOME/deployment/private-keys/auditor.priv $AUDITOR_MASTER_PRIV
-  chmod g+rx $AUDITOR_MASTER_PRIV
+EXCHANGE_PUB=$(gnunet-ecc -p 
 $HOME/deployment/config/generate-config \
   --exchange-pub "$EXCHANGE_PUB" \
   --currency "$TALER_CONFIG_CURRENCY" \
diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup
index 8ff05fa..231d654 100755
--- a/bin/taler-deployment-keyup
+++ b/bin/taler-deployment-keyup
@@ -22,18 +22,32 @@ fi
 AUDITOR_REQUEST_DIR=$(taler-config -s exchangedb -o auditor_inputs -f)
 AUDITOR_BASE_DIR=$(taler-config -s exchangedb -o auditor_base_dir -f)
+AUDITOR_PRIV=$(taler-config -s auditor -o auditor_priv_file -f)
 EXHCANGE_PUB=$(taler-config -s exchange -o master_public_key)
 EXHCANGE_URL=$(taler-config -s exchange -o base_url)
 EXCHANGE_LIVE_KEYS=$(taler-config -s exchange -o keydir -f)
 EXCHANGE_WIREFEES=$(taler-config -s exchangedb -o wirefee_base_dir -f)
 EXCHANGE_PRIV=$(taler-config -s exchange -o master_priv_file -f)
+# Deploying Exchange's priv.
+if ! test -f $EXCHANGE_PRIV ; then
+  mkdir -p $(dirname $EXCHANGE_MASTER_PRIV)
+  cp $HOME/deployment/private-keys/${TALER_CONFIG_ENV}-exchange-master.priv 
+  chmod g+rx $EXCHANGE_PRIV
+# Deploying Auditor's priv.
+if ! test -f $AUDITOR_PRIV; then
+  mkdir -p $(dirname $AUDITOR_PRIV)
+  cp $HOME/deployment/private-keys/auditor.priv $AUDITOR_PRIV
+  chmod g+rx $AUDITOR_PRIV
 taler-exchange-keyup \
   -o $AUDITOR_REQUEST_DIR/auditor_request
 # or-ing with true as user A won't be able to
 # change permissions for user B's files.
 chmod -R 070 $EXCHANGE_LIVE_KEYS/* || true

To stop receiving notification emails like this one, please contact

reply via email to

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