History log of /netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/ssh2pgp.c
Revision Date Author Comments
# 1.22 01-Jan-2011 agc

branches: 1.22.6; 1.22.14;
Fix a problem with overrunning a base64 decoded number when decoding ssh
keys, from Anthony Bentley.

% netpgpkeys --ssh -l --hash=md5
1 key found
signature 1024/RSA (Encrypt or Sign) 666f47feddcdb77d 2002-07-02
Key fingerprint: e1d6 b328 8126 e8e3 666f 47fe ddcd b77d
uid machinename.com (/home/user/.ssh/id_rsa.pub) <user@machinename.com>

% ssh-keygen -l -f ~/.ssh/id_rsa.pub
1024 e1:d6:b3:28:81:26:e8:e3:66:6f:47:fe:dd:cd:b7:7d /home/user/.ssh/id_rsa.pub (RSA)
%

ssh keys and netpgp work as above.