utility to show ssh key fingerprint for gpg/openpgp key
I find that I frequently need to know the ssh key fingerprint of a monkeysphere key. This usually comes up when I'm trying to access a machine with a marginal key in a private LAN. I think that #676 fixing the marginal UI can help alleviate this problem, but there are still other cases when it's nice to be able to quickly return the ssh fingerprint of a key in my gpg keyring.
I wrote a one line script that does this:
ssh-keygen -l -f /dev/stdin <<<$(gpg --export "$keyid" | openpgp2ssh "$keyid")
I wonder if it's worth including some utility that provides this functionality? I think other people must need to do this as well. What if we added a -l option to openpgp2ssh that output the fingerprint instead of the whole key?
(from redmine: created on 2009-04-30, closed on 2009-07-15)