summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/publish-key
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcommands/mh/publish-key')
-rwxr-xr-xsrc/subcommands/mh/publish-key4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subcommands/mh/publish-key b/src/subcommands/mh/publish-key
index 792d858..8b36a18 100755
--- a/src/subcommands/mh/publish-key
+++ b/src/subcommands/mh/publish-key
@@ -12,6 +12,8 @@
# publish server key to keyserver
+publish_key() {
+
read -p "Really publish host key to $KEYSERVER? (y/N) " OK; OK=${OK:=N}
if [ ${OK/y/Y} != 'Y' ] ; then
failure "key not published."
@@ -22,3 +24,5 @@ fingerprint=$(fingerprint_server_key)
# publish host key
gpg_authentication "--keyserver $KEYSERVER --send-keys '0x${fingerprint}!'"
+
+}