Ticket #189 (new defect)
NB! If you want the issue fixed, leave an e-mail address or check back often.
Problems with opensc-pkcs11.so
| Reported by: | boarmanc | Owned by: | opensc-devel@… |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | opensc | Version: | 0.11.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by martin) (diff)
I am testing middleware products and currently working with two: ActivClient? and OpenSC. Right now, I can only get the pkcs11 module from ActivClient? to work. Here is the comparison of the two using the pkcs11-tool:
PKCS#11 Interface works using ActivClient? PKCS11 module:
[root@etsorh5ai OPENSC]# pkcs11-tool --module /usr/local/ActivIdentity/ActivClient/lib/libacpkcs211.so -L Available slots: Slot 0 OMNIKEY CardMan 3x21 00 00 token label: ActivIdentity ActivClient 0 token manuf: Oberthur token model: ID-One Cosmo 64 token flags: login required, PIN initialized, token initialized serial num : 3133314335333741
PKCS#11 Interface fails using OpenSC PKCS11 module:
[root@etsorh5ai opensc-0.11.8]# pkcs11-tool --module /usr/lib/pkcs11/opensc-pkcs11.so -L [opensc-pkcs11] pkcs15-cert.c:83:parse_x509_cert: X.509 certificate not found [opensc-pkcs11] pkcs15-piv.c:338:sc_pkcs15emu_piv_init: Failed to read/parse the certificate r=-1401 [opensc-pkcs11] pkcs15-cert.c:83:parse_x509_cert: X.509 certificate not found [opensc-pkcs11] pkcs15-piv.c:338:sc_pkcs15emu_piv_init: Failed to read/parse the certificate r=-1401 [opensc-pkcs11] card-piv.c:752:piv_handle_certificate_data: returning with: Object not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: Object not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: Object not found [opensc-pkcs11] card-piv.c:752:piv_handle_certificate_data: returning with: Object not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: Object not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: Object not found [opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found [opensc-pkcs11] pkcs15-pubkey.c:404:sc_pkcs15_read_pubkey: Failed to read public key file. [opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found [opensc-pkcs11] pkcs15-pubkey.c:404:sc_pkcs15_read_pubkey: Failed to read public key file. [opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found [opensc-pkcs11] pkcs15-pubkey.c:404:sc_pkcs15_read_pubkey: Failed to read public key file. [opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found [opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found [opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found [opensc-pkcs11] pkcs15-pubkey.c:404:sc_pkcs15_read_pubkey: Failed to read public key file. Available slots: Slot 0 OMNIKEY CardMan 3x21 00 00 token label: PIV_II (PIV Card Holder pin) token manuf: piv_II token model: PKCS#15 emulated token flags: rng, login required, PIN initialized, token initialized serial num : 108601c84210c3e8
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

