From 47833bc176d1807ca215425b3cc42289c3557212 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 19 Nov 2021 14:04:12 +0100 Subject: [PATCH] cards: make _get_aid case insensitive There is no need to be case sensitive when the xSIM application name is given as AID. Change-Id: I9944d9180bf1ba35f44f0be2b05bdb725b5b8da9 --- pySim/cards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pySim/cards.py b/pySim/cards.py index 2319a56d..a8221613 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -284,6 +284,7 @@ class SimCard(object): # First (known) halves of the U/ISIM AID aid_map["usim"] = "a0000000871002" aid_map["isim"] = "a0000000871004" + adf = adf.lower() if adf in aid_map: return aid_map[adf] return None