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 1231119 - provide a p11-kit module file
Summary: provide a p11-kit module file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: coolkey
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bob Relyea
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On: 1073320
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 08:11 UTC by Martin Kosek
Modified: 2015-11-19 13:01 UTC (History)
6 users (show)

Fixed In Version: coolkey-1.1.0-30.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1073320
Environment:
Last Closed: 2015-11-19 13:01:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2413 0 normal SHIPPED_LIVE coolkey enhancement update 2015-11-19 11:23:53 UTC

Description Martin Kosek 2015-06-12 08:11:43 UTC
+++ This bug was initially created as a clone of Bug #1073320 +++

p11-kit is used in fedora to access pkcs11 modules: http://p11-glue.freedesktop.org/p11-kit.html

However it requires each available module to register itself using a .module file in /usr/share/p11-kit/.


Installing the attached sample file on this location will do the trick and allow coolkey smart cards to be visible to applications that utilize p11-kit.

The library visibility can be tested using p11-kit list-modules.

--- Additional comment from Nikos Mavrogiannopoulos on 2014-03-06 03:17:21 EST ---

(the correct path is /usr/share/p11-kit/modules/ )

Comment 3 Martin Kosek 2015-06-12 08:21:37 UTC
The suggested config file (attachment 871247 [details]) was already tested by Sumit (CCed) and it worked fine - at least the module listing part.

Comment 4 Bob Relyea 2015-07-06 20:52:57 UTC
fixed in coolkey-1.1.0-30.el7

Comment 6 Roshni 2015-09-02 16:30:00 UTC
[root@dhcp129-45 ~]# rpm -qi coolkey
Name        : coolkey
Version     : 1.1.0
Release     : 33.el7
Architecture: x86_64
Install Date: Wed 02 Sep 2015 10:10:31 AM EDT
Group       : System Environment/Libraries
Size        : 300164
License     : LGPLv2
Signature   : RSA/SHA256, Thu 23 Jul 2015 02:57:59 PM EDT, Key ID 938a80caf21541eb
Source RPM  : coolkey-1.1.0-33.el7.src.rpm
Build Date  : Mon 06 Jul 2015 10:16:18 PM EDT
Build Host  : x86-019.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://directory.fedora.redhat.com/wiki/CoolKey
Summary     : CoolKey PKCS #11 module


I see the coolkey.module file under /usr/share/p11-kit/modules which has the following content

# This file describes how to load the coolkey module
# See: http://p11-glue.freedesktop.org/doc/p11-kit/config.html

# This is a relative path, which means it will be loaded from
# the p11-kit default path which is usually $(libdir)/pkcs11.
# Doing it this way allows for packagers to package coolkey for
# 32-bit and 64-bit and make them parallel installable
module: libcoolkeypk11.so

Comment 7 Roshni 2015-09-02 16:36:56 UTC
Bob,

Please confirm if comment 6 is sufficient to verify this bug or if any additional tests are required.

Comment 8 Roshni 2015-09-02 16:41:44 UTC
Verified the bug as explained in comment 6.

Comment 9 errata-xmlrpc 2015-11-19 13:01:22 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, 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://rhn.redhat.com/errata/RHEA-2015-2413.html


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