Bug 1462297
| Summary: | Import of PKCS#12 files with Camellia encryption is not supported | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alicja Kario <hkario> |
| Component: | nss | Assignee: | Bob Relyea <rrelyea> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.4 | CC: | jreznik, ssorce |
| Target Milestone: | rc | Keywords: | Reopened, Triaged, ZStream |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-26 15:18:33 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: | 1492845 | ||
|
Description
Alicja Kario
2017-06-16 16:06:28 UTC
When certificates are encrypted with 40 bit RC2 and key is encrypted with camellia-256-cbc, using NSS 3.32, the file is importable: echo "RedHatEnterpriseLinux7.1" | openssl pkcs12 -export -out bundle.p12 -in localhost.crt -inkey localhost.key -caname server-cert -passout stdin -keypbe camellia-256-cbc mkdir nssdb certutil -N --empty-password -d sql:nssdb pk12util -i bundle.p12 -d sql:nssdb -W RedHatEnterpriseLinux7.1 -v PKCS12 IMPORT SUCCESSFUL camellia-128-cbc and camellia-192-cbc exported by NSS are "obviously" wrong - specify 32 byte key in PBKDF2, so the likely issue is with just the formatting of the file, not PBES2 or PBKDF2 Ooops this bug need zstream+ and pm_ack+. Don't know why it didn't automatically get pm_ack with the devel & qa_acks. 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 (nss, nss-softokn, nss-util, and nspr 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-2022:6712 |