27.14 Secret code usage
3GPP51.010-1Mobile Station (MS) conformance specificationPart 1: Conformance specificationTS
27.14.1 Entry of PIN
27.14.1.1 Definition
The PIN is a number used to authenticate the user to the SIM for security. Entry of the correct PIN allows PIN-protected data to be accessed over the SIM-ME interface.
27.14.1.2 Conformance requirement
Following insertion of the SIM and switching on the MS, the ME shall check the state of the PIN. If the PIN is enabled, the ME asks the user for PIN verification.
The VERIFY CHV function verifies the PIN presented by the ME to the SIM.
Reference:
3GPP TS 02.30, subclause 4.6.1; 3GPP TS 11.11, subclauses 8.9, 9.2.9 and 11.3.1.
27.14.1.3 Test purpose
1. To verify that the PIN verification procedure is performed by the ME correctly.
2. To verify that the GSM basic public MMI string is supported.
27.14.1.4 Method of test
27.14.1.4.1 Initial conditions
The ME is connected to a SIM or SIM-simulator with the PIN enabled, and powered off.
The default SIM is used.
27.14.1.4.2 Procedure
a) The ME is powered on.
b) When the MS is in mode "PIN check" enter "2468#".
27.14.1.5 Test requirement
1) The ME shall send a VERIFY CHV command to the SIM, with CHV number = "01".
2) The MS shall give an indication "OK", following a successful execution of the command.
27.14.2 Change of PIN
27.14.2.1 Definition
The PIN may be changed by the user, by entering the old and new PINs. The length of the PIN is between 4 and 8 digits.
27.14.2.2 Conformance requirement
The ME shall support the change of PIN procedure as defined in 3GPP TS 02.30 and 3GPP TS 11.11.
Reference:
3GPP TS 02.30, subclause 4.6.2; 3GPP TS 11.11, subclauses 8.10, 9.2.10 and 11.3.2.
27.14.2.3 Test purpose
1. To verify that the PIN substitution procedure is performed correctly by the ME.
2. To verify that the GSM basic public MMI string is supported.
27.14.2.4 Method of test
27.14.2.4.1 Initial conditions
The ME is connected to a SIM or SIM-simulator with the PIN enabled.
The default SIM is used.
The ME is powered-on, with the correct PIN entered.
Specific PICS Statements:
– support of basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)
27.14.2.4.2 Procedure
a) When the public basic MMI strings to change/unblock PIN are supported enter "**04*2468*01234567*01234567#", else initiate an equivalent MMI dependent procedure to change the PIN from ‘2468’ to ‘01234567’.
b) The MS is switched off and on.
c) When the MS is in mode "PIN-check", the sequence "01234567#" is entered.
d) The MS is switched off and on.
e) When the MS is in mode "PIN check" enter "2468#".
27.14.2.5 Test requirement
1) After step a), the ME shall send a CHANGE CHV command to the SIM, with CHV number set to "01".
2) Following the successful execution of the command, the MS shall give an indication that the new PIN is accepted.
3) After step c), the MS shall give an indication "OK".
4) After step e), the MS shall give an indication that the entered PIN is not accepted.
27.14.3 Disabling the PIN
27.14.3.1 Definition
Entry of the PIN may be disabled by the user, depending on the service table of the SIM. It is the responsibility of the ME to check the SIM service table.
27.14.3.2 Conformance requirement
Disabling PIN is achieved through the DISABLE CHV command. If the PIN disable function in the SIM service table is not allocated or activated, then the ME shall not attempt to disable the PIN.
Reference:
3GPP TS 11.11, subclauses 8.11, 9.2.11, 10.2.7, 11 and 11.3.3.
27.14.3.3 Test purpose
To verify that the ME does not attempt to disable the PIN.
27.14.3.4 Method of test
27.14.3.4.1 Initial conditions
The ME is connected to the SIM simulator.
Elementary files in the SIM simulator shall be default, with the exception of:
EFSST (SIM Service Table)
Logically: CHV1 disable function not activated.
Abbreviated dialling numbers allocated and activated.
PLMN selector allocated and activated.
Fixed dialling numbers not activated.
Coding:
B1 |
B2 |
B3 |
B4 |
|
Value (binary) |
xx0x110x |
0011xxxx |
xxxxxxxx |
0000xxxx |
The coding of EFSST shall conform with the capabilities of the SIM simulator.
The ME is powered on and a correct PIN entered.
27.14.3.4.2 Procedure
Using the ME’s MMI procedure, an attempt is made to disable the PIN.
27.14.3.5 Test requirement
The ME shall not send a DISABLE CHV command across the SIM/ME interface.
27.14.4 PUK entry
27.14.4.1 Definition
After three consecutive wrong entries of the PIN, the PIN becomes blocked. The PUK is used to unblock the PIN. This function may be performed whether or not the PIN is blocked.
27.14.4.2 Conformance requirement
The ME shall support the procedure to unblock PIN using PUK, as defined in 3GPP TS 02.30 and 3GPP TS 11.11.
Reference:
3GPP TS 02.30, subclause 4.6.3; 3GPP TS 11.11, subclauses 8.13, 9.2.13 and 11.3.5.
27.14.4.3 Test purpose
1. To verify that the CHV unblocking procedure is performed correctly.
2. To verify that the GSM basic public MMI string is supported.
27.14.4.4 Method of test
27.14.4.4.1 Initial conditions
The ME is connected to the SIM simulator.
The default SIM is used.
Specific PICS Statements:
– support of basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)
27.14.4.4.2 Procedure
Step ‘a’ up to and including step ‘e’ are applicable if MS supports basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings).
a) The ME is powered on.
b) Enter "**05*13243546*1234*1234#"
c) The ME is powered off and on.
d) Enter the new PIN: "1234".
e) The ME is powered off.
f) The ME is powered on.
g) Enter a wrong PIN three times.
h) When the public basic MMI strings to change/unblock PIN are supported enter "**05*13243546*1357*1357#", else initiate an equivalent MMI dependent procedure to unblock the PIN with unblock code ‘13243546’ and a new PIN ‘1357’.
i) The ME is powered off and on.
j) Enter the new PIN: "1357".
27.14.4.5 Test requirements
Test requirement 1 and Test requirement 2 are not applicable for an ME that does not support basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)..
1. After step b), the ME shall send an UNBLOCK CHV command to the SIM, with CHV number = "00".
2. After step d), the ME shall indicate that the PIN has been accepted.
3. After step g), the ME shall indicate that the PIN has been blocked.
4. After step h), the ME shall send an UNBLOCK CHV command to the SIM, with CHV number = "00".
5. After step j), the ME shall indicate that the PIN has been accepted.
27.14.5 Entry of PIN2
27.14.5.1 Definition
PIN2 is a number used to authenticate the user to the SIM for security. Entry of the correct PIN2 allows PIN2-protected data to be accessed over the SIM-ME interface.
27.14.5.2 Conformance requirement
Where entry of PIN2 is necessary for security access, the ME shall indicate that PIN2 is to be entered.
The VERIFY CHV function verifies the PIN presented by the ME to the SIM.
Reference:
3GPP TS 02.30, subclause 4.6.1; 3GPP TS 11.11, subclauses 8.9, 9.2.9 and 11.3.1.
27.14.5.3 Test purpose
To verify that entry of PIN2 is processed by the ME correctly.
27.14.5.4 Method of test
27.14.5.4.1 Initial conditions
The ME is connected to a SIM or SIM-simulator and powered on, with the correct PIN entered.
A default FDN SIM is used.
27.14.5.4.2 Procedure
a) A feature is accessed which requires the entry of PIN2, e.g. resetting ACM for Advice of Charge, or changing a Fixed Dialling Number.
b) The MMI is used to enter PIN2: "3579".
27.14.5.5 Test requirement
1) After step b), the ME shall send a VERIFY CHV command to the SIM, with CHV number = "02".
2) Following the successful execution of the command, the MS shall give an indication that PIN2 was accepted.
27.14.6 Change of PIN2
27.14.6.1 Definition
The PIN2 may be changed by the user, by entering the old and new PIN2s. The length of the PIN is between 4 and 8 digits.
27.14.6.2 Conformance requirement
The ME shall support the change of PIN2 procedure as defined in 3GPP TS 02.30 and 3GPP TS 11.11.
Reference:
3GPP TS 02.30, subclause 4.6.2; 3GPP TS 11.11, subclauses 8.10, 9.2.10 and 11.3.2.
27.14.6.3 Test purpose
1. To verify that PIN2 substitution procedure is performed correctly by the ME.
2. To verify that the GSM basic public MMI string is supported.
27.14.6.4 Method of test
27.14.6.4.1 Initial conditions
The ME is connected to a SIM or SIM-simulator.
The default FDN SIM is used, with PIN enabled.
The ME is powered on, with the correct PIN entered.
Specific PICS Statements:
– support of basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)
27.14.6.4.2 Procedure
a) When the public basic MMI strings to change/unblock PIN are supported enter "**042*3579*12345678*12345678#", else initiate an equivalent MMI dependent procedure to change the PIN2 from ‘3579’ to ‘12345678’.
b) The MS is switched off and on, and PIN entered: "2468".
c) When the public basic MMI strings to change/unblock PIN are supported enter "**042*3579*12345678*12345678#", else initiate an equivalent MMI dependent procedure to change the PIN2 from ‘3579’ to ‘12345678’.
d) When the public basic MMI strings to change/unblock PIN are supported enter "**042*12345678*3579*3579#", else initiate an equivalent MMI dependent procedure to change the PIN2 from ‘12345678’ to ‘3579’.
27.14.6.5 Test requirement
1) After step a), the ME shall send a CHANGE CHV command to the SIM, with CHV number set to "02".
2) Following the successful execution of the command, the MS shall give an indication that the new PIN2 is accepted.
3) After step c), the MS shall give an indication that the new PIN2 is not accepted.
4) After step d), the MS shall give an indication that the new PIN2 is accepted.
27.14.7 PUK2 entry
27.14.7.1 Definition
After three consecutive wrong entries of PIN2, it becomes blocked. PUK2 is used to unblock PIN2. This function may be performed whether or not PIN2 is blocked.
27.14.7.2 Conformance requirement
The ME shall support the procedure to unblock PIN2 using PUK2, as defined in 3GPP TS 02.30 and 3GPP TS 11.11.
Reference:
3GPP TS 02.30, subclause 4.6.3; 3GPP TS 11.11, subclauses 8.13, 9.2.13 and 11.3.5.
27.14.7.3 Test purpose
1. To verify that the PUK2 unblock procedure is performed correctly by the ME.
2. To verify that the GSM basic public MMI string is supported.
27.14.7.4 Method of test
27.14.7.4.1 Initial conditions
The ME is connected to the SIM simulator.
The default FDN SIM is used, with PIN enabled.
Specific PICS Statements:
– support of basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)
27.14.7.4.2 Procedure
Step ‘a’ up to and including step ‘c’ are applicable if MS supports basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings).
a) The ME is powered on and a correct PIN entered.
b) Enter "**052*08978675*1234*1234#".
c) The MS is powered off.
d) The MS is powered on, and a correct PIN entered.
e) A feature is selected requiring the entry of PIN2.
f) A wrong PIN2 is entered three times.
g) When the public basic MMI strings to change/unblock PIN are supported enter "**052*08978675*3579*3579#", else initiate an equivalent MMI dependent procedure to unblock the PIN2 with unblock code ‘08978675’ and a new PIN2 ‘3579’.
h) A feature is selected requiring the entry of PIN2, and the new PIN2 "3579" is entered.
27.14.7.5 Test requirements
Test requirement 1 is not applicable for an ME that does not support basic public MMI strings to change/unblock PIN (TSPC_PIN_MMI_Strings)..
1. After step b), the ME shall send an UNBLOCK CHV command to the SIM, with CHV number = "02".
2. After step f), the ME shall indicate that PIN2 has been blocked.
3. After step g), the ME shall send an UNBLOCK CHV command to the SIM, with CHV number = "02".
4. After step h), the ME shall indicate that PIN2 has been accepted.