|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Michael StJohns (mstjohns
comcast.net)
Date: Thu Jan 10 2008 - 16:54:40 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here's a strange one. I've got two different JCOP cards - JCOP41 and JCOP31 - both NXP based. Both report EXACTLY the same global platform configuration data (e.g. a response to a "00 CA 00 60" query) and indicate support for SCP 02.
When I use GPShell to look at the cards, mode_211 works fine for the JCOP41 card, but not for the JCOP31 card. I have to use mode_201.
This was bothering me so I did some digging. When you send the INITIATE UPDATE command to the JCOP31 card (GP section E5.1.1) with a random challenge, you get back a blob which should have a '02' at the 12th octet (to indicate SCP 02) but instead has an '01' - indicating the card is using SCP 01???
I guess the question is whether or not this is permitted behavior for the card? The second question is what should GPShell do?(Actually, the underlying GlobalPlatform libraries) E.g. should it check and see if the SCP returned is what it thought it was and then do the right thing? Or just note a failure and punt?
Mike
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]