pysim/pySim
Harald Welte 785d484709 utils: Fix bugs in DataObject encoders
The DataObject is some weird / rarely used different code than the
normal TLV encoder/decoder.  It has apparently so far only been used
for decoding, without testing the encoding side, resulting in related
bugs.

Let's fix those that I encountered today, and add a test case.

Change-Id: I31370066f43c22fc3ce9e2b9ee75986a652f6fc4
2022-04-05 14:33:00 +02:00
..
transport cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
__init__.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
ara_m.py doc: Improve documentation in various places 2022-02-15 16:40:45 +01:00
card_handler.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
card_key_provider.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
cards.py Split EF.UST handling from EF.IST and EF.SST 2022-02-15 15:35:35 +01:00
cat.py cosmetic: Remove extraneous empty lines between spec-section-comment and class 2022-02-14 00:51:27 +01:00
commands.py Initial support for GlobalPlatform 2022-03-01 16:32:15 +00:00
construct.py ts_51_011: Proper decode of EF.SMSP 2022-02-15 15:35:35 +01:00
exceptions.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
filesystem.py pySim-shell: Add 'decode_hex' command for transparent + linear EF 2022-03-01 16:48:22 +00:00
global_platform.py Initial support for GlobalPlatform 2022-03-01 16:32:15 +00:00
gsm_r.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
iso7816_4.py cosmetic: Remove extraneous empty lines between spec-section-comment and class 2022-02-14 00:51:27 +01:00
jsonpath.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
profile.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
sysmocom_sja2.py cosmetic: Switch to consistent four-spaces indent; run autopep8 2022-02-11 13:32:58 +01:00
tlv.py tlv: Don't raise exception if somebody passes empty data to TLV decoder 2022-02-14 00:44:55 +01:00
ts_31_102.py ts_31_102: Avoid pylint false positive 2022-03-27 12:33:55 +02:00
ts_31_103.py ts_31_103: Correct file-id of EF.DOMAIN in ADF.ISIM 2022-03-27 10:43:38 +00:00
ts_51_011.py ts_51_011: Better decode of EF_OPL LAI 2022-02-25 15:44:26 +01:00
ts_102_221.py ts_102_221: Fix decoding the 'num_of_rec' field 2022-02-25 09:48:20 +01:00
ts_102_222.py pySim-shell: support TS 102 222 administrative commands 2022-02-15 15:35:36 +01:00
utils.py utils: Fix bugs in DataObject encoders 2022-04-05 14:33:00 +02:00