diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-01-27 11:26:51 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-01-27 11:26:51 -0200 |
commit | c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25 (patch) | |
tree | b9d5e311d957633287fb3f686d147e1fa49c7da8 /share | |
parent | c3cf75db0aef682b2db55488ddd8df5054162c9e (diff) | |
download | hydra-c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25.tar.gz hydra-c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25.tar.bz2 |
Import-keys: new node key location
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/import-keys | 2 |
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 |