aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-10 10:13:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-10 10:13:22 -0300
commit49a91f98b952fc8f707e64ecacdcf32d47e03fc7 (patch)
treefbf2237cbb0cf718d433ef766bed77cd9f9ab67a /share
parentdcdf1e1f32bb8e411daf216d8c0c14cde3bbf062 (diff)
downloadhydra-49a91f98b952fc8f707e64ecacdcf32d47e03fc7.tar.gz
hydra-49a91f98b952fc8f707e64ecacdcf32d47e03fc7.tar.bz2
Newkeys: ensure we have eyaml keys
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newkeys3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index 828ff3e..908526c 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -41,6 +41,9 @@ function hydra_newkeys {
gpgkey="$HYDRA_FOLDER/keyring/keys/nodes/$node/gpg/key.asc"
borgkey="$HYDRA_FOLDER/keyring/keys/nodes/$node/borg/key.asc"
+ # Ensure we have eyaml keys
+ hydra $HYDRA eyaml $NODE
+
if [ "$which" == "all" ]; then
hydra_genpairs ssh $node
hydra_genpairs openpgp $node