[Bug 1783] New: ssh-keygen -L and -l give misleading error messages when fopen() fails

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 16 03:57:20 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1783

           Summary: ssh-keygen -L and -l give misleading error messages
                    when fopen() fails
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ssh-keygen
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: imorgan at nas.nasa.gov


Created attachment 1861
  --> https://bugzilla.mindrot.org/attachment.cgi?id=1861
fatal() with a useful message if fopen() fails

ssh-keygen -L (and -l) will report misleading error messages if the
fopen() of the specified file fails. This may cause ssh-keygen to
complain about the format of the file when the real issue is a lack
of read permissions, etc.

The attached patch reports a more accurate error message
when fopen() fails in these cases.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list