Commit Graph

  • 0912d9f3f2 Wavemobile: adjust test expectations about binary EF.AD content Harald Welte 2021-04-10 11:47:24 +02:00
  • a0040792bf pySim/filesystem.py: fix compatibility with Python 3.5 Vadim Yanitskiy 2021-04-09 22:44:44 +02:00
  • f408a40039 pySim-shell: tree/export: catch errors during DF selection Philipp Maier 2021-04-09 21:16:12 +02:00
  • 13e258dc85 pySim-shell: be sure that startup script file exists Philipp Maier 2021-04-08 17:48:49 +02:00
  • 1bd664da9e tests: remove .example files for simcard tests Philipp Maier 2021-04-07 14:39:35 +02:00
  • dc4402e54f pySim-shell: fix wrong reference to iccid. Philipp Maier 2021-04-07 14:16:13 +02:00
  • 850b72ad58 shell: New 'read_records' and 'read_records_decoded' commands Harald Welte 2021-04-07 09:33:03 +02:00
  • 0d4e98a2ac pySim-shell: JSONpath support for updating files/records Harald Welte 2021-04-07 00:14:40 +02:00
  • 75487aed90 Use zero padding for EF['ACC'] field Robert Falkenberg 2021-04-01 16:14:27 +02:00
  • c98ef8a79d ts_102_221.py: fix fixup_fcp_proprietary_tlv_map() Philipp Maier 2021-04-07 10:51:22 +02:00
  • 5459536c7b SysmoISIM-SJA2: Add option to set Service Provider Name (SPN) Robert Falkenberg 2021-04-06 12:04:34 +02:00
  • d7a7e17a48 utils.py: Add missing dec_plmn function. Harald Welte 2021-04-07 00:30:10 +02:00
  • f431189a9e pySim/filesystem: Remove left-over debug print statements Harald Welte 2021-04-06 21:19:14 +02:00
  • 9ae33c8ad9 docs: Documentation for classic pySim-{prog,read} tools Harald Welte 2021-04-04 15:49:06 +02:00
  • d36f6943d9 docs/shell.rst: Auto-generate shell command reference Harald Welte 2021-04-04 14:37:55 +02:00
  • 1748b9372c pySim-shell: Add settable parameter on JSON pretty-printing Harald Welte 2021-04-06 21:12:25 +02:00
  • c9baa4d915 ts_51_011: Full encoder/decoder for EF.AD Harald Welte 2021-04-06 20:19:01 +02:00
  • bcad86c08c pySim-shell: Add '--oneline' to read_{binary,record}_decoded Harald Welte 2021-04-06 20:08:39 +02:00
  • 9813dc958b Introduce setuptools support Harald Welte 2021-04-03 15:13:13 +02:00
  • 4f2c546613 transport: Pass status word interpreter to exception handler Harald Welte 2021-04-03 11:48:22 +02:00
  • be9516f157 docs: Initial documentation for pySim-shell Harald Welte 2021-04-03 11:30:10 +02:00
  • 31d2cf0642 shell: Move dir,tree,export from ISO7816 to pySim commands Harald Welte 2021-04-03 10:47:29 +02:00
  • 522555710b utils.py: Add more type annotations Harald Welte 2021-04-03 09:56:32 +02:00
  • 6e0458dda6 Move init_reader() from utils.py to transport/__init__.py Harald Welte 2021-04-03 11:52:37 +02:00
  • 9d0f1f0cd5 card_key_provider: Documentation with sphinx / autodoc Harald Welte 2021-04-03 09:19:11 +02:00
  • 4442b3d1c0 rename card_data to card_key_provider. Harald Welte 2021-04-03 09:00:16 +02:00
  • 90d3b970af Add type annotations and more documentation to card_data.py Harald Welte 2021-04-03 08:56:21 +02:00
  • 2d4a64b43d filesystem.py: Fix type annotation of read_binary_dec() Harald Welte 2021-04-03 09:01:24 +02:00
  • 236a65f02f cosmetic: fix typo in comment Harald Welte 2021-04-03 10:20:11 +02:00
  • b29df886fc docs: Update copyright statement Harald Welte 2021-04-03 11:29:31 +02:00
  • 5da7a72c99 jenkins.sh: Build documentation as part of build verification Harald Welte 2021-04-03 20:21:02 +02:00
  • 86fbd39738 filesystem: Fix interpret_sw() fall-through Harald Welte 2021-04-02 22:13:09 +02:00
  • ec7d0daf6e 51.011: Define some more files within DF_TELECOM Harald Welte 2021-04-02 22:01:19 +02:00
  • 89e5954773 fix various file definitions Harald Welte 2021-04-02 21:33:13 +02:00
  • aae7c2768e pySim-shell: Remove UsimCommands Harald Welte 2021-04-02 21:25:23 +02:00
  • 5ce3524f5f Fix various mistakes around the CardADF <-> CardApplication dualism Harald Welte 2021-04-02 20:27:05 +02:00
  • 1e45657e0f filesystem: fix various issues found by mypy Harald Welte 2021-04-02 17:16:30 +02:00
  • 5a4fd52986 filesystem: Avoid GPL header showing up in sphinx autodoc Harald Welte 2021-04-02 16:05:26 +02:00
  • 94e8735bd3 Use sphinx for generating documentation Harald Welte 2021-04-02 13:38:00 +02:00
  • ee3501fc62 Add more documentation to the classes/methods Harald Welte 2021-04-02 13:00:18 +02:00
  • 082d4e0956 ts_31_102: Fix decode_select_response() for DF.5GS Harald Welte 2021-04-02 20:59:05 +02:00
  • ac34dcc149 pySim-shell: fix and improve file system exporter Philipp Maier 2021-04-01 17:19:05 +02:00
  • b152a9e0ed pySim-shell: prevent inconsitancy when walking through the FS tree Philipp Maier 2021-04-01 17:13:03 +02:00
  • 46f09af11d pySim-shell: complete CHV/PIN management tools Philipp Maier 2021-03-25 20:24:27 +01:00
  • b63766b96b pySim-shell: be more specific when finding no ADM-PIN Philipp Maier 2021-03-26 11:50:21 +01:00
  • 38c74f6d41 commands: conserve write cycles Philipp Maier 2021-03-17 17:19:52 +01:00
  • 2b11c32e20 pySim-shell: automatic ADM pin from CSV-File Philipp Maier 2021-03-17 12:37:39 +01:00
  • cba6dbce9a fileystem: fix ADF selection Philipp Maier 2021-03-11 13:03:18 +01:00
  • ad073e834a ts_31_102: do not add empty ShellCommands class. Philipp Maier 2021-03-10 12:07:48 +01:00
  • 63f572df42 filesystem: allow selection of arbitrary files Philipp Maier 2021-03-09 22:42:47 +01:00
  • 05ca36b3f3 Add decoder/encoder for EF.SUCI_Calc_Info Merlin Chlosta 2021-04-01 16:15:28 +02:00
  • dd2091a3e0 ts_102_221: use keywords to avoid conflicts with positional args Philipp Maier 2021-03-31 17:28:06 +02:00
  • 228c98e4c6 pySim-shell: use -a / -A commandline option to authenticate Philipp Maier 2021-03-10 20:14:06 +01:00
  • e6bc4f9032 filesystem: avoid outputting empty lines when there is no data Philipp Maier 2021-03-11 17:13:46 +01:00
  • 2558aa6999 pySim-shell: add command to show file description Philipp Maier 2021-03-10 16:20:02 +01:00
  • 98f872bed1 pySim/filesystem: fix mutable default list/dict arguments Vadim Yanitskiy 2021-03-27 01:25:46 +01:00
  • 24f7bd3ab5 pySim-shell: add filesystem exporter Philipp Maier 2021-02-25 17:06:18 +01:00
  • f62866f4d3 pySim-shell: output currently selected file using select command Philipp Maier 2021-03-10 17:13:15 +01:00
  • 681bc7ba72 pySim-shell: add option to execute script on startup Philipp Maier 2021-03-10 19:52:41 +01:00
  • 1e896f3d8c pySim-shell: add ADF.ISIM / ADF.USIM dynamically Philipp Maier 2021-03-10 17:02:53 +01:00
  • eb72fa461d filesystem: fix typo in method call app()->append() Philipp Maier 2021-03-26 21:29:57 +01:00
  • 9c1a4ece3d pysim-shell: select MF on startup to make commands accessible Philipp Maier 2021-03-10 12:38:15 +01:00
  • 78e32f2b36 utils: fix sw_match() Philipp Maier 2021-03-22 20:39:24 +01:00
  • 05f42ee929 cards: remove unnecessary execptions. Philipp Maier 2021-03-11 13:59:44 +01:00
  • a31e9a9a68 commands: better exception string for authentication failures Philipp Maier 2021-03-11 13:46:32 +01:00
  • 3aec871978 filesystem: be more strict in method add_file() Philipp Maier 2021-03-09 21:49:01 +01:00
  • d51d8b5575 filesystem: drop __main__ from filesystem.py Philipp Maier 2021-03-10 21:56:47 +01:00
  • 660615800c filesystem: add comment to inform about checks in add_file() Philipp Maier 2021-03-09 21:57:57 +01:00
  • e8bc1b42be filesystem: fix exception string (fid != name) Philipp Maier 2021-03-09 20:33:41 +01:00
  • ff9dae2436 pySim-shell: add functionality to walk through the fs recursively Philipp Maier 2021-02-25 17:03:21 +01:00
  • 5d3e2592f7 pySim-shell: add "dir" command. Philipp Maier 2021-02-22 17:22:16 +01:00
  • bd8ed2c4db filesystem: fix flag model used with get_selectable_names() Philipp Maier 2021-03-18 17:09:33 +01:00
  • 4155573617 filesystem: allow dumping multiple records of a file Philipp Maier 2021-02-25 16:52:08 +01:00
  • b0f24337b7 Check in requirements.txt to simplify installing dependencies Vadim Yanitskiy 2021-03-12 15:45:17 +01:00
  • 080cc9f794 README.md: add notes about the new 'cmd2' dependency Vadim Yanitskiy 2021-03-12 15:40:14 +01:00
  • 7744b6e9d1 filesystem: be case insensitive when selecting files by fid (HEX) Philipp Maier 2021-03-11 14:29:37 +01:00
  • 47236500fe utils: add is_hex function to check hex strings Philipp Maier 2021-03-09 21:28:25 +01:00
  • 786f781a5f filesystem: add flags to filter selectables Philipp Maier 2021-02-25 16:48:10 +01:00
  • 3b51f436a4 pySim/exceptions.py: fix referencing an instance member Vadim Yanitskiy 2021-03-12 02:18:06 +01:00
  • d61da8a64c contrib/jenkins.sh: enable automatic execution of unit tests Vadim Yanitskiy 2021-03-12 01:13:05 +01:00
  • 46c49d5256 tests/test_utils.py: update expectations for format_xplmn_w_act() Vadim Yanitskiy 2021-03-12 01:12:11 +01:00
  • c8458e2477 pySim/utils.py: fix 3-digit MNC encoding in enc_plmn() Vadim Yanitskiy 2021-03-12 00:34:10 +01:00
  • b271be3dc0 Revert "utils.py: Fix for parsing MNC" Vadim Yanitskiy 2021-03-11 23:56:58 +01:00
  • 4ae7c49076 pySim/utils_test.py: prepare this to be executed on Jenkins Vadim Yanitskiy 2021-03-11 23:17:27 +01:00
  • 7d57edfe2d pySim/utils_test.py: use proper shebang for this executable Vadim Yanitskiy 2021-03-11 23:01:55 +01:00
  • 3e58d38bdf Get rid of Python 2 specific compatibility leftovers Vadim Yanitskiy 2021-03-11 22:59:21 +01:00
  • 5452d64120 ts_51_011: fix bitmask compositing in EF_xPLMNwAcT.enc_act() Vadim Yanitskiy 2021-03-07 21:45:34 +01:00
  • 79f5b6080b Python 2 is deprecated, remove backwards compatibility chunks Denis 'GNUtoo' Carikli 2020-02-15 04:02:57 +07:00
  • 1f8acd9884 transport/pcsc: work around Python 3.5 bug: guard disconnect() Vadim Yanitskiy 2020-02-27 02:42:56 +07:00
  • ab34fa895e pySim/utils.py: Attempt to support pycryptodpme Harald Welte 2021-03-05 18:39:59 +01:00
  • eab8d2adf7 fix TypeError in derive_milenage_opc() Harald Welte 2021-03-05 18:30:23 +01:00
  • b2edd14475 Add a new pySim-shell program Harald Welte 2021-01-08 23:29:35 +01:00
  • 4f6ca43e1f start using python3 bytearray for our b2h/h2b types Harald Welte 2021-02-01 17:51:56 +01:00
  • 85484a977d commands.py: Introduce a real select_file() method Harald Welte 2021-01-21 16:08:56 +01:00
  • c0499c8330 commands.py: rename select_file() to select_path() Harald Welte 2021-01-21 16:06:50 +01:00
  • 67d551a443 move SW matching to a generic utility function Harald Welte 2021-01-21 14:50:01 +01:00
  • e79cc8069a introduce SwMatchError exception Harald Welte 2021-01-21 14:10:43 +01:00
  • 79b5ba4bdf utils.py: de-couple sanitize_pin_adm from argparse 'opts' Harald Welte 2021-01-08 21:22:38 +01:00
  • a670425088 cards.py: SJS1 + SJA2: Implement + Expose verify_adm() method Harald Welte 2021-01-08 20:19:11 +01:00
  • 6d5e0c9272 Remove Python shebang from files where it's not needed Vadim Yanitskiy 2021-03-01 17:23:13 +01:00