X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fmh%2Fgen-key;h=aad213a3cbe272f2a9bc120d7451d99d607de3c3;hb=8001b4523c665ee7d9ded64cbdb7081b023b75c1;hp=8558441a9499b00bcf9750ef56dadeb274cc841c;hpb=c700e9b0dcede303ed1f160ba51f564fd314d2e3;p=monkeysphere.git diff --git a/src/subcommands/mh/gen-key b/src/subcommands/mh/gen-key old mode 100755 new mode 100644 index 8558441..aad213a --- a/src/subcommands/mh/gen-key +++ b/src/subcommands/mh/gen-key @@ -1,14 +1,17 @@ -#!/usr/bin/env bash +# -*-shell-script-*- +# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) # Monkeysphere host gen-key subcommand # # The monkeysphere scripts are written by: -# Jameson Rollins +# Jameson Rollins # Jamie McClelland # Daniel Kahn Gillmor # -# They are Copyright 2008, and are all released under the GPL, version 3 -# or later. +# They are Copyright 2008-2009, and are all released under the GPL, +# version 3 or later. + +gen_key() { local keyType="RSA" local keyLength="2048" @@ -100,3 +103,5 @@ log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pu # show info about new key show_key + +}