Bug 1869683
| Summary: | p11_child: default value of ocsp_dgst == sha256 doesn't conform RFC5019 and has to be changed to SHA-1 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Alexey Tikhonov <atikhono> |
| Component: | sssd | Assignee: | Alexey Tikhonov <atikhono> |
| Status: | CLOSED ERRATA | QA Contact: | sssd-qe <sssd-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | CC: | g63it, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, spoore, tscherf |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | sssd-2.3.0-8.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-04 02:05:29 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: | |||
|
Description
Alexey Tikhonov
2020-08-18 13:36:22 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5280 Pushed PR: https://github.com/SSSD/sssd/pull/5280 * `master` * 10366b4ee8c01ea20d908102e92d52fdeda168c3 - p11_child: switch default ocsp_dgst to sha1 Verified after correcting automated tests 0001 and 0006 to expect SHA-1 instead of sha256. Version :: sssd-2.3.0-8.el8.x86_64 Results :: =================== test_0001 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] METHOD: MyTshark.start: Running tshark at pid 39957 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 12:59:37 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/66sSBH4p3D.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/ZBEM2U6JVP.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 39957 METHOD: MyTshark.search: ocsp hashAlgorithm SHA-1 2 FOUND: hashAlgorithm (SHA-1) FOUND: hashAlgorithm (SHA-1) PASSED test_4001_misc.py::TestSssdOcspDigest::test_0002 =================== test_0002 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] certificate_verification = ocsp_dgst=sha256 METHOD: MyTshark.start: Running tshark at pid 40326 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 13:00:12 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/KUfmX0FS6i.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/0FQUC6MEPK.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 40326 METHOD: MyTshark.search: ocsp hashAlgorithm sha256 2 FOUND: hashAlgorithm (sha256) FOUND: hashAlgorithm (sha256) PASSED test_4001_misc.py::TestSssdOcspDigest::test_0003 =================== test_0003 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] certificate_verification = ocsp_dgst=sha384 METHOD: MyTshark.start: Running tshark at pid 40698 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 13:00:46 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/Wq1B3yvIGr.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/C9C26N9CSF.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 40698 METHOD: MyTshark.search: ocsp hashAlgorithm sha384 2 FOUND: hashAlgorithm (sha384) FOUND: hashAlgorithm (sha384) PASSED test_4001_misc.py::TestSssdOcspDigest::test_0004 =================== test_0004 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] certificate_verification = ocsp_dgst=sha512 METHOD: MyTshark.start: Running tshark at pid 41081 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 13:01:19 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/Zhu3VOAQ63.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/KQJMNGDDTD.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 41081 METHOD: MyTshark.search: ocsp hashAlgorithm sha512 2 FOUND: hashAlgorithm (sha512) FOUND: hashAlgorithm (sha512) PASSED test_4001_misc.py::TestSssdOcspDigest::test_0005 =================== test_0005 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] certificate_verification = ocsp_dgst=sha1 METHOD: MyTshark.start: Running tshark at pid 41451 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 13:01:53 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/WRobXR1FBm.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/SNBJ3L5CP1.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 41451 METHOD: MyTshark.search: ocsp hashAlgorithm SHA-1 2 FOUND: hashAlgorithm (SHA-1) FOUND: hashAlgorithm (SHA-1) PASSED test_4001_misc.py::TestSssdOcspDigest::test_0006 =================== test_0006 ==================== FUNCTION: add_sssd_cfg Created SSSD Config: SSSD Config File name: /etc/sssd/conf.d/sssd_ocsp.conf SSSD Settings: [sssd] certificate_verification = ocsp_dgst=bad256 METHOD: MyTshark.start: Running tshark at pid 41821 FUNCTION: wait_for_user FOUND USER: ipauser1 uid=103000031(ipauser1) gid=103000031(ipauser1) groups=103000031(ipauser1) 0 Sat Aug 22 13:02:26 CDT 2020 ['expect', '-f', '/tmp/ipa_sc_test.d/hEawnFJvnh.exp'] spawn su - ipauser1 -c su - ipauser1 -c "echo success > /tmp/ipa_sc_test.d/CPR3LJGUM7.output" PIN for MyEID (sctest): METHOD: MyTshark.stop: Killing pid 41821 METHOD: MyTshark.search: ocsp hashAlgorithm SHA-1 2 FOUND: hashAlgorithm (SHA-1) FOUND: hashAlgorithm (SHA-1) PASSED session_teardown =========================================================== 6 passed in 290.08 seconds ============================================================ 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 (sssd bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2020:4569 |