X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fshare%2Fmh%2Fextend_key;fp=src%2Fshare%2Fmh%2Fextend_key;h=0000000000000000000000000000000000000000;hb=9cc92238a9a9b21d37b983932d5a6a012cf80aba;hp=79ee267b64849c2c5a61d930007b9d5bac21911f;hpb=632c3943f9849824e92e217e3c4f8cf8e6ada148;p=monkeysphere.git diff --git a/src/share/mh/extend_key b/src/share/mh/extend_key deleted file mode 100644 index 79ee267..0000000 --- a/src/share/mh/extend_key +++ /dev/null @@ -1,35 +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_host_key) -local extendTo="$1" - -# get the new expiration date -extendTo=$(get_gpg_expiration "$extendTo") - -gpg_host --quiet --command-fd 0 --edit-key "$fpr" <