diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-01-31 18:26:39 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-01-31 18:26:39 -0500 |
commit | 53f4ee78f320371a0f07865b21fdb4d6707a79d6 (patch) | |
tree | 0959fc1b238901d3362ee53b321aee93dacdbca6 /src/subcommands/mh/gen-key | |
parent | 3495cebaaf254225cd8f27ce2a70752aada838d4 (diff) | |
parent | 0d36aebed69b154903e158a4c0f5cc8707cf5168 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/subcommands/mh/gen-key')
-rwxr-xr-x | src/subcommands/mh/gen-key | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/subcommands/mh/gen-key b/src/subcommands/mh/gen-key index 37469c7..9f26087 100755 --- a/src/subcommands/mh/gen-key +++ b/src/subcommands/mh/gen-key @@ -14,7 +14,6 @@ local keyType="RSA" local keyLength="2048" local keyUsage="auth" local keyExpire -local revoker local hostName=$(hostname -f) local userID local keyParameters @@ -40,10 +39,6 @@ while true ; do keyExpire="$2" shift 2 ;; - -r|--revoker) - revoker="$2" - shift 2 - ;; *) if [ "$(echo "$1" | cut -c 1)" = '-' ] ; then failure "Unknown option '$1'. @@ -67,15 +62,6 @@ Key-Usage: $keyUsage Name-Real: $userID Expire-Date: $keyExpire" -# add the revoker field if specified -# FIXME: the "1:" below assumes that $REVOKER's key is an RSA key. -# FIXME: key is marked "sensitive"? is this appropriate? -if [ "$revoker" ] ; then - keyParameters=\ -"${keyParameters} -Revoker: 1:${revoker} sensitive" -fi - echo "The following key parameters will be used for the host private key:" echo "$keyParameters" @@ -115,4 +101,4 @@ gpg_authentication "--export-options export-minimal --armor --export 0x${fingerp log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pub.gpg" # show info about new key -show_server_key +show_key |