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 2070604 - [RFE] Add support for sntrup761x25519-sha512 Kex in OpenSSH [rhel-9.1.0]
Summary: [RFE] Add support for sntrup761x25519-sha512@openssh.com Kex in OpenSSH [rhel...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: crypto-policies
Version: 9.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Alexander Sosedkin
QA Contact: Ondrej Moriš
Mirek Jahoda
URL:
Whiteboard:
Depends On:
Blocks: 2070610
TreeView+ depends on / blocked
 
Reported: 2022-03-31 14:00 UTC by Pablo Mendez Hernandez
Modified: 2022-11-15 12:55 UTC (History)
3 users (show)

Fixed In Version: crypto-policies-20220404-1.git845c0c1.el9
Doc Type: Enhancement
Doc Text:
.`crypto-policies` now support `sntrup761x25519-sha512@openssh.com` This update of the system-wide cryptographic policies adds support for the `sntrup761x25519-sha512@openssh.com` key exchange (KEX) method. The post-quantum `sntrup761` algorithm is already available in the OpenSSH suite, and this method provides better security against attacks from quantum computers. To enable `sntrup761x25519-sha512@openssh.com`, create and apply a subpolicy, for example: ---- # echo 'key_exchange = +SNTRUP' > /etc/crypto-policies/policies/modules/SNTRUP.pmod # update-crypto-policies --set DEFAULT:SNTRUP ---- For more information, see the link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/security_hardening/using-the-system-wide-cryptographic-policies_security-hardening#customizing-system-wide-cryptographic-policies-with-subpolicies_using-the-system-wide-cryptographic-policies[Customizing system-wide cryptographic policies with subpolicies] section in the RHEL 9 Security hardening document.
Clone Of:
Environment:
Last Closed: 2022-11-15 11:12:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat-crypto fedora-crypto-policies merge_requests 113 0 None None None 2022-03-31 14:02:21 UTC
Red Hat Issue Tracker CRYPTO-7017 0 None None None 2022-04-01 12:02:51 UTC
Red Hat Issue Tracker RHELPLAN-117544 0 None None None 2022-03-31 14:20:35 UTC
Red Hat Product Errata RHBA-2022:8279 0 None None None 2022-11-15 11:13:01 UTC

Description Pablo Mendez Hernandez 2022-03-31 14:00:17 UTC
Description of problem:

It'd be very convenient to be able to have 'sntrup761x25519-sha512'
as a Kex algorithm.

OpenSSH already has support for it the version shipped in RHEL 9.0 and
will be the default in the next OpenSSH version (>8.9) as per:

https://github.com/openbsd/src/commit/0726d1207d0c034cb9acde3ff0b12c3afc772e37


Version-Release number of selected component (if applicable):


How reproducible:

Always.


Steps to Reproduce:
1. Try to connect using that Kex algorithm:
$ ssh -vvv -o KexAlgorithms=sntrup761x25519-sha512 ${DESTINATION}


Actual results:

. . .
debug2: local client KEXINIT proposal
debug2: KEX algorithms: sntrup761x25519-sha512,ext-info-c
. . .
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512
. . .
debug1: kex: algorithm: (no match)
Unable to negotiate with ${DESTINATION} port 22: no matching key exchange method found. Their offer: curve25519-sha256,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512


Expected results:

. . .
debug2: local client KEXINIT proposal
debug2: KEX algorithms: sntrup761x25519-sha512,ext-info-c
. . .
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,sntrup761x25519-sha512
. . .
debug1: kex: algorithm: sntrup761x25519-sha512
. . .


Additional info:

Comment 13 errata-xmlrpc 2022-11-15 11:12:53 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 (crypto-policies 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-2022:8279


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