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:
17 local fpr=$(fingerprint_server_key)
20 # get the new expiration date
21 extendTo=$(get_gpg_expiration "$extendTo")
23 gpg_host --quiet --command-fd 0 --edit-key "$fpr" <<EOF
30 echo "NOTE: Host key expiration date adjusted, but not yet published."
31 echo "Run '$PGRM publish-key' to publish the new expiration date."