On 21/03/06, Shawn Willden <[EMAIL PROTECTED]> wrote:
> As an aside:  I've often thought that bundleTool assocation should be
> unnecessary if there's only a single bundle installed.  If there's only one,
> why shouldn't it just be the "default" bundle for all cards?  If the card
> doesn't have the right stuff on it, the call to initialize it will fail, but
> so what?  That case has to be handled cleanly anyway, otherwise there would
> be problems with cards that are uninitialized/unpersonalized but do have a
> registered ATR.

It may not be a good idea to send an APDU to a card that does not
expect that APDU. For example my banking card will lock itself after
receiving a few unknown APDU. This is to avoid an exhaustive search of
supported APDU by the card (of course the supported APDU are not
documented and the card application is "secret").

Identifying a card (in fact an applet) using the card ATR is stupid.
But I don't know better and _backward compatible_ way.

Bye,

--
  Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to