summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/gen-key
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcommands/mh/gen-key')
-rwxr-xr-xsrc/subcommands/mh/gen-key4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subcommands/mh/gen-key b/src/subcommands/mh/gen-key
index 9f26087..df57457 100755
--- a/src/subcommands/mh/gen-key
+++ b/src/subcommands/mh/gen-key
@@ -10,6 +10,8 @@
# They are Copyright 2008, and are all released under the GPL, version 3
# or later.
+gen_key() {
+
local keyType="RSA"
local keyLength="2048"
local keyUsage="auth"
@@ -102,3 +104,5 @@ log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pu
# show info about new key
show_key
+
+}