Bug 1583719 - pkgconfig(libp11) missing
Summary: pkgconfig(libp11) missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openssl-pkcs11
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anderson Sasaki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-29 14:26 UTC by David Woodhouse
Modified: 2018-06-15 15:49 UTC (History)
2 users (show)

Fixed In Version: openssl-pkcs11-0.4.7-7.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-15 15:49:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2018-05-29 14:26:59 UTC
The OpenConnect CI uses Fedora to build against both GnuTLS and OpenSSL:
http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/.gitlab-ci.yml

Builds have started failing, because pkgconfig(libp11) can no longer be found.

It looks like we dropped the -devel package at around the time we renamed from libp11 to openssl-pkcs11. Why?

Applications which really want to get things right do actually need to use libp11 directly and not the engine. (Or not use OpenSSL at all, of course).

Comment 1 Nikos Mavrogiannopoulos 2018-05-30 08:11:08 UTC
Hi David, we removed libp11 as a library to link with from fedora because there were no dependencies using it. It has quite some issues as a library and it is not sure whether openssl upstream will end up with something similar for PKCS#11 support, so we thought it would be better for the long run to only bring the engine_pkcs11 (now openssl-pkcs11).

Comment 2 David Woodhouse 2018-05-31 09:58:39 UTC
OpenSSL upstream will probably end up with a STORE loader which does PKCS#11. But in the meantime, libp11 is the best approach for applications that really care about getting stuff right. There are things you just can't do with the engine — like finding a key to match your cert, etc.

It doesn't have *that* many issues as a library, and we're *shipping* it anyway since it's the basis for the ENGINE. Please could we have it back?

Comment 3 Nikos Mavrogiannopoulos 2018-05-31 15:01:28 UTC
Anderson what do you think, could we re-include the libp11-devel package in Fedora?

Comment 4 Anderson Sasaki 2018-05-31 15:38:31 UTC
Yes, we can.

Comment 5 Fedora Update System 2018-06-06 15:21:01 UTC
openssl-pkcs11-0.4.7-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1e5d7b77cf

Comment 6 Fedora Update System 2018-06-07 13:18:01 UTC
openssl-pkcs11-0.4.7-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1e5d7b77cf

Comment 7 Fedora Update System 2018-06-15 15:49:00 UTC
openssl-pkcs11-0.4.7-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, 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.