From 1de62c41d7f98186deb346332ae08f56679bf6b8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 6 Jun 2023 18:08:54 +0200 Subject: [PATCH] pySim/apdu/ts_31_102.py: Add Rel17 5G NSWO context for GET IDENTITY Change-Id: I6ce5848ca4cf04430be7767e9cb2d18f4c5a5531 --- pySim/apdu/ts_31_102.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/apdu/ts_31_102.py b/pySim/apdu/ts_31_102.py index 7602e508..22003887 100644 --- a/pySim/apdu/ts_31_102.py +++ b/pySim/apdu/ts_31_102.py @@ -108,7 +108,7 @@ class UsimAuthenticateOdd(ApduCommand, n='AUTHENTICATE', ins=0x89, cla=['0X', '4 class UsimGetIdentity(ApduCommand, n='GET IDENTITY', ins=0x78, cla=['8X', 'CX', 'EX']): _apdu_case = 4 _construct_p2 = BitStruct('scope'/Enum(Flag, mf=0, df_adf_specific=1), - 'identity_context'/Enum(BitsInteger(7), suci=1)) + 'identity_context'/Enum(BitsInteger(7), suci=1, suci_5g_nswo=2)) _tlv_rsp = SUCI_TlvDataObject ApduCommands = ApduCommandSet('TS 31.102', cmds=[UsimAuthenticateEven, UsimAuthenticateOdd,