Bug 1657365
Summary: | opensc fails to access smartcard while coolkey works | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | joel <jwooten> |
Component: | opensc | Assignee: | Jakub Jelen <jjelen> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Asha Akkiangady <aakkiang> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.6 | CC: | jwooten |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-16 16:54:08 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: |
Description
joel
2018-12-07 19:21:48 UTC
The card reader is : Card reader types SCM Microsystems Inc. SCR 3310 [CCID Interface] 00 And the card is : Giesecke & Devrient (PIV endpoint) The output of opensc-tool --attr shows the ATR bytes of the card to be 3b:7a:18:00:00:73:66:74:65:20:63:64:31:34:34 As to the size of the keys how should I retrieve those? We tried: # pkcs11-tool --test --login But this failed to output the any signatures. Attaching that output as: redhat-pkcs11-tool-debug-output.txt OK, so you have PIV card and you are getting the errors in coolkey. That is indeed a misconfiguration. Does it work if you run it with explicitly selected PIV or CAC driver? OPENSC_DRIVER=PIV-II pkcs11-tool --test --login OPENSC_DRIVER=cac pkcs11-tool --test --login You can get the size of the keys on the card by listing the objects on the card: pkcs11-tool -O case abandoned by customer |