Bug 18598

Summary: ssh-keygen -l does not work for dsa keys
Product: [Retired] Red Hat Linux Reporter: Gene Czarcinski <gczarcinski>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr, oneill
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-10 21:47:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gene Czarcinski 2000-10-07 12:05:18 UTC
I am running  2.2.0p1-2 but this also seems to occur with 2.1.1p4-1.

While ssh-keygen -l -f .ssh/identity.pub works fine by printing the
fingerprint and id, it does not work for dsa keys.

Running ssh-keygen -d -l -f .ssh/id_dsa.pub produces the message
".ssh/id_dsa.pub is not a valid key file".

Comment 1 Nalin Dahyabhai 2000-10-10 21:47:51 UTC
The ssh-keygen tool doesn't know how to read DSA keys.  We're testing a possible
fix.

Comment 2 Nalin Dahyabhai 2000-11-20 17:50:09 UTC
The fix appears to work correctly and will be included in the upcoming errata.