[tor-commits] [tor-cloud/master] No need to set gpg homedir to /root

runa at torproject.org runa at torproject.org
Sat Feb 25 14:49:48 UTC 2012


commit 93b789552e7559fde394de5166a3e0db8d309682
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date:   Sat Feb 25 14:49:44 2012 +0000

    No need to set gpg homedir to /root
---
 build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 0e0449a..1b24681 100755
--- a/build.sh
+++ b/build.sh
@@ -87,7 +87,7 @@ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  -i ${sshkey} ub
 
 # Verify the signature
 echo "Get the GPG key"
-ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  -i ${sshkey} ubuntu@${host} -q -t "sudo gpg --homedir /root/.gnupg --keyserver keys.gnupg.net --recv-key 7DB87C81"
+ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  -i ${sshkey} ubuntu@${host} -q -t "sudo gpg --keyserver keys.gnupg.net --recv-key 7DB87C81"
 
 echo "Try to verify the file"
 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  -i ${sshkey} ubuntu@${host} -q -t "sudo bash -c 'gpg --verify /mnt/SHA256SUMS.gpg /mnt/SHA256SUMS &> /mnt/verify.txt'"



More information about the tor-commits mailing list