Bug 2138900 - es256_pk_from_EVP_PKEY() misbehaving with OpenSSL 3.0
Summary: es256_pk_from_EVP_PKEY() misbehaving with OpenSSL 3.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libfido2
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gary Buhrmaster
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-31 15:56 UTC by Iker Pedrosa
Modified: 2022-11-03 15:58 UTC (History)
1 user (show)

Fixed In Version: libfido2-1.10.0-4.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-03 15:58:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Iker Pedrosa 2022-10-31 15:56:36 UTC
Description of problem:
es256_pk_from_EVP_PKEY() is misbehaving with OpenSSL 3.0 as the underlying call to EVP_PKEY_get0() always returns NULL.


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


Additional info:
The problem was already fixed upstream in https://github.com/Yubico/libfido2/commit/73b27d8c65838c95af7b622d59066c029f5ba94f, which was already included in libfido2-1.11.0 and higher. This bug only applies to Fedora 36 because Fedora 37+ already contain the fix and because Fedora 35 doesn't include OpenSSL 3.0.

Comment 1 Iker Pedrosa 2022-10-31 16:00:46 UTC
Opened downstream PR: https://src.fedoraproject.org/rpms/libfido2/pull-request/2#

Comment 2 Fedora Update System 2022-11-01 15:29:59 UTC
FEDORA-2022-afc5ba67f7 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-afc5ba67f7

Comment 3 Fedora Update System 2022-11-02 15:15:56 UTC
FEDORA-2022-afc5ba67f7 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-afc5ba67f7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-afc5ba67f7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-11-03 15:58:12 UTC
FEDORA-2022-afc5ba67f7 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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