2 # This should be sourced by bash (though we welcome changes to make it POSIX sh compliant)
4 # Monkeysphere host publish-key subcommand
6 # The monkeysphere scripts are written by:
7 # Jameson Rollins <jrollins@finestructure.net>
8 # Jamie McClelland <jm@mayfirst.org>
9 # Daniel Kahn Gillmor <dkg@fifthhorseman.net>
11 # They are Copyright 2008-2009, and are all released under the GPL, version 3
14 # publish server key to keyserver
18 read -p "Really publish host key to $KEYSERVER? (y/N) " OK; OK=${OK:=N}
19 if [ ${OK/y/Y} != 'Y' ] ; then
20 failure "key not published."
23 # find the key fingerprint
24 fingerprint=$(fingerprint_host_key)
27 # FIXME: need to define how to do this
28 #gpg_authentication "--keyserver $KEYSERVER --send-keys '0x${fingerprint}!'"
29 echo "not published!!!"