From 33888714f26a775b3be54edb27d77de719d5939c Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 31 Jan 2009 23:05:23 -0500 Subject: move src/subcommands to srv/share, and add common file to src/share (update Makefile as well) --- src/subcommands/mh/extend_key | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/subcommands/mh/extend_key (limited to 'src/subcommands/mh/extend_key') diff --git a/src/subcommands/mh/extend_key b/src/subcommands/mh/extend_key deleted file mode 100644 index ccbaf0e..0000000 --- a/src/subcommands/mh/extend_key +++ /dev/null @@ -1,34 +0,0 @@ -# -*-shell-script-*- -# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) - -# Monkeysphere host extend-key subcommand -# -# The monkeysphere scripts are written by: -# Jameson Rollins -# Jamie McClelland -# Daniel Kahn Gillmor -# -# They are Copyright 2008-2009, and are all released under the GPL, -# version 3 or later. - -# extend the lifetime of a host key: - -extend_key() { - -local fpr=$(fingerprint_server_key) -local extendTo="$1" - -# get the new expiration date -extendTo=$(get_gpg_expiration "$extendTo") - -gpg_host --quiet --command-fd 0 --edit-key "$fpr" <