Bug 2080783 - Unsupported CLA byte in APDU
Summary: Unsupported CLA byte in APDU
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opensc
Version: 35
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Veronika Hanulíková
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-01 20:35 UTC by Stefano Biagiotti
Modified: 2022-05-19 01:22 UTC (History)
4 users (show)

Fixed In Version: opensc-0.22.0-6.fc36 opensc-0.22.0-6.fc35
Clone Of:
Environment:
Last Closed: 2022-05-07 04:37:53 UTC
Type: Bug
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github OpenSC OpenSC issues 2370 0 None closed Italian CNS (aka TNS) ST2021: CKR_GENERAL_ERROR 2022-05-01 20:35:41 UTC
Red Hat Issue Tracker FC-440 0 None None None 2022-05-01 20:44:51 UTC

Description Stefano Biagiotti 2022-05-01 20:35:42 UTC
I hit the same error reported here: https://github.com/OpenSC/OpenSC/issues/2370

P:10081; T:0x139715392814080 13:43:38.287 [opensc-pkcs11] sec.c:47:sc_decipher: returning with: -1203 (Unsupported CLA byte in APDU)

I see it's fixed upstream: https://github.com/OpenSC/OpenSC/pull/2371

I have Fedora 35 and opensc-0.22.0-1.fc35.x86_64 which is the latest stable release. Is it possible to build a new rpm (0.22.0-2 maybe?) with the three commits that solve this issue?

Thank you.

Comment 1 Veronika Hanulíková 2022-05-02 15:25:35 UTC
Link to the PR https://src.fedoraproject.org/rpms/opensc/pull-request/15

Comment 2 Fedora Update System 2022-05-03 07:49:28 UTC
FEDORA-2022-d93a0e0a45 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d93a0e0a45

Comment 3 Fedora Update System 2022-05-03 13:33:28 UTC
FEDORA-2022-d93a0e0a45 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d93a0e0a45`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d93a0e0a45

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-05-07 04:37:53 UTC
FEDORA-2022-d93a0e0a45 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Stefano Biagiotti 2022-05-10 07:50:00 UTC
Is it possible to build this rpm for F35 too?

Comment 6 Jakub Jelen 2022-05-10 11:29:08 UTC
I am already building F35 build: https://koji.fedoraproject.org/koji/taskinfo?taskID=86869737 will submit the update as it will be ready.

Comment 7 Fedora Update System 2022-05-10 11:50:13 UTC
FEDORA-2022-36c706bae0 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-36c706bae0

Comment 8 Fedora Update System 2022-05-11 02:45:23 UTC
FEDORA-2022-36c706bae0 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-36c706bae0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-36c706bae0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Stefano Biagiotti 2022-05-12 13:05:56 UTC
Works for me.
Thanks Jakub and Veronika.

Comment 10 Fedora Update System 2022-05-19 01:22:40 UTC
FEDORA-2022-36c706bae0 has been pushed to the Fedora 35 stable repository.
If problem still persists, 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.