fix the publish_key function for new gpg_sphere.
[monkeysphere.git] / src / share / mh / publish_key
index 988b4503ed18113fbb81ba6a9a9542d842ac842b..600dfcf585d2d1122a708ea3b202bf46145db9e9 100644 (file)
@@ -20,12 +20,7 @@ if [ ${OK/y/Y} != 'Y' ] ; then
     failure "key not published."
 fi
 
-# find the key fingerprint
-fingerprint=$(fingerprint_host_key)
-
 # publish host key
-# FIXME: need to define how to do this
-#gpg_authentication "--keyserver $KEYSERVER --send-keys '0x${fingerprint}!'"
-echo "not published!!!"
+gpg_sphere "--keyserver $KEYSERVER --send-keys '0x${HOST_FINGERPRINT}!'"
 
 }