El jue, 30-06-2011 a las 20:58 +0200, Frank Morgner escribió:
> On Thursday, June 30 at 07:08PM, Juan Antonio Martinez wrote:
> > In OpenDNIe[1] we had a similar problem: on SM establishment we need to
> > override default meaning of some error codes, to get a common SM error
> > and parse it. I solved it by mean of providing own check_sw() at
> > card_ops function pointers.
[...]
> > Juan Antonio
> > [1]
> > https://github.com/jonsito/OpenSC/blob/master/src/libopensc/card-dnie.c
> 
> 0x6987 and 0x6988 are specified by ISO and could very well be integrated
> in the iso card driver.

Sure. In fact they are already declared in iso driver... but with a
different assigned SC_ERROR_XXXXXX macro. That was that I had to change

BTW: the other sw declared in dnie, 0x6688 (Cryptographic Checksum
invalid) is not defined in iso7816-4, but in cwa-14890 and many other
sites related to Secure Messaging

Juan Antonio

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to