For anyone interested:
A0 20 00 05 08  44 44 44 44 44 44 44 44 unlocks the card to allow update e.g the authentication Algorithm.

http://openbsc.osmocom.org/trac/wiki/GrcardSIM describes that ADM2 key security level is associated to several EFs.
I doubt if it is the ADM2 key associated to these files, when I modify the ADM2 key and try that key using the A0 20 00 05 08 .. sequence it locks this key. Thus allowing no further changes.

If any spec available on the sysmosim/Greencard card it would be appreciated.

BR
/Arjen





On Thu, Mar 8, 2012 at 12:11 AM, Arjen Smit <smit.arjen@gmail.com> wrote:
Dear all,

Hopefully this is the right list for some questions on the SysmoSIM (aka Greencard).

I have set the PIN1, PUK1, PIN1, PUK1, ADM1, AUK1, ADM2, AUK2 using the non-standard APDU (80 D4 ..) successfully using the  cyberflex-shell.
Verification of CHV1 and CHV2 are fine as well. (A0 20 00 01 08  ...)

However verification of ADM2 (which I need because I want to change the Authentication algorithm)
A0 20 00 0B 08 30 30 30 30 30 30 30 30
returns status : 98 02 (no chv initialized).

It looks like  I use the wrong APDU sequence for verifying ADM2 (I tried some other sequences as well (e.g A0 20 00 0A .. to A0 20 00 0D ..) but no luck.

My main question is : What APDU sequence is needed to verify ADM2  ?

Secondary less important questions:
-When thinking about AUK1, AUK2, what are these used for ?
-Do the cards support 03.48 OTA specs (if yes, can the Kic, Kid be set ?)
-Are there actually any specs of these cards available ?
(google gives www.elektroda.pl/rtvforum/download.php?id=351846 which matches the ATR of the card, however this spec is of little use though).



Thanks in advance for your help.
/Arjen