gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-auditor] branch master updated: strip and decode aud


From: gnunet
Subject: [GNUnet-SVN] [taler-auditor] branch master updated: strip and decode auditor pub
Date: Tue, 28 Mar 2017 08:36:27 +0200

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

dold pushed a commit to branch master
in repository auditor.

The following commit(s) were added to refs/heads/master by this push:
     new e74fc28  strip and decode auditor pub
e74fc28 is described below

commit e74fc28466fc63e3ca6c3dc008aeb03b87269edb
Author: Florian Dold <address@hidden>
AuthorDate: Tue Mar 28 08:36:19 2017 +0200

    strip and decode auditor pub
---
 template.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/template.py b/template.py
index 41d5945..bd67d3f 100755
--- a/template.py
+++ b/template.py
@@ -34,7 +34,8 @@ default_ctx["intro_url"] = 
os.environ.get("TALER_ENV_URL_INTRO", "#")
 default_ctx["bank_url"] = os.environ.get("TALER_ENV_URL_BANK", "#")
 default_ctx["auditor_url"] = os.environ.get("TALER_ENV_URL_AUDITOR", "#")
 default_ctx["currency"] = os.environ.get("TALER_CONFIG_CURRENCY", "??")
-default_ctx["auditor_pub"] = subprocess.check_output(["gnunet-ecc", "-p", 
os.path.expanduser("~/.local/share/taler/auditor/offline-keys/auditor.priv")])
+auditor_priv_file = 
os.path.expanduser("~/.local/share/taler/auditor/offline-keys/auditor.priv")
+default_ctx["auditor_pub"] = subprocess.check_output(["gnunet-ecc", "-p", 
auditor_priv_file]).decode("utf-8").strip()
 
 
 for in_file in glob.glob("*.j2"):

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



reply via email to

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