-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
openssh-8.7p1-44.el9
-
None
-
Low
-
1
-
rhel-sst-security-crypto
-
ssg_security
-
11
-
1
-
False
-
-
No
-
Red Hat Enterprise Linux
-
Crypto24Q4
-
-
Pass
-
Not Needed
-
Automated
-
Release Note Not Required
-
None
Goal
- As an admin, I want to be able to troubleshoot libcrypto issues when connections through ssh do not make it. For now I'm getting "error: userauth_pubkey: parse key: error in libcrypto" message which doesn't help finding the root cause at all.
I need the exact message from libcrypto library to be returned.
Acceptance Criteria
- "error in libcrypto" is not returned in case of algo error, but a detailed useful message
Additional details
Currently the openssh code has this:
70 case SSH_ERR_LIBCRYPTO_ERROR: 71 return "error in libcrypto"; /* XXX fetch and return */
The "XXX" seems self-explanatory that this error is still work in progress.
- links to
-
RHBA-2024:140146 openssh update
I have implemented the function to dump OpenSSL error stack to log. It still can be not detailed enough and the function should be called explicitly but at least it should provide some more details.