Skip to content
Success

Changes

Summary

  1. pySim.esim.saip.ProfileElementSequence: Update type annotations (details)
  2. esim.saip: Better docstring about FsNode class (details)
  3. unittests/test_utils: add unittests for enc_imsi and dec_imsi (details)
  4. pySim-shell: renovate version command (details)
  5. contrib: add a tool to parse the SIMA response from an eUICC (details)
  6. cosmetic: fix company name in copyright header. (details)
Commit a8ae89a041127e63321ab8b75569f7a31f04a7f8 by laforge
pySim.esim.saip.ProfileElementSequence: Update type annotations

The type annotations didn't reflect reality in two cases.

Change-Id: Ib99c00a38bf009c63180b4a593d6cc796ff282d3
The file was modifiedpySim/esim/saip/__init__.py
Commit 097d565310c6aa8a0243e815cc565ba2b449fe19 by laforge
esim.saip: Better docstring about FsNode class

Change-Id: Id9d196e8d9b1d1b892ec50100b170d72d2c3910b
The file was modifiedpySim/esim/saip/__init__.py
Commit c2ace3d8cf612164c2fb77845c61cc87e42a9349 by laforge
unittests/test_utils: add unittests for enc_imsi and dec_imsi

So far we seem to have no unittests for enc_imsi and dec_imsi.

Change-Id: Iae55485c5ec7763aa4aaa25fd1910b854adaab60
The file was modifiedtests/unittests/test_utils.py
Commit 8e048820d465ac08c873a9eb3feb6af9999dc93f by laforge
pySim-shell: renovate version command

In case pySim-shell is used directly from the git repository (not
installed via a package manager), the version command fails with an
exception because pkg_resources.get_distribution('pySim') fails.

Let's renovate the version command and migrate from pkg_resources to
importlib.resources. There are many users and developers out there who
retrieve pySim-shell directly from the git repository and not via pip3.
To accommodate for that, let's check if pySim-shell.py is located in a
git repository and if so, let's display the HEAD commit hash instead.

Since the version of the currently installed pyosmocom version also
plays a critical role, let's display the pyosmocom version as well.

Related: OS#6830
Change-Id: I2b9038f88cfcaa07894a2f09c7f5ad8a5474083d
The file was modifiedpySim-shell.py
Commit dfe4d9c8ac9930a44c76ac2271845e16f6a48184 by laforge
contrib: add a tool to parse the SIMA response from an eUICC

When an eUICC performs a profile installation it returns a (concatenated)
series of ASN.1 encoded strings as "simaResponse". In case the profile
installation fails for some reason the simaResponse contains diagnostic
information to diagnose why the profile installation failed.

Unfortunately there are currently no practical tools available to decode
and display the information in the simaResponse. Let's add a tool for that.

Related SYS#7617

Change-Id: Ida4c3c5446653b283a3869c0c387f328ae51e55e
The file was addedcontrib/analyze_simaResponse.py
Commit 4c8a9478c2711c845b349859e21269a25e2f076a by laforge
cosmetic: fix company name in copyright header.

The correct abbreviated version of the company name is
"sysmocom - s.f.m.c. GmbH", i.e. lowercase and with dash.

Change-Id: Id768d2f4b78162ff83320a800e4e66f1bd324d6d
The file was modifiedtests/pySim-prog_test/pySim-prog_test.sh
The file was modifiedpySim/profile.py
The file was modifiedpySim/log.py
The file was modifiedpySim/global_platform/install_param.py
The file was modifiedpySim/card_handler.py
The file was modifiedpySim/javacard.py
The file was modifiedtests/unittests/test_log.py
The file was modifiedtests/pySim-trace_test/pySim-trace_test.sh
The file was modifiedpySim/card_key_provider.py