diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-23 11:08:48 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-23 11:08:48 +0200 |
commit | 986185fe2abb331aa6a253130ceebb7978fdfbe1 (patch) | |
tree | 93032b27452a5aa739d874d10367785eaa582e4b /bin/taler-deployment-keyup | |
parent | 984bf339e40991a2948a9548653703211a3f71dd (diff) | |
download | deployment-986185fe2abb331aa6a253130ceebb7978fdfbe1.tar.gz deployment-986185fe2abb331aa6a253130ceebb7978fdfbe1.tar.bz2 deployment-986185fe2abb331aa6a253130ceebb7978fdfbe1.zip |
fix minor things on keys generating script
Diffstat (limited to 'bin/taler-deployment-keyup')
-rwxr-xr-x | bin/taler-deployment-keyup | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup index e6c8fcb..4eb2b89 100755 --- a/bin/taler-deployment-keyup +++ b/bin/taler-deployment-keyup @@ -2,15 +2,16 @@ set -eu -auditor_request=${HOME}/shared-data/exchange/auditor-request/auditor_request +auditor_request_dir=${HOME}/shared-data/exchange/auditor-request/ +mkdir -p $auditor_request_dir taler-exchange-keyup \ - -m ~/shared-data/exchange/offline-keys/master.priv \ - -o $auditor_request + -m ${HOME}/shared-data/exchange/offline-keys/master.priv \ + -o $auditor_request_dir/auditor_request auditor_base_dir=$(taler-config -s exchangedb -o auditor_base_dir -f) exchange_master_pub=$(taler-config -s exchange -o master_public_key) auditor_sig_output_file=$(date "+%s%N") -taler-auditor-sign -u https://auditor.taler.net/ -m $exchange_master_pub -r $auditor_request -o "$auditor_base_dir/$auditor_sig_output_file" +taler-auditor-sign -u https://auditor.taler.net/ -m $exchange_master_pub -r $auditor_request_dir/auditor_request -o "$auditor_base_dir/$auditor_sig_output_file" if [[ 0 != $? ]]; then echo Auditor signing not accomplished. fi |