From a105ca89e7fde42e96f014be30296df6c179ed07 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 15 Mar 2026 15:00:12 +0700 Subject: [PATCH] global_platform: fix typo in ApplicationTemplate The keyword argument should be `nested=`. As written `ApplicationAID` is silently ignored - `ApplicationTemplate` will not descend into its nested TLVs. Change-Id: If45dbb0c9b09fe53560d109957ce339267a9f2b0 --- pySim/global_platform/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/global_platform/__init__.py b/pySim/global_platform/__init__.py index 6bdb30d4..232c3836 100644 --- a/pySim/global_platform/__init__.py +++ b/pySim/global_platform/__init__.py @@ -319,7 +319,7 @@ class CurrentSecurityLevel(BER_TLV_IE, tag=0xd3): # GlobalPlatform v2.3.1 Section 11.3.3.1.3 class ApplicationAID(BER_TLV_IE, tag=0x4f): _construct = GreedyBytes -class ApplicationTemplate(BER_TLV_IE, tag=0x61, ntested=[ApplicationAID]): +class ApplicationTemplate(BER_TLV_IE, tag=0x61, nested=[ApplicationAID]): pass class ListOfApplications(BER_TLV_IE, tag=0x2f00, nested=[ApplicationTemplate]): pass