From 3fae277dfa092b78577fa8c10803c3ac31e3dc79 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 7 Jun 2024 23:02:25 +0200 Subject: [PATCH] HACK Change-Id: Iac752c8ef6cbc085c2f190be1e07a660fe3cd18a --- pySim/app.py | 2 +- smpp_ota_apdu2.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pySim/app.py b/pySim/app.py index 67b99aad..e5f4039d 100644 --- a/pySim/app.py +++ b/pySim/app.py @@ -31,7 +31,7 @@ from pySim.exceptions import SwMatchError # CardModel is created, which will add the ATR-based matching and # calling of SysmocomSJA2.add_files. See CardModel.apply_matching_models import pySim.sysmocom_sja2 -import pySim.sysmocom_euicc1 +#import pySim.sysmocom_euicc1 # we need to import these modules so that the various sub-classes of # CardProfile are created, which will be used in init_card() to iterate diff --git a/smpp_ota_apdu2.py b/smpp_ota_apdu2.py index 0b52b7f2..d956808e 100755 --- a/smpp_ota_apdu2.py +++ b/smpp_ota_apdu2.py @@ -47,7 +47,7 @@ class Foo: self.client = client - if False: + if True: KIC1 = h2b('000102030405060708090a0b0c0d0e0f') KID1 = h2b('101112131415161718191a1b1c1d1e1f') self.ota_keyset = OtaKeyset(algo_crypt='aes_cbc', kic_idx=1, kic=KIC1, @@ -67,7 +67,7 @@ class Foo: #self.tar = h2b('B00011') # USIM RFM self.tar = h2b('000000') # RAM - if True: # sysmoEUICC1-C2G + if False: # sysmoEUICC1-C2G KIC1 = h2b('B52F9C5938D1C19ED73E1AE772937FD7') KID1 = h2b('3BC696ACD1EEC95A6624F7330D22FC81') self.ota_keyset = OtaKeyset(algo_crypt='aes_cbc', kic_idx=1, kic=KIC1,