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 1066113 - Show user name in smartcard pin prompt
Summary: Show user name in smartcard pin prompt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: evolution
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Matthew Barnes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1070846
TreeView+ depends on / blocked
 
Reported: 2014-02-17 17:58 UTC by Roshni
Modified: 2014-06-18 01:17 UTC (History)
3 users (show)

Fixed In Version: evolution-3.8.5-19
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1070846 (view as bug list)
Environment:
Last Closed: 2014-06-13 11:59:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Roshni 2014-02-17 17:58:39 UTC
Description of problem:
Smartcard pin prompt has the message "Enter the password for '<card- reader-name>'" instead of "Enter the password for '<username-on-the-card>'"

Version-Release number of selected component (if applicable):
evolution-3.8.5-17.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Encrypt and send an email using the encryption cert on a smartcard.
2. Read the encrypted email when the smartcard is inserted

Actual results:
Smartcard pin prompt has the message "Enter the password for '<card- reader-name>'"

Expected results:
Smartcard pin prompt should have the message "Enter the password for '<username-on-the-card>'"

Additional info:

rpattath> evolution on RHEL 7, using the encryption  cert on a smartcard to encrypt an email, email encrypted and sent successfully, the box that prompts for the smartcard pin has the message "Enter the password for <card-reader-name>" instead of "Enter the password for <username-on-the-card>"
<rpattath> mcrha, ping ^^
<mcrha> hi rpattath, I may search where it gets that info from, maybe there is not given more information from nss
<mbarnes> mcrha: look here https://git.gnome.org/browse/evolution/tree/smime/gui/component.c#n38
<mbarnes> it might just be a one-liner, but NSS is greek to me
<rpattath> mcrha, I think it gets it from PKCS11 coolkey module
<mcrha> mbarnes, right, I added there recently the if() for more info, if it's available
<mcrha> rpattath_afk, right, rhel7 version doesn't contain the fix.

Comment 3 Milan Crha 2014-02-18 05:33:47 UTC
Devel-acking, upstream fix available:
https://git.gnome.org/browse/evolution/commit/?id=0985c6d8010

Comment 4 Milan Crha 2014-02-18 06:07:17 UTC
Roshni, here [1] is a test build, with the upstream patch included. Please give it a try (not that I'm aware of any other chance to get the token name for the password prompt).

[1] https://brewweb.devel.redhat.com/taskinfo?taskID=7071077

Comment 5 Roshni 2014-02-18 16:40:04 UTC
Using the test build in comment 4 shows both the card reader name and the username on the card. Applications like firefox and thunderbird shows only the username on the smartcard.

Comment 6 Milan Crha 2014-02-19 07:31:05 UTC
Isn't is better to tell both, to give a user more precise idea what exact password is needed? I believe it is better, because you can have the same user name for local certificate and one for a card reader.

Comment 9 Roshni 2014-02-26 15:19:07 UTC
Verified on evolution-3.8.5-19.el7.x86_64

Comment 10 Ludek Smid 2014-06-13 11:59:32 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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