From 49a91f98b952fc8f707e64ecacdcf32d47e03fc7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 10 Jun 2018 10:13:22 -0300 Subject: Newkeys: ensure we have eyaml keys --- share/hydra/newkeys | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') 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 -- cgit v1.2.3