RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1371383 - RFE: scrypt rfc7914 addition to NSS
Summary: RFE: scrypt rfc7914 addition to NSS
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss
Version: 7.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 7.5
Assignee: Bob Relyea
QA Contact: BaseOS QE Security Team
Depends On:
Blocks: 1468074
TreeView+ depends on / blocked
Reported: 2016-08-30 06:27 UTC by wibrown@redhat.com
Modified: 2017-07-06 00:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1468074 (view as bug list)
Last Closed: 2017-07-06 00:27:59 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1373733 0 None None None 2019-02-06 09:26:35 UTC

Description wibrown@redhat.com 2016-08-30 06:27:30 UTC
Description of problem:

I would like to request the addition of scrypt, rfc7914 [0] to NSS.

Scrypt is designed as a key derivation function, and can be used as a password hashing mechanism. It uses both memory and cpu complexity to avoid hardware acceleration attacks. In many ways, it is similar to pbkdf2. 

The 389 DS project would like to be able to consume an interface similar to that in libscrypt:

int libscrypt_scrypt(const uint8_t *passwd, size_t passwdlen,
        const uint8_t *salt, size_t saltlen, uint64_t N, uint32_t r, 
        uint32_t p, /*@out@*/ uint8_t *buf, size_t buflen);

This way, we do not have a complex procedure to call for password or data hashing, which will lower the risk of an implementation mistake causing a vulnerability. 

[0] https://tools.ietf.org/html/rfc7914

Comment 2 Kai Engert (:kaie) (inactive account) 2016-09-28 21:01:34 UTC
Any enhancement to the set of crypto algorithms supported by NSS will have to be requested and implemented by the upstream NSS development project.

I couldn't fine an upstream bug, so nobody might have requested it yet.

Who would like to file the upstream request?

Bob, are you aware of anyone already working on scrypt at NSS upstream?

Comment 4 Bob Relyea 2016-09-28 22:56:28 UTC
No one is working on scrypt upstream. We would have to file an upstream bug and probably assign someone to it.

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