Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

GemXpresso JCard Manager session authentication problem

843851Jun 4 2007 — edited Aug 24 2007
Hello!

First of all I am new in Java Card Technology and I am trying to explore the
JCard Manager environment. I am using GemSafe Xpresso Cards.

My problem is that I cant create a session between reader and card in one of my
cards. The trace in this card's authenticate prosses is:
Default key file URL: file:/C:/Documents%20and%20Settings/user/GemXpressoJCardManager/keyfiles/jc2.2.1%20-%20gp2.1.1/default.keys
Select the Security Domain
->  00 A4 04 00 08 A0 00 00 00 18 43 4D 00
<-  61 1B   [Normal ending of the command with <27> bytes of extra information.]
key set 0 (Card Defined)
Initialize Update
->  80 50 00 01 08 00 01 02 03 04 05 06 07 (00)
<-  4D 00 40 82 B8 18 1E 2B 25 6D 0D 01 B5 44 51 2B 59 78 8B 8C BE EB 18 CF C9 AD D2 62, 90 00   [Normal ending of the command.]
Card info KeySet=13
(SCP 01,implementation i05)
 Command Exception on command: Authenticate. authentication failed: The card cryptogram is not verified.
the other cards pass this procedure successfuly showing the message:
Default key file URL: file:/C:/Documents%20and%20Settings/user/GemXpressoJCardManager/keyfiles/jc2.2.1%20-%20gp2.1.1/default.keys
Select the Security Domain
->  00 A4 04 00 08 A0 00 00 00 18 43 4D 00
<-  61 1B   [Normal ending of the command with <27> bytes of extra information.]
key set 0 (Card Defined)
Initialize Update
->  80 50 00 01 08 00 01 02 03 04 05 06 07 (00)
<-  4D 00 40 82 D0 01 23 25 25 56 FF 01 C1 64 C0 1A 12 C1 E8 12 07 03 BC 8C 28 4A 9C 84, 90 00   [Normal ending of the command.]
Card info KeySet=-1
(SCP 01,implementation i05)
External Authenticate
->  84 82 00 00 10 66 2B 64 5B A8 F6 35 CC DA 46 DD B9 1C CA 78 2E
<-  90 00   [Normal ending of the command.]
 A Card was removed from the terminal: Gemplus USB Smart Card Reader 0 from the slot: 0
I think that the card came this state because my partner to this project was
issue a command by accident, and now he can't remember what he done.....
I suppose I have to change the card's KeySet from 13 (D0) to -1 (FF) but I don't know how.
Does anybody knows what i suposed to do and fix the problem??

Thank you in advance for your help, Bill....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2007
Added on Jun 4 2007
13 comments
477 views