Bug 2017098

Summary: pki pkcs12-cert-add command failing with 'Unable to validate PKCS #12 file: Digests do not match' exception
Product: Red Hat Enterprise Linux 9 Reporter: Pritam Singh <prisingh>
Component: jssAssignee: Marco Fargetta <mfargett>
Status: CLOSED ERRATA QA Contact: idm-cs-qe-bugs
Severity: unspecified Docs Contact:
Priority: urgent    
Version: unspecifiedCC: ckelley, edewata, mfargett, msauton, pcech
Target Milestone: rcKeywords: Regression, Triaged
Target Release: 9.2Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: jss-5.3.0-0.3.beta2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2184493 (view as bug list) Environment:
Last Closed: 2023-05-09 07:43:41 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:    
Bug Blocks: 2184493    

Comment 1 Endi Sukma Dewata 2021-10-25 16:19:49 UTC
https://github.com/dogtagpki/jss/issues/796

Comment 11 Marco Fargetta 2022-12-15 08:35:23 UTC
Fixed with PR#913 (https://github.com/dogtagpki/jss/pull/913). Commits:

- 538453926b65ac80a9149cc629fb4bb5d8b5bb79 (Fix import .p12 files with sha256 hash)
- 75556e935f9b8f6b238b328111728b70d7e18b50 (Add ASN1 decoding of PBES2 algorithm in encrypted data)

Comment 18 errata-xmlrpc 2023-05-09 07:43:41 UTC
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 (Moderate: pki-core security, 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/RHSA-2023:2293