laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/35801?usp=email )
Change subject: rename global_platform.scp02 to global_platform.scp ......................................................................
rename global_platform.scp02 to global_platform.scp
This is in preparation of extending it to cover SCP03 in a follow-up patch.
Change-Id: Idc0afac6e95f89ddaf277a89f9c95607e70a471c --- M pySim/global_platform/__init__.py R pySim/global_platform/scp.py M tests/test_globalplatform.py 3 files changed, 14 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/01/35801/1
diff --git a/pySim/global_platform/__init__.py b/pySim/global_platform/__init__.py index 848adba..3ca22af 100644 --- a/pySim/global_platform/__init__.py +++ b/pySim/global_platform/__init__.py @@ -22,7 +22,7 @@ from construct import * from bidict import bidict from Cryptodome.Random import get_random_bytes -from pySim.global_platform.scp02 import SCP02 +from pySim.global_platform.scp import SCP02 from pySim.construct import * from pySim.utils import * from pySim.filesystem import * diff --git a/pySim/global_platform/scp02.py b/pySim/global_platform/scp.py similarity index 100% rename from pySim/global_platform/scp02.py rename to pySim/global_platform/scp.py diff --git a/tests/test_globalplatform.py b/tests/test_globalplatform.py index 280199f..d50948f 100644 --- a/tests/test_globalplatform.py +++ b/tests/test_globalplatform.py @@ -19,7 +19,7 @@ import logging
from pySim.global_platform import * -from pySim.global_platform.scp02 import SCP02 +from pySim.global_platform.scp import SCP02 from pySim.utils import b2h, h2b
KIC = h2b('100102030405060708090a0b0c0d0e0f') # enc