bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-15 17:57 UTC
[Bug 1783] New: ssh-keygen -L and -l give misleading error messages when fopen() fails
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.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 00:49 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783 --- Comment #1 from Damien Miller <djm at mindrot.org> --- Created attachment 1864 --> https://bugzilla.mindrot.org/attachment.cgi?id=1864 /home/djm/keygen-load-errors.diff standardise format of a few more keyfile opens -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 00:50 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1864| |ok?(dtucker at zip.com.au)
Flags| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 02:36 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Blocks| |1708
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-22 04:30 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1864|ok?(dtucker at zip.com.au) |ok+
Flags| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-22 04:36 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
patch applied - this will be released in OpenSSH-5.6. Thanks!
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:33 UTC
[Bug 1783] ssh-keygen -L and -l give misleading error messages when fopen() fails
https://bugzilla.mindrot.org/show_bug.cgi?id=1783
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2011-01-24 12:33:40
EST ---
Move resolved bugs to CLOSED after 5.7 release
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.