Re: [opensc-devel] EF(DIR) and sc_pkcs15_bind_internal

2012-06-02 Thread Martin Paljak
Hello, On Fri, Jun 1, 2012 at 9:45 PM, Douglas E. Engert deeng...@anl.gov wrote: An example might be a PIV card application has the ATR may contain the default application on the card. Thus it could be possible that a card has both a default application that is not PKCS#15 and the card

Re: [opensc-devel] EF(DIR) and sc_pkcs15_bind_internal

2012-06-02 Thread Viktor Tarasov
Le 02/06/2012 14:10, Martin Paljak a écrit : Hello, On Fri, Jun 1, 2012 at 9:45 PM, Douglas E. Engert deeng...@anl.gov wrote: An example might be a PIV card application has the ATR may contain the default application on the card. Thus it could be possible that a card has both a default

[opensc-devel] EF(DIR) and sc_pkcs15_bind_internal

2012-06-01 Thread Martin Paljak
Hello, OpenSC currently tries to read EF(DIR) and if this fails, doesn't find the PKCS#15 application on the card. Yet PKCS#15 tells: a) 5.4.1: EF(DIR) is optional b) 5.7.1/5.7.2: PKCS #15 compliant IC cards should support direct application selection as defined in ISO/IEC 7816-4 Section 9 and