Bug 2188180

Summary: Enable support for brainpool curves in ECC in RHEL
Product: Red Hat Enterprise Linux 9 Reporter: Sahana Prasad <shebburn>
Component: opensslAssignee: Sahana Prasad <shebburn>
Status: CLOSED ERRATA QA Contact: Alicja Kario <hkario>
Severity: medium Docs Contact: Mirek Jahoda <mjahoda>
Priority: medium    
Version: 9.3CC: cllang, dbelyavs, hkario, mjahoda, shebburn
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openssl-3.0.7-21.el9 Doc Type: Enhancement
Doc Text:
.OpenSSL now supports Brainpool curves configurable through the `Groups` option This update of the OpenSSL TLS toolkit introduces support for Brainpool curves in Elliptic Curve Cryptography (ECC). Additionally, you can control the curves with the system-wide cryptographic policies through the `Groups` configuration option. The following Brainpool curves are enabled in OpenSSL ECC: * `brainpoolP256r1` * `brainpoolP256t1` * `brainpoolP320r1` * `brainpoolP320t1` * `brainpoolP384r1` * `brainpoolP384t1` * `brainpoolP512r1` * `brainpoolP512t1`
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:53:05 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:

Description Sahana Prasad 2023-04-20 02:29:44 UTC
Description of problem:
Currently brainpool curves in ECC are disabled.

After discussing with RH-legal, we are now permitted to allow Brainpool curves.
There is a request to enable Brainpool curves by customers like Samsung (attached customer case).

Changes as part of this bug, will therefore enable long brainpool curves in ECC by default. Short curves are still disabled as they are unsafe to be used.

Actual results:
Brainpool curves are disabled.

Expected results:
Brainpool curves (long) are enabled in ECC by default.

Additional info:
Fedora bug for the same issue:
https://bugzilla.redhat.com/show_bug.cgi?id=2141672

RH-legal
https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/752Z34MTHB6B4XRUW2TTAPEIUUK4O2LA/

Customer case requesting Brainpool support in RHEL:
https://access.redhat.com/support/cases/#/case/03462042

Comment 1 Clemens Lang 2023-04-25 16:03:14 UTC
Setting a doc type, but we still need to fill the doc text.

Comment 6 Sahana Prasad 2023-06-26 08:27:24 UTC
Dev testing logs on 1minute-tip machine:
[root@vm-10-0-185-157 ~]# 
[root@vm-10-0-185-157 ~]# openssl ecparam -list_curves
  secp224r1 : NIST/SECG curve over a 224 bit prime field
  secp384r1 : NIST/SECG curve over a 384 bit prime field
  secp521r1 : NIST/SECG curve over a 521 bit prime field
  prime256v1: X9.62/SECG curve over a 256 bit prime field
[root@vm-10-0-185-157 ~]# uname -a
Linux vm-10-0-185-157.hosted.upshift.rdu2.redhat.com 5.14.0-329.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 17 15:36:40 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@vm-10-0-185-157 ~]# cat /proc/sys/crypto/fips_enabled
1

Comment 9 Sahana Prasad 2023-09-12 22:16:28 UTC
Hi Petr, made some minor edits. The text looks fine. Thank you.

Comment 13 errata-xmlrpc 2023-11-07 08:53:05 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 (openssl 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-2023:6627