Hello Ludovic,

> I remember doing this patch.
> The problem was that the ASN.1 encoder/decoder routines were bogus.
> Negative values and "special" values like 128 were not encoded
> correctly.
> 
> I am not really surprised that cards initialized with an old version
> have problems when used with a new one. But I am surprised that the
> problem is only discovered ~2 years after the code change.

It worked with version 0.11.4 which was part of Ubuntu from April 2009.
So for some of the OpenSC users the change happend in
October 2009 with the release of Ubuntu 9.10. This is maybe a
problem of the Linux distributors, but just for an explanation for the
lag of 2 years.

Currently I try to get OpenSC more noticed within (at least) Ubuntu
because I'm convinced the project delivers fine software and it is "the"
way to use Smartcards under Linux. We are using it since ~ 2003.


> I am not sure the correct solution is to revert the patch and continue
> using a bad ASN.1 encoder/decoder for ever.
> Maybe users with problematic cards should re-issue them using the
> corrected ASN.1 encoder?

We have aprox. 5000 Cards initialized with 0.11.1. These cards are not
erasable. So once initialized they can't be changed I think. It's
impossible for us to exchange all the cards with new ones.

Andreas already asked: maybe there's a way to detect the wrong
initialized cards and implement an alternate code path for these
cards?

Regards,
Dominik

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

Reply via email to