gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: deploying auditor


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: deploying auditor-related data
Date: Wed, 17 May 2017 14:42:46 +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 963ab2e  deploying auditor-related data
963ab2e is described below

commit 963ab2ed318b6c17e59da18177ae6339c90cd197
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed May 17 14:42:32 2017 +0200

    deploying auditor-related data
---
 bin/taler-deployment-keyup | 10 ++++++++--
 config/generate-config     |  1 +
 tripwire_sysadmin.txt      |  2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup
index 6e49708..d0698d6 100755
--- a/bin/taler-deployment-keyup
+++ b/bin/taler-deployment-keyup
@@ -2,6 +2,7 @@
 
 set -eu
 
+auditor_request = ${HOME}/shared-data/exchange/auditor-request/auditor_request
 if [[ ${TALER_CONFIG_STANDALONE:-0} = 1 ]]; then
   # no auditor on env deployments for now
   taler-exchange-keyup \
@@ -9,7 +10,12 @@ if [[ ${TALER_CONFIG_STANDALONE:-0} = 1 ]]; then
 else
   taler-exchange-keyup \
     -m ~/shared-data/exchange/offline-keys/master.priv \
-    -o ~/shared-data/exchange/auditor-request/auditor_request
+    -o $auditor_request
 fi
-chmod -fR g+rw ~/shared-data
 
+auditor_base_dir = $(taler-config -s exchangedb -o auditor_base_dir)
+taler-auditor-sign -u https://auditor.taler.net/ -m $(taler-config -s exchange 
-o master_public_key) -r $auditor_request -o "$auditor_base_dir/auditor_sig"
+if [[ 0 != $? ]]; then
+  echo Auditor signing not accomplished.
+
+chmod -fR g+rw ~/shared-data
diff --git a/config/generate-config b/config/generate-config
index 9d8b016..7e02234 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -104,6 +104,7 @@ def config(currency, envname, exchange_pub, standalone):
 
     cfg_put("exchange-admin", "SERVE", "unix")
     cfg_put("exchange-admin", "unixpath", "$HOME/sockets/exchange-admin.http")
+    cfg_put("exchangedb", "AUDITOR_BASE_DIR", 
"${TALER_DEPLOYMENT_SHARED}/exchange/auditors")
 
     if standalone:
         cfg_put("exchangedb-postgres", "db_conn_str", 
"postgres:///taler?host={}/sockets".format(os.getenv("HOME")))
diff --git a/tripwire_sysadmin.txt b/tripwire_sysadmin.txt
index ee24dd3..69d0d32 100644
--- a/tripwire_sysadmin.txt
+++ b/tripwire_sysadmin.txt
@@ -3,7 +3,7 @@ tripwire.
 
 == BUILDBOT ==
 
-(Note, 'worker' and 'slave' are the same thing)
+(Note, 'worker' and 'slave' are used interchangeably)
 
 The user running the buildbot master is 'containers'.
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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