Philipp Maier
75342b86d1
All tests need a physical card to be inserted in a reader. This card may have a different IMSI and/or ICCID id set than the one that is expected by the tests. Since sysmo-usim-tool.sjs1.py unconditionally displays IMSI and ICCID we find those parameters in every .out file. In order to run the unit-tests without changing the .out files very often or having to manually prepare a test card we should write the expected IMSI and ICCID before each testsuite is executed. - Add a script to the testsuite that prepares the testcard, run this script from run-tests before the actual tests are executed. Change-Id: I470f4f7d5facab277b6e78252bac7cc4d1fbc6bb Related: OS#3376 |
||
---|---|---|
card | ||
tests | ||
.gitignore | ||
README.md | ||
simcard.py | ||
sysmo-usim-tool.sjs1.py | ||
sysmo_usimsjs1.py | ||
utils.py |
README.md
sysmo-usim-tool
This repository contains a python language utility to configure the vendor-specific parameters of sysmoUSIM-SJS1 programmable USIM cards.
For more information about the sysmoUSIM-SJS1, please see the related user manual
sysmoUSIM-SJS1
The sysmoUSIM-SJS1 is programmable and Java capable USIM card. Not all commands are known yet and this page should grow over time. Each card is using a separate ADM1 key and the default configuration is hacker/developer friendly (fields being writable, reduced security for installing applets to have more quick development cycles).
https://osmocom.org/projects/cellular-infrastructure/wiki/SysmoUSIM-SJS1
The cards are available from the sysmocom webshop
Dependencies
- To run, http://pyscard.sourceforge.net needs to be installed;
- You may also need to install the pcscd service.
On Debian:
apt-get install python-pyscard pcscd systemctl start pcscd