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!

JCOP : can't set a new key set (put-key pb)

843851Mar 28 2007 — edited Mar 28 2007
Hi!

I have this brand new cell phone out of the box , and I've been asked to install a javacard applet on it. I did it for other phones already, but I can't manage to install my app on this one.

For new phones I have to install a new key set. That's where it goes wrong with this phone.
And I don't want to try too hard, because I've been told that after too many tries, the card can be locked/damaged 0_0�

Here's what's happening :
cm> set-my-keys
/set-var KEYS-1
 "1/1/DES-ECB/[mykey1] 1/2/DES-ECB/[mykey2] 1/3/DES-ECB/[mykey3] "
set-key ${KEYS-1}
put-keyset 1
Add new key set didn't work, try modify ...
(I've masked the key values)

an after an "init" command, I get this message :
Status: Security condition not satisfied
jcshell: Error code: 6982 (Security condition not satisfied)
jcshell: Wrong response APDU: 6982
(I also tried "init-update 255", didn't work neither)

Can somebody help me, and does anybody knows a good information source about these matters? (because I searched the net but there's few infos about JCOP out there)

Thanks for your help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2007
Added on Mar 28 2007
7 comments
802 views