# They are Copyright 2008-2009, and are all released under the GPL,
# version 3 or later.
-set-expire() {
+set_expire() {
local extendTo
# get the new expiration date
extendTo=$(get_gpg_expiration "$1")
+log info "setting host key expiration to ${extendTo}:"
+
+log debug "executing host expire script..."
gpg_host_edit expire <<EOF
$extendTo
save