Monkeysphere host admin tool.
subcommands:
+ import-key (i) [NAME[:PORT]] import existing ssh key to gpg
show-key (s) output all host key information
set-expire (e) EXPIRE set host key expiration
add-hostname (n+) NAME[:PORT] add hostname user ID to host key
revoke-key (r) revoke host key
publish-key (p) publish host key to keyserver
- import-key (i) [NAME[:PORT]] import existing ssh key to gpg
-
version (v) show version number
help (h,?) this help
}
# command for edit key scripts, takes scripts on stdin
-# FIXME: should we supress all the edit script spew? or pipe it
-# through log debug?
gpg_host_edit() {
gpg_host --command-fd 0 --edit-key "0x${HOST_FINGERPRINT}!" "$@"
}