Olivier LAHAYE wrote: > I'm still stuck and unable to open_sc to my Gem Xpresso 211PK_IS card. > ... > > > ------------------------------------------------------------------------ > > #==================================================================== > # > # CARD INFORMATIONS > # > #==================================================================== > # > # WARNING: For custom product, you may have to update the mother key. > # > #==================================================================== > # > # card: > # > # issuer: GEMPLUS > # date: Mon May 15 16:30:23 CEST 2006 > # > #==================================================================== > this_file_format=1 > > #====== Application Identifier (hex or ascii format) =============== > aid.security_domain=hex/A0 00 00 00 18 43 4D > > #====== Default key set version (in decimal format) ================ > set_version=13 > > #========= mother keys for diversification and mode ================= > #diversification= name / diversification mode / [/parameter for > diversification/...] > # name = logical name mode for the > diversification mode (user defined) > # diversification mode = diversification mode (VISA, ...) > # parameter for diversification = hexa key value or <NONE> > # > diversification=GXP211_PK_IS_fixedKey/NONE
The diversification mode VISA is not supported by GlobalPlatform, only VISA2. If NONE is used (like it seems for you) (see page 123 and page 43 what you have done there.) you should not need the gemXpresso switch and the card should act as a usual cards. So try the AID of the card in mode op_201 with your keys (I'm not sure about the name op_201, see the README, look, should be the default) Although this should not matter for your configuration file with the switch NONE, for VISA2 this applies: If you have problems you might look at the function GemXpressoPro_create_daughter_keys() in GlobalPlatform.c. The assumed GEMXPRRESSOPRO_CARD_MANAGER_AID is wrong for your card and the offset in the CLPC data is not 13, look at the manual, where the serial begins. Karsten > > #====== number of key sets (in decimal format) ===================== > set_number=1 > > #==== Key Set <i> ===================================================== > # number of keys in the set > #set<i>.key_number=n > # > #set<i>.set_index= set version > #set<i>.key1=algo/data > #set<i>.key2=algo/data > #..................... > #set<i>.keyn=algo/data > # > # where : > # > # - algo is one of the following algorythm > # des-ecb > # des-cbc > # rsa-crt > # rsa-priv > # rsa-pub > # dsa-priv > # dsa-pub > # > # - data is the value of the key > # for des-ecb or des-cbc, if K3 is not present K3=K1 > > #==== Key Set 1 ===================================================== > set1.version=13 > set1.key_number=3 > set1.key1=des-ecb/CA CA CA CA CA CA CA CA 2D 2D 2D 2D 2D 2D 2D 2D > set1.key2=des-ecb/2D 2D 2D 2D 2D 2D 2D 2D CA CA CA CA CA CA CA CA > set1.key3=des-ecb/CA 2D CA 2D CA 2D CA 2D 2D CA 2D CA 2D CA 2D CA > #==================================================================== > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
