summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-15 22:50:35 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-15 22:50:35 -0500
commitd06d6df892ab42e184d22f9a6686ae6689a711a1 (patch)
treef4f7682f41fcb9a029f390e4e73f57954087b031
parentae4a8d669f21b6006a7902b3dd18f2b3a6a24938 (diff)
have the import_key also create the ssh pub file, since it is needed to show full host key info.
-rw-r--r--src/share/mh/import_key3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/share/mh/import_key b/src/share/mh/import_key
index 9be8dce..9415b4d 100644
--- a/src/share/mh/import_key
+++ b/src/share/mh/import_key
@@ -32,6 +32,9 @@ PEM2OPENPGP_USAGE_FLAGS=authenticate pem2openpgp "$userID" | \
# load the new host fpr into the fpr variable
load_fingerprint_secret
+# export to ssh public key file
+create_ssh_pub_file
+
# export to gpg public key to file
create_gpg_pub_file