Bug 1197666
Summary: | ssh client using HostbasedAuthentication aborts in FIPS mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Jelen <jjelen> |
Component: | openssh | Assignee: | Jakub Jelen <jjelen> |
Status: | CLOSED ERRATA | QA Contact: | Stanislav Zidek <szidek> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | jjelen, plautrba, szidek, tmraz |
Target Milestone: | rc | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openssh-6.6.1p1-14.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1197072 | Environment: | |
Last Closed: | 2015-11-19 08:02:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1197072 | ||
Bug Blocks: | 1191021, 1205796 |
Description
Jakub Jelen
2015-03-02 10:57:22 UTC
We spend some time with Stanislav discussing this test case recently. Based on my observation this is not reproducible on RHEL 7 (not like it was on the first sight when I was cloning this bugzilla). Stanislav, I think we can close this, if you agree. It has been fixed with bz1111588 (better fix than on rhel6): diff --git a/authfile.c b/authfile.c index ec4f4ff..2b3d650 100644 --- a/authfile.c +++ b/authfile.c @@ -1080,9 +1081,10 @@ key_parse_private(Buffer *buffer, const char *filename, *commentp = xstrdup(filename); } else { key_free(pub); - /* key_parse_public_rsa1() has already loaded the comment */ - prv = key_parse_private_type(buffer, KEY_RSA1, passphrase, - NULL); + if (! FIPS_mode()) + /* key_parse_public_rsa1() has already loaded the comment */ + prv = key_parse_private_type(buffer, KEY_RSA1, passphrase, + NULL); } return prv; } Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-2088.html |