pySim-prog: Add option for hex ADM keys

pySim-prog would implicitly try to use the raw or hex-escaped format
depending on the length of the parameter, now there is the option "-A"
to explicitly specify the hex-escaped ADM1 key.

pysim-test.sh: Explicitly use the "-A" option to pass the hex adm1 key
for wavemobile cards

Change-Id: Id75a03482aa7f8cc3bdbb8d5967f1e8ab45c179a
This commit is contained in:
Daniel Willmann
2018-06-15 07:31:50 +02:00
parent c46a4eba43
commit f432b2ba96
4 changed files with 28 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
MCC=001
MNC=01
IMSI=001010000000102
ADM=0123456789ABCDEF
ADM_HEX=0123456789ABCDEF