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 1001299 - ECC signature not always padded correctly.
Summary: ECC signature not always padded correctly.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: coolkey
Version: 7.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: 7.1
Assignee: Bob Relyea
QA Contact: Asha Akkiangady
URL:
Whiteboard:
: 1035438 (view as bug list)
Depends On:
Blocks: 1035437 1035438 1113520
TreeView+ depends on / blocked
 
Reported: 2013-08-26 20:39 UTC by Jack Magne
Modified: 2015-02-25 11:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1035437 1035438 (view as bug list)
Environment:
Last Closed: 2014-09-26 22:53:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix to padd incoming ECC signatures correctly. (2.69 KB, patch)
2013-08-26 20:39 UTC, Jack Magne
no flags Details | Diff

Description Jack Magne 2013-08-26 20:39:34 UTC
Created attachment 790689 [details]
Fix to padd incoming ECC signatures correctly.

Description of problem:

Now that we can make ECC signatures, this requires often that the signature data has to be padded or truncated correctly based on what is returned by the card and what is required by NSS.

We already have a method to do this but it only handles the truncation case, not the padding case.


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

Latest rhel5 coolkey


How reproducible:

Always.

Steps to reproduce.

1. Enroll a 384 bit or higher token with rhcs ecc upcoming errata candidate.

2. Run BobR's smartcard test program.




Actual results:

Some of the signatures attempted by the tool will fail.

Expected results:

We want all support signature types to be performed correctly.

Comment 1 Suzanne Forsberg 2013-08-29 14:22:57 UTC
Since 5.10 is only accepting blocker bugs at this point(they have already built a release candidate), I am recommending that we defer this fix until 5.11 and we consider fixing this in 5.10.z.

Comment 2 Bob Relyea 2013-11-27 01:36:03 UTC
Jack please clone this bug for RHEL6 (target 6.6) and RHEL 7

Comment 3 RHEL Program Management 2014-01-22 16:26:40 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Asha Akkiangady 2014-07-17 19:11:10 UTC
*** Bug 1035438 has been marked as a duplicate of this bug. ***

Comment 8 Bob Relyea 2014-09-26 22:53:17 UTC
tested on RHEL 7 as well. Padding is working correctly.


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