pysim/tests
Harald Welte 7156a40187 construct: Add StripTrailerAdapter
In smart cards, we every so often encounter data types that contain a
bit-mask whose length depends on whether or not there are any of the
least-significant bits are set.  So far we worked around this with
some kind of Struct('byte1', 'byte2'/COptional, 'byte3'/COptional)
approach.

Let's do thisin a generic way using the new StripTrailerAdapter.

Change-Id: I659aa7247c57c680895b0bf8412f9e477fc3587d
2024-02-05 01:39:39 +01:00
..
pySim-prog_test.sh transport: print reader device/number on init 2023-10-26 15:17:07 +00:00
pySim-trace_test.sh pySim-trace_test.sh: Force termcolor to suppress color generation 2023-12-23 10:38:21 +01:00
test_apdu.py Introduce APDU/TPDU trace decoder 2022-07-23 12:18:57 +02:00
test_construct.py construct: Add StripTrailerAdapter 2024-02-05 01:39:39 +01:00
test_esim.py pySim.esim: Add class for parsing/encoding eSIM activation codes 2024-01-30 21:33:41 +01:00
test_esim_bsp.py Initial proof-of-concept SM-DP+ for GSMA consumer eSIM RSP 2024-01-09 21:37:12 +00:00
test_esim_saip.py osmo-smdpp: Support multiple different profiles 2024-01-30 21:33:41 +01:00
test_euicc.py euicc: Implement EID checksum verification + computation 2024-01-16 19:04:19 +01:00
test_files.py test_files: Test decoder also with ff-padded input 2023-12-29 18:51:25 +01:00
test_globalplatform.py global_platform: KCV support for PUT KEY 2024-02-04 21:27:00 +01:00
test_ota.py tests: Add new, data-driven OTA tests 2023-06-18 10:50:50 +02:00
test_sms.py Add support for encoding/decoding SMS in TPDU and SMPP format 2023-06-18 10:46:23 +02:00
test_tlv.py make our tests pass pylint 2024-02-04 21:27:00 +01:00
test_tlvs.py global_platform: Add TLV test data for Key Information Data 2023-12-27 15:15:58 +00:00
test_utils.py TLV: Add DGI encoding of "GP Scripting Language Annex B" 2024-01-14 17:42:01 +01:00