<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.1">
</HEAD>
<BODY>
package: opensc_0.11.13-1_amd64<BR>
package: libssl0.9.8_0.9.8m-2_amd64<BR>
<BR>
When I run, pkcs11-tool -O<BR>
I get the following errors:<BR>
<BR>
[opensc-pkcs11] iso7816.c:99:iso7816_check_sw: File not found<BR>
[opensc-pkcs11] card-piv.c:385:piv_general_io: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found<BR>
[opensc-pkcs11] pkcs15-pubkey.c:414:sc_pkcs15_read_pubkey: Failed to read public key file.<BR>
[opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found<BR>
[opensc-pkcs11] pkcs15-pubkey.c:414:sc_pkcs15_read_pubkey: Failed to read public key file.<BR>
[opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found<BR>
[opensc-pkcs11] pkcs15-pubkey.c:414:sc_pkcs15_read_pubkey: Failed to read public key file.<BR>
[opensc-pkcs11] card-piv.c:723:piv_get_data: returning with: File not found<BR>
[opensc-pkcs11] card-piv.c:924:piv_read_binary: returning with: File not found<BR>
[opensc-pkcs11] card.c:430:sc_read_binary: returning with: File not found<BR>
[opensc-pkcs11] pkcs15-pubkey.c:414:sc_pkcs15_read_pubkey: Failed to read public key file.<BR>
<BR>
and then produces the expected object listing.<BR>
<BR>
A nuisance yes, but it seems like this might be a larger problem.<BR>
<BR>
I have added:<BR>
        card_atr 3b:7d:96:00:00:80:31:80:65:b0:83:11:17:d6:83:00:90:00 {<BR>
                name = &quot;PIV-II&quot;;<BR>
                 driver = &quot;piv&quot;;<BR>
        # }<BR>
<BR>
and<BR>
<BR>
reader_driver pcsc {
<PRE>
...
        max_send_size = 255;
        max_recv_size = 256;
...
&nbsp;&nbsp;&nbsp; }

and

framework pkcs15 {
...
        emulate PIV-II {
        }
...
    }
</PRE>
<BR>
to my opensc.conf<BR>
<BR>
</BODY>
</HTML>