From 055b80aa5cebda5ec8207bf14cc9024e0618fd7b Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 18 Nov 2021 10:33:57 +0100 Subject: [PATCH] pySim-read: do not select ADF.ISIM again Before reading EF.IST ADF.ISIM is selected again even though it was selected before. Lets skip this step since it is unnecessary. Change-Id: I75be18e3476cb1d093bc99775eeddd0c08b81d78 --- pySim-read.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pySim-read.py b/pySim-read.py index 00194b4e..959a7c5c 100755 --- a/pySim-read.py +++ b/pySim-read.py @@ -320,10 +320,6 @@ if __name__ == '__main__': except Exception as e: print("UICC IARI: Can't read file -- " + str(e)) - # Check whether we have th AID of ISIM, if so select it by its AID - # EF.IST - File Id in ADF ISIM : 6f07 - data, sw = card.select_adf_by_aid(adf="isim") - if sw == '9000': # EF.IST (res, sw) = card.read_binary('6f07') if sw == '9000':