Bug 1173552

Summary: p11-kit integration
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: engine_pkcs11Assignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: gmazyland, kalevlember, stefw, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: engine_pkcs11-0.1.8-10.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-26 03:54:33 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:
Bug Depends On:    
Bug Blocks: 1172247, 1173546    

Description David Woodhouse 2014-12-12 12:09:00 UTC
engine_pkcs11 should use p11-kit-proxy.so as its PKCS#11 provider if no other module is specified. Then it will pick up the modules which are present in the system's p11-kit configuration.

Also, the text format in which it is instructed which object to use is non-standard. It should accept PKCS#11 URIs. Proof-of-concept patch at http://sourceforge.net/p/opensc/mailman/message/33132605/

Comment 1 David Woodhouse 2014-12-15 13:24:32 UTC
Cleaned up fixes at https://github.com/OpenSC/engine_pkcs11/pull/9

Comment 2 Tomas Mraz 2014-12-15 13:38:42 UTC
David, would you like to comaintain engine_pkcs11?

Comment 3 David Woodhouse 2014-12-15 17:45:14 UTC
I'd actually like to kill it off entirely as a separate package and get the functionality merged into OpenSSL proper (cf. http://sourceforge.net/p/opensc/mailman/message/33136083/ )

But yeah, in the meantime I'm happy enough to help with the separate package. Thanks.

Comment 4 David Woodhouse 2014-12-18 15:30:37 UTC
Note: once these patches are merged, we should also make the engine reside at %{_libdir}/openssl/engines/libpkcs11.so so that it is loaded automatically by a call to ENGINE_by_id("pkcs11").

Comment 5 Fedora Update System 2015-05-06 15:25:51 UTC
engine_pkcs11-0.1.8-10.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/engine_pkcs11-0.1.8-10.fc22

Comment 6 Fedora Update System 2015-05-10 23:40:06 UTC
Package engine_pkcs11-0.1.8-10.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing engine_pkcs11-0.1.8-10.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7723/engine_pkcs11-0.1.8-10.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-05-26 03:54:33 UTC
engine_pkcs11-0.1.8-10.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.