Hello Everyone. I'm in possession of a GemSafeXpresso 32k Card I would like to use for authentication. I've been trying for the last few days to use with open source projects, but unfortunately didn't manage to make it work. The closest I got was with gpshell. I saw a few mails in the list talking about this, but none with a working answer :-(
Here are the specs of the card: ATR (this is the only "function" I can get to work... at least it reveals that the card isn't dead...): 3b:6d:00:00:80:31:80:65:b0:83:01:02:90:83:00:90:00 On the card: GemSafeXpresso Pro R3.2, doc says it's complient with JavaCard 2.1.1 and Global Platform 2.0.1 (as well as ISO 7816). I believe it also has a GemSafe applet pre-installed. When I run the listgemXpressoProR3_2E64.txt script in gpshell, i.e. mode_201 gemXpressoPro enable_trace establish_context card_connect select -AID A000000018434D00 open_sc -security 3 -keyind 0 -keyver 0 -key 47454d5850524553534f53414d504c45 // Open secure channel get_status -element 20 card_disconnect release_context Or if I add as I saw on a mail from the list the derived keys: mode_201 gemXpressoPro enable_trace establish_context card_connect select -AID a000000018434d open_sc -security 0 -keyind 00 -keyver 00 -key 47454d5850524553534f53414d504c45 -enc_key 6ef05c1e2e9ba55b5b2619828743f795 -mac_key 15ca7679aa807160881c9f0c50306f6d -kek_key 54455354204b45594558542041555448 // Open secure channel get_status -element e0 card_disconnect release_context The mutual authentification unfortunately fails. Here's the output: roR3_2E64.txt mode_201 gemXpressoPro enable_trace establish_context card_connect select -AID a000000018434d --> 00A4040007A000000018434D <-- 6F198408A000000018434D00A50D9F6E061291334903029F6501FF9000 open_sc -security 0 -keyind 00 -keyver 00 -key 47454d5850524553534f53414d504c45 -enc_key 6ef05c1e2e9ba55b5b2619828743f795 -mac_key 15ca7679aa807160881c9f0c50306f6d -kek_key 54455354204b45594558542041555448 // Open secure channel --> 80CA9F7F00 <-- 9F7F2A409066221291334903024082B8182B08256D4082000012930000054470380000010100000000000000009000 --> 80500000084787BAB31D0DAB0500 <-- 4D004082B8182B08256D0D01B26AF91D70FB340624CC7F86139F8B5D9000 mutual_authentication() returns 0x80302000 (The verification of the card cryptogram failed.) If anyone knows something about this card or have an advice it would be most welcome and appreciate. Have a great day & week-end! Christophe.
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
