Bug 1861360
Summary: | authby=rsasig must not imply usage of rsa-pss | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ondrej Moriš <omoris> |
Component: | libreswan | Assignee: | Paul Wouters <pwouters> |
Status: | CLOSED ERRATA | QA Contact: | Ondrej Moriš <omoris> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.3 | CC: | ssorce |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libreswan-3.32-6.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 03:18:00 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
Ondrej Moriš
2020-07-28 12:01:39 UTC
I forgot to add one very important detail - it is only broken with 1024 bit RSA keys. It works fined with bigger keys. We realized that 1024 bit RSA keys are actually too small for SHA-512. I am changing bug summary to reflect that. Currently when authby is set to rsasig it implies usage of rsa-sha2_512, rsa-sha2_384, rsa-sha2_256, rsa-sha1. However, for RSA keys of size 1024 bits the first option in that ordering fails (correctly). Previously (in 3.29), rsasig implied rsa-sha1 only for which 1024 bits RSA keys are fine. We have to switch back to this solution to prevent issues for customers using rsasig authby setting with 1024 bit keys. If anyone wants to use SHA2, authby must be set to it explicitly (ie. authby=rsa-sha2). 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 (libreswan 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/RHEA-2020:4722 |