Bug 1462303 - PKCS#12 files with scrypt key derivation function are not supported
PKCS#12 files with scrypt key derivation function are not supported
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss (Show other bugs)
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Daiki Ueno
BaseOS QE Security Team
Depends On:
Blocks: rhel7-nss-pkcs12
  Show dependency treegraph
Reported: 2017-06-16 12:45 EDT by Hubert Kario
Modified: 2018-03-09 12:08 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 1373733 None None None 2017-06-16 12:48 EDT

  None (edit)
Description Hubert Kario 2017-06-16 12:45:16 EDT
Description of problem:
Import of PKCS#12 files with scrypt key derivation function is not supported.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
pk12util -l 'keyfile-corpus-keyfiles-0.1.2/rsa(2048,sha256),cert&key(PBES2(scrypt(salt(64),N(16384),r(8),p(1)),aes-256-cbc(IV(16)))),mac(sha512,salt(64),iter(1000000)),pass(ascii).p12' -v -w keyfile-corpus-keyfiles-0.1.2/password-ascii.txt

Actual results:
pk12util: PKCS12 decode validate bags failed: SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY: Unable to import.  Error attempting to import private key.

Expected results:
Key listed

Additional info:

Note You need to log in before you can comment on or make changes to this bug.