diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/newkeys | 3 |
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 |