Tool to (re)configure the sysmoUSIM and sysmoISIM cards
Go to file
Philipp Maier 8958268fc3 WIP: Full TUAK support + refactoring
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"
2023-06-14 13:55:47 +02:00
card python3 support 2022-04-13 10:50:58 +02:00
tests WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00
.gitignore add .gitignore file 2017-08-16 21:13:37 +02:00
README.md update README.md with sysmoISIM-SJA2 information 2021-05-15 22:10:28 +02:00
common.py WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00
simcard.py python3 support 2022-04-13 10:50:58 +02:00
sysmo-isim-tool.sja2.py sja2: fix cosmetic copy+paste and copyright statement errors 2023-05-26 16:13:04 +02:00
sysmo-isim-tool.sja5.py WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00
sysmo-usim-tool.sjs1.py python3 support 2022-04-13 10:50:58 +02:00
sysmo_isim_sja2.py WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00
sysmo_usim.py sysmo_usim: fix log output 2023-01-19 11:50:10 +01:00
sysmo_usim_sjs1.py WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00
utils.py WIP: Full TUAK support + refactoring 2023-06-14 13:55:47 +02:00

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

On Debian:

apt-get install python-pyscard pcscd systemctl start pcscd