GrcardSIM2 » History » Version 2
tsaitgaist, 02/19/2016 10:48 PM
created
1 | 2 | tsaitgaist | {{>toc}} |
---|---|---|---|
2 | 1 | tsaitgaist | |
3 | 2 | tsaitgaist | h1. GRcard SIM 2 |
4 | |||
5 | |||
6 | 1 | tsaitgaist | The GRcard SIM version 2 is a programmable GSM SIM card. |
7 | They are used by sysmocom for the sysmoSIM-GR2. |
||
8 | These are different from the previous [[GrcardSIM|sysmoSIM-GR1]] |
||
9 | |||
10 | There is limited card programming support in http://cgit.osmocom.org/cgit/pysim/ |
||
11 | |||
12 | |||
13 | 2 | tsaitgaist | h2. ADM & SUPER ADM |
14 | 1 | tsaitgaist | |
15 | |||
16 | 2 | tsaitgaist | <pre> |
17 | <pre> |
||
18 | |||
19 | |||
20 | h2. Command reference |
||
21 | |||
22 | |||
23 | 1 | tsaitgaist | To understand this reference, it is assumed that you are familiar with basic knowledge on smartcard |
24 | technologies, such as standard ISO 7816-3/-4 APDUs and ETSI TS 51.011 (previously GSM TS 11.11). |
||
25 | |||
26 | |||
27 | 2 | tsaitgaist | h3. Writing files |
28 | |||
29 | |||
30 | 1 | tsaitgaist | Files (ICCID, IMSI, …) can be written using the standard SIM commands (UPDATE BINARY/RECORD). |
31 | |||
32 | Security: ADM |
||
33 | |||
34 | |||
35 | 2 | tsaitgaist | h3. Set PIN |
36 | 1 | tsaitgaist | |
37 | |||
38 | 2 | tsaitgaist | <pre> |
39 | |||
40 | <pre> |
||
41 | * P2: CHV number, as in VERIFY CHV for PIN (01 for PIN1, 02 for PIN2, 05 for ADM, 0b for SUPER ADM), and as in UNBLOCK CHV for PUK (00 for PUK1, 02 for PUK2) |
||
42 | * PIN: 8 byte PIN/PUK, encoded as in VERIFY CHV |
||
43 | |||
44 | 1 | tsaitgaist | Security: ADM |
45 | |||
46 | |||
47 | 2 | tsaitgaist | h3. Ki & algo |
48 | |||
49 | |||
50 | 1 | tsaitgaist | Ki & the A3A8 algorithm are store in the transparent file EF.WEKI (id 0001) under DF.GSM (id 7F20) |
51 | |||
52 | 2 | tsaitgaist | <pre> |
53 | 1 | tsaitgaist | |
54 | 2 | tsaitgaist | * ALGO is the A3A8 algorithm used: |
55 | <pre> |
||
56 | <pre> |
||
57 | <pre> |
||
58 | * Ki: 16 byte secret key |
||
59 | 1 | tsaitgaist | |
60 | Security: SUPER ADM |