3 # Monkeysphere host extend-key subcommand
5 # The monkeysphere scripts are written by:
6 # Jameson Rollins <jrollins@fifthhorseman.net>
7 # Jamie McClelland <jm@mayfirst.org>
8 # Daniel Kahn Gillmor <dkg@fifthhorseman.net>
10 # They are Copyright 2008, and are all released under the GPL, version 3
13 # extend the lifetime of a host key:
15 local fpr=$(fingerprint_server_key)
18 # get the new expiration date
19 extendTo=$(get_gpg_expiration "$extendTo")
21 gpg_host --quiet --command-fd 0 --edit-key "$fpr" <<EOF
28 echo "NOTE: Host key expiration date adjusted, but not yet published."
29 echo "Run '$PGRM publish-key' to publish the new expiration date."