Bug 1373158 (rhel7-chacha20-nss)

Summary: CHACHA20-POLY1305 in NSS
Product: Red Hat Enterprise Linux 7 Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: nss-softoknAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Hubert Kario <hkario>
Severity: unspecified Docs Contact: Mirek Jahoda <mjahoda>
Priority: unspecified    
Version: 7.4CC: dueno, hkario, kengert, mgrepl, rrelyea, szidek, tmraz
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: nss-softokn-3.28.3-2.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 16:47:42 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:
Bug Depends On: 1369055    
Bug Blocks: 1371038, 1373157, 1377248    

Comment 1 Nikos Mavrogiannopoulos 2016-09-05 11:34:04 UTC
The CHACHA20-POLY1305 algorithm is specified in rfc7539, and is being adopted by TLS 1.3 and IPSec (rfc7634). It is becoming the de-facto backup algorithm of AES-GCM (implemented in all major browsers), and is being included into all major crypto libraries. 

We should include chacha20-poly1305 in RHEL7 when possible.

Comment 3 Kai Engert (:kaie) (inactive account) 2016-09-28 18:42:06 UTC
Does this inclusion require a change to nss-softokn?

If yes, this cannot be done for RHEL 7.3, where nss-softokn is currently expected to remain frozen.

We have full flexibility for RHEL 7.4, which is expected to rebase all of NSS, including nss-softokn.

Upstream NSS has support ChaCha for TLS since upstream release NSS 3.25, and I see that code with that name has been added to the NSS freebl and softokn directories.

We intend to rebase RHEL 7.4 to version NSS 3.28, because it will be required for Firefox 52.

Based on current releases schedules, NSS 3.28 should be ready by mid November.

Comment 4 Kai Engert (:kaie) (inactive account) 2016-09-28 18:43:24 UTC
Bob, can we assume that the upstream NSS implementation of ChaCha is sufficiently complete to satisfy Nikos' expectations?

Is there anything necessary to verify/test the upstream implementation, that should be done prior to the release of NSS 3.28 mid November?

Comment 5 Kai Engert (:kaie) (inactive account) 2016-09-28 18:44:08 UTC
Assigning to Daiki, as this will likely be covered by the expected rebase.

Comment 6 Bob Relyea 2016-09-28 22:54:31 UTC
The upstream implementation should be sufficient.

Comment 20 errata-xmlrpc 2017-08-01 16:47:42 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.