[Bug 2868] New: Vague error/debug message in src/usr.bin/ssh/key.c

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu May 17 10:07:29 AEST 2018


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

            Bug ID: 2868
           Summary: Vague error/debug message in src/usr.bin/ssh/key.c
           Product: Portable OpenSSH
           Version: 7.4p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: scott_fields at me.com

There are several key load functions that all simply report the
following in src/usr.bin/ssh/key.c:

debug("%s: %s", __func__, ssh_err(r));

or

error("%s: %s", __func__, ssh_err(r));

That's very vague, especially for an error message.

I'm specifically referring to the following functions.

key_load_cert()
key_load_public()
key_load_private()
key_load_private_cert()
key_load_private_type()

Unless there is a reason to not include this, I would find it very
desirable to at least include the file that has the exception being
reported in the debug or error message.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list