+# show info about the host key
+show_key() {
+ gpg_host --fingerprint --list-key --list-options show-unusable-uids \
+ "0x${HOST_FINGERPRINT}!" 2>/dev/null || true
+ # FIXME: make sure expiration date is shown
+
+ echo "OpenPGP fingerprint: $HOST_FINGERPRINT"
+
+ echo -n "ssh fingerprint: "
+ ssh-keygen -l -f /dev/stdin \
+ <<<$( gpg_host --export FEE16FA3 2>/dev/null \
+ | openpgp2ssh 8445B5203A8443B4B04F637DD4DE66B2FEE16FA3 2>/dev/null) \
+ | awk '{ print $1, $2, $4 }'
+
+ # FIXME: other relevant key parameters?
+}
+