Problem with PUT_KEY

Hi!

The state of the card is OP_READY!

The Get Data E0 tag shows:

key indentifier: 01

key version number: FF

key type:80

key length:10

Here is the log:

Secure Channel with ISK

13 00 A4 04 00 08 A0 00 00 00 03 00 00 00

02 61 70

05 00 C0 00 00 70

114 6F 6E 84 08 A0 00 00 00 03 00 00 00 A5 62 73 2F 06 07 2A 86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B 04 01 05 9F 6E 2A 20 50 50 00 40 41 52 73 00 60 70 45 00 00 00 06 00 00 19 12 70 45 19 13 70 45 19 14 70 45 00 00 00 00 00 00 00 00 00 00 00 00 9F 65 01 FF 90 00

13 80 50 00 00 08 01 02 03 04 05 06 07 08

02 61 1C

05 00 C0 00 00 1C

30 00 00 70 45 00 00 00 06 00 00 FF 01 4F 86 CB 63 C6 42 9E 8F 08 48 63 C3 00 B7 02 6B 90 00

21 84 82 00 00 10 94 30 06 C7 35 93 22 7B 07 56 5D 8E 81 32 0A A2

02 90 00

Put Key

72 80 D8 00 82 43 01 80 10 11 64 A5 E4 47 D8 B8 1B FA F8 43 20 F9 6E 3E 9F 03 9D CB 14 80 10 89 82 A1 99 48 45 F1 0A D9 60 32 96 42 C4 60 40 03 B2 EF CB 80 10 B4 BA A8 9A 8C D0 29 2B 45 21 0E 1B C8 4B 1C 31 03 8B AF 47

02 6A 80

The calculation of the key check value and the encryption of the key should work.

I think the version number can be anything from 01 to 7F and the key identifier must be unique. Right?

So what else can be wrong?

Thanks in advance, globalplayer.

[1477 byte] By [globalplayera] at [2007-11-27 8:50:52]
# 1
Hi!I've loaded a key set.I've changed the key identifier of the keyset to the key identifier of the default key.Do I have to do this if only a default key (ISK) is present?Greetings, globalplayer.
globalplayera at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
There are 4 different possibilities how to use the PUT KEY command. You replaced the existing key set. Check out GP2.1.1, 9.8 .
lexdabeara at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
Yes replacing the key with a key set worked. But adding a key set using the key identifier with the value 2 failed as you can see in the log?Do I have to replace the default key before I'm allowed to add new keys?
globalplayera at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4
What card do you have there? JCOP for instance only supports key version numbers 0x01-0x6F for DES, where the key identifiers must be 1, 2 and 3 and must be populated. A maximum of 3 different keys can be set. RSA key for DAP must be at the position 0x73, with key id 1 and only public
lexdabeara at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5
I've got a Cosmo 64 RSA.It supports key set version numbers from 0x01 to 0x6F. GP supports up to 0x7F I think.
globalplayera at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 6
Sorry, I do not have any experience with Oberthur Cosmo 64 RSA cards. Try to contact their support with your problem.
lexdabeara at 2007-7-12 21:03:00 > top of Java-index,Java Mobility Forums,Consumer and Commerce...