projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more moving to subfunctions, and rename of show-key
[monkeysphere.git]
/
src
/
subcommands
/
mh
/
gen-key
diff --git
a/src/subcommands/mh/gen-key
b/src/subcommands/mh/gen-key
index 9f260873362031dd638f48cbe2259f311caaef9b..df57457f0b73e83329d7678d4609966879dc3fe3 100755
(executable)
--- 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
+
+}