]> gitweb.fluxo.info Git - hydra.git/commitdiff
Import-keys: new node key location
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 27 Jan 2016 13:26:51 +0000 (11:26 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 27 Jan 2016 13:26:51 +0000 (11:26 -0200)
share/hydra/import-keys

index 784deaed1fffaa029f38059b524176557b700496..b180d2846bb1f940ccefce64d990f23c5d3db33c 100755 (executable)
@@ -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