ssh-keygen listing fingerprints little unclear

Magnus Bodin magnus at bodin.org
Thu Jul 25 22:04:24 EST 2002


On Thu, Jul 25, 2002 at 01:55:37PM +0200, Markus Friedl wrote:
> On Wed, Jul 24, 2002 at 09:35:34AM +0200, Magnus Bodin wrote:
> > Since ssh-keygen is not listing the _types_ of keys I have in my file,
> > wouldn't it be a good idea to make the -t switch filtering out the 
> > selected type of key when doing a listing with -l? 
> 
> i think -l should list the key type, too.

ok. I've started to provide a patch, but have not yet had time to look into
how ssh-keygen is retrieving the key-type from the file. I guess it's done
in key_read(). What about the 'old' types that occur in at least some
of my known_hosts-file, which reads '1024 33', '1024 37' and so forth. How
do they map onto KEY_RSA, KEY_DSA etc? Are they all KEY_RSA1?  Should they 
be shown as if they were of the 'new' rsa1-type? They of course not need to be
matched with e.g. -lt 33 (my filter suggestion) as they all should be 
converted. 

/magnus

-- 
http://x42.com/



More information about the openssh-unix-dev mailing list