summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-27 11:26:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-27 11:26:51 -0200
commitc47d2e7762e8f2ac77efcee5b65ccc794f2c1f25 (patch)
treeb9d5e311d957633287fb3f686d147e1fa49c7da8 /share
parentc3cf75db0aef682b2db55488ddd8df5054162c9e (diff)
downloadhydra-c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25.tar.gz
hydra-c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25.tar.bz2
Import-keys: new node key location
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/import-keys2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/import-keys b/share/hydra/import-keys
index 784deae..b180d28 100755
--- a/share/hydra/import-keys
+++ b/share/hydra/import-keys
@@ -22,7 +22,7 @@ hydra_config_load
# Import OpenPGP keypair
function hydra_import_keys_openpgp {
- key="$(keyringer $HYDRA decrypt $hostname/gpg/key 2> /dev/null | sed -ne '1,$p')"
+ key="$(keyringer $HYDRA decrypt nodes/$hostname/gpg/key 2> /dev/null | sed -ne '1,$p')"
key_id="$(echo "$key" | gpg --with-colons | grep sec | cut -d : -f 5)"
if [ -z "$key" ]; then