diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-01 13:08:46 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-01 13:23:30 -0500 |
commit | 0ae461de6b7bf10d3b085dfd9a5d6d29ffd29116 (patch) | |
tree | 9c870e437f06207013d9a6ec0d7b554c35e58612 /src/share/mh/gen_key | |
parent | 89e447e2001c0406fab6d2e6ca300a19d492435b (diff) |
some general fixes:
- fix some references to old function names
- move fingerprint_server_key to be fingerprint_host_key
- update diagnostic scripts
Diffstat (limited to 'src/share/mh/gen_key')
-rw-r--r-- | src/share/mh/gen_key | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/mh/gen_key b/src/share/mh/gen_key index c0445db..a73d85e 100644 --- a/src/share/mh/gen_key +++ b/src/share/mh/gen_key @@ -24,7 +24,7 @@ local fingerprint # check for presense of secret key # FIXME: is this the proper test to be doing here? -fingerprint_server_key >/dev/null \ +fingerprint_host_key >/dev/null \ && failure "An OpenPGP host key already exists." # get options @@ -83,7 +83,7 @@ log verbose "generating host key..." echo "$keyParameters" | gpg_host --batch --gen-key # find the key fingerprint of the newly generated key -fingerprint=$(fingerprint_server_key) +fingerprint=$(fingerprint_host_key) # translate the private key to ssh format, and export to a file # for sshs usage. |