pysim/pySim
Harald Welte f9a5ba5e0f 31.102: Fix EF.Routing_Indicator for odd number of digits
The routing indicator is BCD-encoded but has an arbitrary length of
1, 2, 3 or 4 digits.

In order to support the odd lengths of 1 or 3, we must not pad on the
byte level, but on the nibble level. This requires a slight extension of
the Rpad() Adapter.

Change-Id: I6c26dccdd570de7b7a4cd48338068e230340ec7c
Fixes: OS#6054
2023-06-09 09:19:53 +02:00
..
apdu pySim/apdu/ts_31_102.py: Add Rel17 5G NSWO context for GET IDENTITY 2023-06-07 11:14:07 +02:00
apdu_source pySim-trace: Add support for reading GSMTAP from pcap files 2023-01-24 13:50:51 +01:00
transport serial: return a return code in reset_card() 2023-06-07 10:00:52 +00: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 Add FPLMN read and program 2023-06-07 10:00:07 +00:00
cat.py Add TLV definitions for *a lot more* CAT / USAT data objects 2022-08-06 18:56:42 +02:00
cdma_ruim.py Add very basic profile for R-UIM (CDMA) cards 2023-05-10 00:14:13 +00:00
commands.py ts_31_102: Add shell command for GET IDENTITY 2023-06-07 15:54:17 +00:00
construct.py 31.102: Fix EF.Routing_Indicator for odd number of digits 2023-06-09 09:19:53 +02:00
exceptions.py Fix printing of SwMatchError after introduction of logical channels 2022-07-30 16:37:01 +02:00
filesystem.py modem_atcmd: raise ProtocolError instead of ReaderError on CME ERROR 2023-06-02 15:35:43 +00:00
global_platform.py Initial support for GlobalPlatform 2022-03-01 16:32:15 +00:00
gsm_r.py filesystem: add unit tests for encoder/decoder methods 2023-02-01 10:52:23 +01:00
gsmtap.py Introduce APDU/TPDU trace decoder 2022-07-23 12:18:57 +02: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
ota.py Switch from pycryptodome to pycryptodomex 2023-06-05 20:58:11 +02:00
profile.py Add very basic profile for R-UIM (CDMA) cards 2023-05-10 00:14:13 +00:00
sms.py Add new pySim.ota library, implement SIM OTA crypto 2022-09-08 15:45:55 +02:00
sysmocom_sja2.py SJA5: EF.USIM_AUTH_KEY: Display / enforce proper length TUAK K 2023-06-08 17:28:40 +02:00
tlv.py tlv: Use self._compute_tag() method rather than direct self.tag 2022-08-06 13:19:16 +02:00
ts_31_102.py 31.102: Fix EF.Routing_Indicator for odd number of digits 2023-06-09 09:19:53 +02:00
ts_31_102_telecom.py filesystem: add unit tests for encoder/decoder methods 2023-02-01 10:52:23 +01:00
ts_31_103.py filesystem: add unit tests for encoder/decoder methods 2023-02-01 10:52:23 +01:00
ts_31_104.py HPSIM application support 2023-06-06 17:36:39 +02:00
ts_51_011.py ts_51_011: Fix EF.Phase FID (it's 6FAE, not 6FA3) 2023-05-25 07:55:44 +00:00
ts_102_221.py ts_102221: Add "resume_uicc" command 2023-06-07 11:13:34 +02:00
ts_102_222.py ts_102_222: Implement support for RESIZE FILE for an EF 2023-03-09 09:49:40 +00:00
utils.py utils: Remove format_xplmn leading zeros in MNC 2023-06-07 10:00:07 +00:00