X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fsubcommands%2Fmh%2Fgen-key;h=72b913823761d1d099da1df7c5a9817d6a999fe6;hb=585b1c823e7b72f610fb23aeb4fc09f0287a0bdb;hp=8558441a9499b00bcf9750ef56dadeb274cc841c;hpb=c700e9b0dcede303ed1f160ba51f564fd314d2e3;p=monkeysphere.git diff --git a/src/subcommands/mh/gen-key b/src/subcommands/mh/gen-key index 8558441..72b9138 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" @@ -100,3 +102,5 @@ log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pu # show info about new key show_key + +}