mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-05-18 08:02:28 +03:00
Commit Graph
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
4fe7de8568
ts_31_103: Add construct for EF.GBABP and EF.GBANL
Harald Welte
2023-12-21 20:58:56 +01:00 -
b0c9ccba66
construct: avoid StreamError exceptions due to files containing all-ff
Harald Welte
2024-01-04 21:18:31 +01:00 -
e13403b206
ts_31_102: Start to use construct for EF.SUCI_Calc_Info
Harald Welte
2023-12-21 22:02:34 +01:00 -
9a48aea263
fileystem/tlv: remove unused imports
Harald Welte
2024-01-01 21:10:23 +01:00 -
19d2b93d7e
move SUCI sub-classes to EF_SUCI_CalcInfo
Harald Welte
2023-12-21 21:14:46 +01:00 -
9d607978fa
global_platform: Add support for more GET DATA TLVs
Harald Welte
2023-12-28 21:57:09 +01:00 -
1c0a249131
commands: Ignore exceptions during READ while UPDATE
Harald Welte
2023-12-28 15:42:51 +01:00 -
db1684df04
sysmocom_sja2: Implement EF_CHV files using construct
Harald Welte
2023-12-28 15:06:11 +01:00 -
ce01f48b00
test_files: Test decoder also with ff-padded input
Harald Welte
2023-12-28 09:41:35 +01:00 -
bcd261583c
tests_files.py: Reduce code duplication
Harald Welte
2023-12-28 09:34:05 +01:00 -
69bdcf5022
Fix TLV_IE_Collection.from_tlv in certain situations
Harald Welte
2023-12-28 09:21:17 +01:00 -
a77f7e1eb9
ts_31_102: Implement decoders/encoders for EFs below DF.HNB
Harald Welte
2023-12-27 16:29:00 +01:00 -
6e6caa8b4a
support UCS-2 characters in EF.MMSUP, EF.ADN, EF.SPN, EF.PNN, EF.ECC
Harald Welte
2023-12-27 22:04:50 +01:00 -
f6fceb8684
Implement convoluted encoding of UCS-2 as per TS 102 221 Annex A
Harald Welte
2023-12-27 21:44:56 +01:00 -
842fbdb15d
add PlmnAdapter for decoding PLMN bcd-strings like 262f01 to 262-01
Harald Welte
2023-12-27 17:06:58 +01:00 -
dffe7af578
Fix enumeration of GlobbalPlatformISDR during card_init()
Harald Welte
2023-12-23 17:23:52 +01:00 -
722c11a7e9
global_platform: Add support for key types of v2.3.1 (including AES)
Harald Welte
2023-12-23 21:13:43 +01:00 -
45626271cf
global_platform: Add TLV test data for Key Information Data
Harald Welte
2023-12-23 21:02:44 +01:00 -
2538dd7621
global_platform: Correctly decode Key Information Data
Harald Welte
2023-12-23 21:01:39 +01:00 -
ee6a951774
Add TLV decoder test data
Harald Welte
2023-12-23 16:14:04 +01:00 -
2a36c1b921
data-driven TLV unit data test support
Harald Welte
2023-12-23 12:49:09 +01:00 -
a9b21bdb1f
tlv: Fix from_dict() symmetry
Harald Welte
2023-12-27 15:52:11 +01:00 -
a5eb924f9e
filesystem: use pySim.utils.build_construct()
Harald Welte
2023-12-23 10:20:20 +01:00 -
a4b9bdf238
pySim-trace_test.sh: Force termcolor to suppress color generation
Harald Welte
2023-12-23 10:26:51 +01:00 -
caef0df663
construct/tlv: Pass optional 'context' into construct decoder/encoder
Harald Welte
2023-12-17 10:07:01 +01:00 -
188869568a
docs/shell: extend the introduction part; link to video presentation
Harald Welte
2023-12-18 22:53:06 +01:00 -
324175f8bd
additional encode/decode test data for various files
Harald Welte
2023-12-21 20:25:30 +01:00 -
5376251993
31.102 + 51.011: Fix encode/decode of EF.CFIS
Harald Welte
2023-12-21 20:16:17 +01:00 -
542dbf6771
fix encode/decode of xPLMNwAcT
Harald Welte
2023-12-21 20:14:48 +01:00 -
e45168ef29
test/test_files: set maxDiff attribute
Harald Welte
2023-12-21 20:20:44 +01:00 -
2822dca9ec
tests: use case-insensitive compare of hex strings
Harald Welte
2023-12-21 22:14:08 +01:00 -
0ecbf63a02
transport: Extend the documentation for each transport driver
Harald Welte
2023-11-03 12:38:42 +01:00 -
baec4e9c81
transport: Move printing of reader number/name to generic code
Harald Welte
2023-11-03 11:49:54 +01:00 -
ad002797e2
transport/pcsc: Allow opening PC/SC readers by a regex of their name
Harald Welte
2023-11-03 11:42:18 +01:00 -
0f177c1d29
transport: Pass argparse.Namespace directly into transport classes
Harald Welte
2023-12-17 12:38:29 +01:00 -
c108595041
move {enc,dec}_addr_tlv functions from pySim.util to pySim.legacy.util
Harald Welte
2023-12-08 15:09:26 +01:00 -
301d6ed14a
isim: Replace legacy imperative address TLV encoder/decoder with construct
Harald Welte
2023-12-08 15:06:29 +01:00 -
b3c46135bb
bertlv_parse_len: Fix input data is smaller than num length octets
Harald Welte
2023-12-08 16:08:53 +01:00 -
6e9ae8a584
usim: Properly decode/encode IPv4 + IPv6 addresses
Harald Welte
2023-12-08 14:57:19 +01:00 -
478b5fe8e3
usim: ePDGId + ePDGSelection: Fix encoder/decoder + add test cases
Harald Welte
2023-12-08 14:27:50 +01:00 -
cdfe1c24af
usim: Add EF.ePDGSelection + EF.ePDGSelectionEm support
Harald Welte
2023-12-08 12:30:21 +01:00 -
5277b5cf2c
USIM: add support for EG.ePDGIdEm (Emergency ePDG)
Harald Welte
2023-12-08 12:22:28 +01:00 -
a5707c7dfb
filesystem: fix typo
Philipp Maier
2023-12-13 12:07:24 +01:00 -
82cc7cc11a
runtime: refactor file selection methods select and select_file
Philipp Maier
2023-12-07 12:20:07 +01:00 -
14bf003dad
filesystem: use sort path when selecting an application
Philipp Maier
2023-12-13 12:12:32 +01:00 -
174fd32f17
runtime: explain how file probing works
Philipp Maier
2023-12-07 11:28:08 +01:00 -
b582c3c7ea
euicc: Fix TLV IE definitions for SetNickname{Req,Resp}
Harald Welte
2023-12-07 23:29:11 +01:00 -
c20d442695
euicc: Fix encoding of Lc value in STORE DATA
Harald Welte
2023-12-07 22:46:40 +01:00 -
2b6deddcdc
euicc: the ICCID TLV object uses bcd-swapped-nibble encoding
Harald Welte
2023-12-07 14:21:19 +01:00 -
5482737f31
pySim-shell: don't get trapped in applications without file system
Philipp Maier
2023-10-24 16:18:30 +02:00 -
008cdf4664
euicc: Fix encoding of {enable,disable,delete}_profile
Harald Welte
2023-12-07 00:03:47 +01:00 -
0f7d48ed69
tlv: Fix encoding of zero-valued TLVs
Harald Welte
2023-12-06 23:56:28 +01:00 -
c038cccdd8
runtime: cosmetic: prnounce file reference data
Philipp Maier
2023-12-07 11:12:08 +01:00 -
e30456b07a
runtime: explain why we may access the card object directly
Philipp Maier
2023-12-07 11:07:55 +01:00 -
b8b61bf8af
runtime: do not use the _scc object of the card object to select MF
Philipp Maier
2023-12-07 10:39:21 +01:00 -
880db37356
flatten_dict_lists(): Don't flatten lists with duplicate keys
Harald Welte
2023-12-06 09:01:00 +01:00 -
9c38711773
ara_m: Fix encoding of DeviceInterfaceVersionDO
Harald Welte
2023-12-05 18:19:24 +01:00 -
a1850aeccc
filesystem: add flag to tell whether an ADF supports an FS or not
Philipp Maier
2023-10-25 18:05:09 +02:00 -
4e02436dba
perform multiple GET RESPONSE cycles if more data is available
Harald Welte
2023-12-04 21:32:46 +01:00 -
1c207a2499
pySim-shell: Do not use self.lchan.scc when sending raw APDUs.
Philipp Maier
2023-11-29 13:04:09 +01:00 -
eb3b0dd379
pySim-shell: refuse to execute a startup script on initialization errors
Philipp Maier
2023-11-23 11:46:39 +01:00 -
f1e1e729c4
app: do not catch exceptions in init_card
Philipp Maier
2023-11-23 11:33:55 +01:00 -
40ef226030
ts_31_102: correct name of EF_ePDGId
iw0
2023-11-07 13:41:12 +01:00 -
578cf12e73
runtime: fix tracking of selected_adf
Philipp Maier
2023-10-25 18:02:41 +02:00 -
8fab463e67
pySim-shell: Move init_card() function to new pySim.app module
Harald Welte
2023-11-03 01:03:28 +01:00 -
2d44f03af2
transport: Log it explicitly if user doesn't specify a reader
Harald Welte
2023-11-03 08:45:49 +01:00 -
45477a767b
Use construct 'Flag' instead of 'Bit' for type descriptions
Harald Welte
2023-11-03 01:33:06 +01:00 -
7be68b2980
sysmocom_sja2: Add some de/encode test vectors
Harald Welte
2023-11-02 00:19:53 +01:00 -
1c849f8bc2
pySim-shell: Reject any non-decimal PIN values
Harald Welte
2023-11-01 23:48:28 +01:00 -
977c5925a1
pySim-shell: permit string with spaces for 'echo' command
Harald Welte
2023-11-01 23:42:55 +01:00 -
4e59d89a5d
pySim-shell: Validate that argument to 'apdu' command is proper hexstr
Harald Welte
2023-11-01 23:40:07 +01:00 -
f9ea63ea51
pySim-shell: Improved argument validation for verify_adm argument
Harald Welte
2023-11-01 23:35:31 +01:00 -
469db9393f
pySim-shell: Use argparser for verify_adm to support --help
Harald Welte
2023-11-01 23:17:06 +01:00 -
0ba3fd996a
pySim-shell: Add copyright statement and link to online manual to banner
Harald Welte
2023-11-01 19:18:24 +01:00 -
3d16fdd8da
docs: shell: Various documentation updates/extensions
Harald Welte
2023-11-01 19:16:37 +01:00 -
aa07ebcdac
docs: shell: update output in examples
Harald Welte
2023-11-01 18:50:19 +01:00 -
6663218ab8
docs: Fix docstring syntax to avoid warnings
Harald Welte
2023-11-01 17:28:18 +01:00 -
0c25e922be
docs: shell: Re-order the command sections/classes
Harald Welte
2023-11-01 17:25:59 +01:00 -
350cfd822b
docs: shell: link to cmd2 documentation
Harald Welte
2023-11-01 17:24:55 +01:00 -
0f2faa59fb
docs: shell: By now we have encoders/decoders for most files
Harald Welte
2023-11-01 17:24:41 +01:00 -
47bb33f937
docs: shell: Clarify various different card support
Harald Welte
2023-11-01 17:24:22 +01:00 -
a24755e066
filesystem: fix method build_select_path_to
Philipp Maier
2023-10-31 16:04:29 +01:00 -
1da8636c0f
runtime: cosmetic: fix formatting of comment
Philipp Maier
2023-10-31 13:17:14 +01:00 -
4af63dc760
transport: print reader device/number on init
Philipp Maier
2023-10-26 12:17:32 +02:00 -
cbc0bdfaa9
euicc: add some first IoT eUICC commands (GSMA SGP.32)
Harald Welte
2023-10-24 12:11:04 +02:00 -
884eb551af
euicc: Add get_profiles_info command
Harald Welte
2023-10-24 11:03:50 +02:00 -
268a2025db
Initial support for eUICC
Harald Welte
2023-10-22 13:12:11 +02:00 -
8c82378bfd
transport: move argument parser setup into concrete classes
Philipp Maier
2023-10-23 10:44:44 +02:00 -
3077343739
transport: move init message into concrete classes
Philipp Maier
2023-10-23 10:18:04 +02:00 -
10669f2ddf
utils: Fix bertlv_encode_tag() for multi-byte tags
Harald Welte
2023-10-23 01:54:36 +02:00 -
237ddb5bb3
pySim-shell: Include current logical channel in prompt
Harald Welte
2023-10-22 10:36:58 +02:00 -
20650997e8
pySim-shell: Add 'switch_channel' command
Harald Welte
2023-10-21 23:47:02 +02:00 -
6dd6f3e12c
prevent SimCardCommands.select_adf_by_aid bypassing lchan
Harald Welte
2023-10-22 10:28:18 +02:00 -
46255121e0
pySim-shell: Create + use per-RuntimeLchan SimCardCommands
Harald Welte
2023-10-21 23:40:42 +02:00 -
3dfab9dede
commands.py: Add support for multiple logical channels.
Harald Welte
2023-10-21 23:38:32 +02:00 -
91eeecfbf3
docs: Fix command reference for 'apdu' command
Harald Welte
2023-10-23 22:26:06 +02:00 -
49acc06327
RuntimeState: Add type annotation for 'card' argument
Harald Welte
2023-10-21 20:21:51 +02:00 -
bdf595756e
pySim-shell: Create/delete RuntimeLchan objects on open/close of channel
Harald Welte
2023-10-21 20:06:19 +02:00 -
7997252267
cards.py: Fix type annotation
Harald Welte
2023-10-21 20:19:32 +02:00 -
7c0cd0a93b
pySim-shell: do not fail when EF.ICCID does not exist
Philipp Maier
2023-10-16 15:02:07 +02:00