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 1598708 - [RFE] Allow creating IPA CA with 3072-bit key.
Summary: [RFE] Allow creating IPA CA with 3072-bit key.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.1
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-06 09:19 UTC by German Parente
Modified: 2023-03-24 14:12 UTC (History)
16 users (show)

Fixed In Version: ipa-4.7.90.pre1-3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:52:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
verification steps with output (4.55 KB, text/plain)
2019-07-11 10:39 UTC, Kaleem
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-9599 0 None None None 2023-03-24 14:12:51 UTC
Red Hat Product Errata RHBA-2019:3348 0 None None None 2019-11-05 20:52:52 UTC

Description German Parente 2018-07-06 09:19:24 UTC
Description of problem:

downstream bug for https://pagure.io/freeipa/issue/6790

Comment 3 Christian Heimes 2019-04-16 14:54:11 UTC
IPA has increased the default RSA size to 3072bits. That's equivalent to 128 bit symmetric strength and recommended by NIST for usage after 2030. 4096 bit RSA keys would reduce the speed of signature verification to almost half of 3072.

Fixed upstream
master:
https://pagure.io/freeipa/c/45b8cc1d83cde31af53d2cffd3913becc591ad34
https://pagure.io/freeipa/c/00a7868fa4011a0639bf96d23225c4203980bfb3
https://pagure.io/freeipa/c/2bad9fd0df540dd93c7802cc06fbcf1f72f83965

Comment 8 Christian Heimes 2019-06-19 13:43:20 UTC
IPA 4.8.0 will create a CA with 3072bit RSA key by default. A key size of 3072 was chosen in accordance with recommendation in NIST SP 800-57 Part 1 Revision 4. A 3072bit RSA key as approximately the same security strength as AES-128 and SHA-256. NIST recommends 3072 for RSA keys that are used beyond 2030.

Remark: The ticket originally requested a key size of 4096. We decided to follow the NIST recommendation instead. The security strength of an asymmetric signing algorithm does not scale linear. RSA 2048 is equivalent to a security strengh of 112, 7680bit key to 192, and 15360bit key to 256.

Comment 9 Kaleem 2019-07-11 10:38:42 UTC
Verified.

Please find the attached verification-output.txt where manual cert key size is verified.

Also executed the upstream test added for this in beta compose build which is working fine.


[root@dhcp207-127 ~]# py.test-3.6 -v -r a --color=yes --multihost-config=/"root/mh_cfg.yaml" --junit-xml=/root/junit.xml /usr/lib/python3.6/site-packages/ipatests/test_integration/test_installation.py::TestInstallMaster
================================================================ test session starts =================================================================
platform linux – Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 – /usr/libexec/platform-python
collected 10 items

../usr/lib/python3.6/site-packages/ipatests/test_integration/test_installation.py::TestInstallMaster::test_pki_certs PASSED [ 70%]

[root@dhcp207-127 ~]# rpm -q ipa-server
ipa-server-4.7.90.pre1-3.module+el8.1.0+3389+a3c612fa.x86_64
[root@dhcp207-127 ~]#

Comment 10 Kaleem 2019-07-11 10:39:45 UTC
Created attachment 1589396 [details]
verification steps with output

Comment 12 errata-xmlrpc 2019-11-05 20:52:26 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.

https://access.redhat.com/errata/RHBA-2019:3348


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