Commit Graph

  • 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
  • 289fd28091 serial: do not try to close non existing serial connection 1.0 Philipp Maier 2021-02-22 16:20:43 +01:00
  • 92bdd5e901 serial: don't crash if the device does not exist Philipp Maier 2021-02-22 16:14:47 +01:00
  • c8caec2933 utils: catch exceptions during reader initalitation Philipp Maier 2021-02-22 16:07:53 +01:00
  • bdf3d3597b utils.py: Fix for parsing MNC herlesupreeth 2021-02-11 06:59:29 +01:00
  • cebf8b198b pySim-read.py: Add support for reading USIM+ISIM data from third-party UICC herlesupreeth 2021-01-21 05:57:06 +01:00
  • 06a1256b67 Readme.md: update debian deps, add python3-yaml Joachim Steiger 2021-01-20 19:04:41 +01:00
  • be3b64167a pySim-read.py: Enable reading of UICC IARI from ISIM Supreeth Herle 2020-06-01 12:53:57 +02:00
  • a97944b6ca sysmoISIM-SJA2: Enable programming of EF.ACC Supreeth Herle 2020-03-26 10:03:25 +01:00
  • c60192375e sysmoISIM-SJA2: Enable programming of EF.MSISDN Supreeth Herle 2020-03-26 10:00:45 +01:00
  • be7007e1d9 sysmoISIM-SJA2: Add support for programming IMS public user identity Supreeth Herle 2020-03-26 09:27:45 +01:00
  • a5bd9684d3 sysmoISIM-SJA2: Add support for programming IMS private user identity Supreeth Herle 2020-03-26 09:16:14 +01:00
  • 0c02d8a57b pySim-read.py: Enable reading of EF.IMPU from ISIM Supreeth Herle 2020-03-26 09:00:06 +01:00
  • 3f67f9c1d3 pySim-read.py: Enable reading of EF.IMPI from ISIM Supreeth Herle 2020-03-25 15:38:02 +01:00
  • 28484d03e3 Update ISIM IST table as per the 3GPP TS 31.103 specification V15.6.0 Supreeth Herle 2020-03-25 15:00:20 +01:00
  • 1279085f7e sysmoISIM-SJA2: Add support for programming IPv4 address for PCSCF herlesupreeth 2020-12-24 09:38:42 +01:00
  • c491dc019f sysmoISIM-SJA2: Add support for programming IPv4 address for Home ePDG Identifier Supreeth Herle 2020-03-25 14:56:13 +01:00
  • 43fd03b627 utils.py: Support IPv4 decoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm Supreeth Herle 2020-03-25 14:52:46 +01:00
  • 654eca72c9 utils.py: Support IPv4 encoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm Supreeth Herle 2020-03-25 14:25:38 +01:00
  • 4779034f9e sysmoISIM-SJA2: Fill unused bytes of Home ePDGId with 'f' Supreeth Herle 2020-03-25 12:51:38 +01:00
  • 79f43dda3d sysmoISIM-SJA2: Add support for programming IMS Home Network Domain Name Supreeth Herle 2020-03-25 11:43:19 +01:00