Philipp Maier
8958268fc3
This renovates/fixes the following: - rafactor/cleanup code - add unit tests for sysmo-isim-sja5 - add full read/write support for TUAK parameters - Allow setting algorims for 4g5g individually - Generalize commandline setting "Ki" to "Key" (Risk of incompatibility if customers use --set-ki in scripts!) - Add a class for each algo specific header nibble - Add a class for each algo specific parameter body - Display settings for each generation individually (SIM/2g, USIM/3g, ISIM/4g5g) - Check algorithm before programming (e.g. do not allow to program OP/c when COMP128v1 is selected) - Update key (Ki) and OPc read write functions, so that they can also program TUAK keys and TOPc Todo: - Add TUAK specific testcases - rename testcase "05_ki.sh "to "05_key.sh" |
||
---|---|---|
card | ||
tests | ||
.gitignore | ||
README.md | ||
common.py | ||
simcard.py | ||
sysmo-isim-tool.sja2.py | ||
sysmo-isim-tool.sja5.py | ||
sysmo-usim-tool.sjs1.py | ||
sysmo_isim_sja2.py | ||
sysmo_usim.py | ||
sysmo_usim_sjs1.py | ||
utils.py |
README.md
sysmo-usim-tool
This repository contains a python language utility to configure the vendor-specific parameters of sysmocom programmable SIM/USIM/ISIM cards.
For more information about the SIM cards, please see the related user manual
sysmoISIM-SJA2
The sysmoISIM-SJA2 is programmable and Java capable USIM, ISIM and HPSIM card. 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/SysmoISIM-SJA2
The cards are available from the sysmocom webshop
sysmoUSIM-SJS1
The sysmoUSIM-SJS1 is programmable and Java capable USIM card. 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
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