summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/extend-key
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 18:04:21 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 18:04:21 -0500
commita0747749cbc7445e0cadaf0fbf1c92a2e86d1369 (patch)
tree01458632e6e699507b6a0889f2557726208c320e /src/subcommands/mh/extend-key
parent968627c7003d059e63ae455d91e1ada4143c8810 (diff)
turn subcommands into subfunctions, that will need to be sourced and executed.
Diffstat (limited to 'src/subcommands/mh/extend-key')
-rwxr-xr-xsrc/subcommands/mh/extend-key4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subcommands/mh/extend-key b/src/subcommands/mh/extend-key
index 755fe13..8f1ecc2 100755
--- a/src/subcommands/mh/extend-key
+++ b/src/subcommands/mh/extend-key
@@ -12,6 +12,8 @@
# extend the lifetime of a host key:
+extend_key() {
+
local fpr=$(fingerprint_server_key)
local extendTo="$1"
@@ -27,3 +29,5 @@ EOF
echo
echo "NOTE: Host key expiration date adjusted, but not yet published."
echo "Run '$PGRM publish-key' to publish the new expiration date."
+
+}