Skip to content

Changes

Started by timer
Started 8 hr 42 min ago
Queued 0.13 sec
Took 7 min 56 sec on simtester

Summary

  1. esim/http_json_api: add alternative API interface (follow up) (details)
  2. gitignore: fix vim swp file pattern (details)
  3. pySim/euicc: fix encoding/decoding of Iccid (details)
  4. compile_asn1_subdir: filter compiled files by .asn suffix (details)
Commit 8b2a49aa8ebef37d874dd5b8e7545e8e3ac27d77 by pmaier@sysmocom.de
esim/http_json_api: add alternative API interface (follow up)

This is a follow up patch to change:
I2a5d4b59b12e08d5eae7a1215814d3a69c8921f6

- do not ignore length of kwargs
- fix role parameter (roles other than 'legacy_client' can be used now)
- use startswith instead of match

Related: SYS#7866
Change-Id: Ifae13e82d671ff09bddf771f063a388d2ab283eb
The file was modifiedpySim/esim/http_json_api.py
Commit 917ad7f9f57af70da4ce01cea8a1ac2e7708912a by laforge
gitignore: fix vim swp file pattern

Change-Id: I5a8351dc09f6ca7c8e9032ff8352e5cf1a4833a3
The file was modified.gitignore
Commit e80f3160a939192284d81650ca4431a8f70207d2 by pmaier@sysmocom.de
pySim/euicc: fix encoding/decoding of Iccid

The class Iccid uses a BcdAdapter to encoded/decode the ICCID. This
works fine for ICCIDs that have an even (20) number of digits. In case
the digit count is odd (19), the ICCID the last digit requires padding.

Let's switch to PaddedBcdAdapter for encoding/decoding, to ensure that
odd-length ICCIDs are padded automatically.

Change-Id: I527a44ba454656a0d682ceb590eec6d9d0ac883a
Related: OS#6868
The file was modifiedtests/pySim-shell_test/euicc/get_profiles_info.ok
The file was modifiedtests/pySim-shell_test/euicc/test.py
The file was modifiedtests/pySim-shell_test/euicc/test_gen_notif.script
The file was modifiedpySim/euicc.py
Commit e7016b5b57f70b22c8261efc4d28c2ca9fb3edd8 by laforge
compile_asn1_subdir: filter compiled files by .asn suffix

When I open the .asn file in vim, pySim should not attempt to read the
vim .swp file as asn.1.

  File "/home/moi/osmo-dev/src/pysim/pySim/esim/saip/__init__.py", line 45, in <module>
    asn1 = compile_asn1_subdir('saip')
[...]
  File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 21: invalid start byte

Related: OS#6937
Change-Id: I37df3fc081e51e2ed2198876c63f6e68ecc8fcd8
The file was modifiedpySim/esim/__init__.py