Commit Graph

  • d572edef1e utils.py: Add helper method to parse ePDG Identifier from hex string Supreeth Herle 2020-03-22 09:55:04 +01:00
  • 7d77d2d5d0 Introduce function for converting bytes list in (hex or int) to string Supreeth Herle 2020-05-11 09:07:08 +02:00
  • 9837055f4f Import TLV parsing related function from https://github.com/mitshell/card Supreeth Herle 2020-05-11 09:04:41 +02:00
  • 32f0d415af Fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2 Harald Welte 2020-05-05 17:35:57 +02:00
  • ee15c77185 Enable parsing of ISIM Service table (IST) Supreeth Herle 2020-03-22 08:58:33 +01:00
  • df33037e42 Extend parsing and printing of Service table to ISIM Supreeth Herle 2020-04-20 14:48:55 +02:00
  • 8b72c27270 Define mapping between ISIM Service Number and its description Supreeth Herle 2020-03-22 08:55:50 +01:00
  • 9641299f9a Enable parsing of USIM Service table (UST) Supreeth Herle 2020-03-22 08:20:11 +01:00
  • 69e5d27e3c Remove redundant functions Supreeth Herle 2020-04-20 14:33:39 +02:00
  • d3b13d0c85 Use helper method to print available service in EF.SST Supreeth Herle 2020-04-20 13:30:34 +02:00
  • 0c4d82d84a utils.py: Add helper method to parse and print Service Table Supreeth Herle 2020-04-20 13:28:31 +02:00
  • 3e6f16d8f6 pySim-read.py: Add ability to read Cards with correct CLA, P1 and P2 bytes Supreeth Herle 2020-03-23 10:00:50 +01:00
  • f9f3e5e0c1 cards.py: Added method to select ADF by its full AID Supreeth Herle 2020-03-22 08:04:59 +01:00
  • 3bf43639ce Populate AIDs present on the UICC Supreeth Herle 2020-03-20 20:20:27 +01:00
  • 475dcaa4a1 Define mapping between USIM Service Number and its description Supreeth Herle 2020-03-20 18:57:39 +01:00
  • e26331ef72 Add ability to parse SIM Service Table (EF.SST) Supreeth Herle 2020-03-20 18:50:39 +01:00
  • 441c4a768f utils.py: Add helper method to parse Service Table Supreeth Herle 2020-03-24 10:19:15 +01:00
  • bf5d602588 Define mapping between SIM Service Number and its description Supreeth Herle 2020-03-20 15:18:27 +01:00
  • 52ef675c31 Use the generic method read_binary of card class to read AD Supreeth Herle 2020-03-19 12:50:27 +01:00
  • 6d66af653f Move parsing of MSISDN to generic Card class Supreeth Herle 2020-03-19 12:49:16 +01:00
  • d1fb6fc359 Use the generic method read_binary of card class to read ACC Supreeth Herle 2020-03-19 12:45:45 +01:00
  • a850a47981 Move parsing of HPLMNAcT to generic Card class Supreeth Herle 2020-03-19 12:44:11 +01:00
  • 1757b263bf Move parsing of OPLMNwAcT to generic Card class Supreeth Herle 2020-03-19 12:43:11 +01:00
  • 140844052a Move parsing of PLMNwAcT to generic Card class Supreeth Herle 2020-03-19 12:42:10 +01:00
  • 9efd8ef812 Use the generic method read_binary of card class to read PLMNsel Supreeth Herle 2020-03-19 12:14:10 +01:00
  • 846cefb0cd pySim-read.py: Use the method declared in cards.py to read SPN Supreeth Herle 2020-03-19 12:11:25 +01:00
  • ebe6dbaef5 Use the generic method read_record of card class to read SMSP Supreeth Herle 2020-03-19 12:08:20 +01:00
  • e573ccb53c Use read_binary function of card class to read GID2 and reduce code duplication Supreeth Herle 2020-04-01 09:21:20 +02:00
  • ad10d66baf cards.py: Add generic function to read EF record in card class Supreeth Herle 2020-04-01 08:43:08 +02:00
  • d21349a610 cards.py: Add generic function to read EF binary to card class Supreeth Herle 2020-04-01 08:37:47 +02:00
  • c7f2f7413b Move parsing of GID2 to generic Card class Supreeth Herle 2020-03-19 12:06:20 +01:00
  • 98a6927b27 Move parsing of GID1 to generic Card class Supreeth Herle 2020-03-18 12:14:48 +01:00
  • f9762dc98f pySim-read.py: Use the method declared in cards.py to read IMSI Supreeth Herle 2020-03-18 12:05:06 +01:00
  • 3566b8eb55 pySim-read.py: Use the method declared in cards.py to read ICCID Supreeth Herle 2020-03-18 12:02:34 +01:00
  • 4c306ab200 pySim-read.py: Added a common card detection function for both pySim-prog.py and pySim-read.py Supreeth Herle 2020-03-18 11:38:00 +01:00
  • e4e98316a8 cards.py: Added parsing of all the AIDs in the UICC Supreeth Herle 2020-03-18 11:33:14 +01:00
  • 0e90e6c3c6 pySim-read.py: support for reading GID2 from SIM Supreeth Herle 2020-03-05 15:33:00 +01:00
  • ab46d625fc pySim-read.py: support for reading GID1 from SIM Supreeth Herle 2020-03-05 15:30:22 +01:00
  • d950786525 sysmoISIM-SJA2: Add suport for USIM-only and ISIM-only cards Philipp Maier 2020-03-11 12:18:29 +01:00
  • b3e11ea196 sysmiISIM-SJA2: add support for new card model / os version Philipp Maier 2020-03-11 12:32:44 +01:00
  • 9664b2e7fc cards: Python 3 fix: use the floor division operator // Vadim Yanitskiy 2020-02-27 01:49:51 +07:00
  • edf873d04a commands: Python 3 fix: properly distinguish str and list Vadim Yanitskiy 2020-02-27 01:40:14 +07:00
  • fa617ac20d transport/pcsc: explicitly specify T0 protocol Vadim Yanitskiy 2020-02-26 22:33:08 +07:00
  • 41c22176e4 transport/pcsc: cosmetic: reuse the existing code of PcscSimLink Vadim Yanitskiy 2020-02-26 22:18:32 +07:00
  • 7ba2428de5 utils: fix dec_msisdn(): properly detect international numbers Vadim Yanitskiy 2020-02-27 00:04:13 +07:00
  • 99affe1529 Py2 -> Py3: use the floor division operator // where possible Vadim Yanitskiy 2020-02-15 05:03:09 +07:00
  • 4133080ced pySim-read.py: do not import json, it is not needed Vadim Yanitskiy 2020-02-15 03:57:09 +07:00
  • 5a541016fb pySim-prog.py: add support for MSISDN programming Supreeth Herle 2019-12-22 08:59:16 +01:00
  • 4b1c763395 pySim-read.py: fix reading and parsing of EF.MSISDN Supreeth Herle 2019-12-22 09:00:59 +01:00
  • d24f163513 Fix MCC and MCC representation in the output of pySim-read Supreeth Herle 2019-11-30 10:37:09 +01:00
  • f442fb4d69 cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT Supreeth Herle 2020-01-21 12:47:32 +01:00
  • c8796a3184 cards/sysmoUSIM-SJS1: support programming of ACC bits Supreeth Herle 2019-12-23 12:23:42 +01:00
  • 2d7859759e cards: fix reading of EF.HPLMNwAcT in Card.update_hplmn_act() Supreeth Herle 2019-11-30 11:00:10 +01:00
  • 9ca41c1f26 cards: cosmetic/indentation fix: use tabs, not spaces Supreeth Herle 2020-01-21 12:50:30 +01:00
  • 840a9e2a76 pySim-prog.py: add presence/length checks for user-provided SPN Supreeth Herle 2020-01-21 13:32:46 +01:00
  • 6af4c21cdf pySim-read.py: print meaningful message when SPN is not set Supreeth Herle 2020-01-21 19:50:31 +01:00
  • a3bb334981 pySim-read.py: fix copy-paste: s/HPLMNAcT/PLMNsel/ Vadim Yanitskiy 2020-01-25 12:45:37 +07:00
  • 6727f0c02c Fix compatibility with Python 3: print() is a function Vadim Yanitskiy 2020-01-22 23:38:24 +07:00
  • fa1dc34152 testdata/sysmoUSIM-SJS1.ok: make it match the actual EF.HPLMNAcT Vadim Yanitskiy 2020-02-14 22:45:36 +07:00
  • e51643e87e Fix file permission Supreeth Herle 2019-08-20 09:07:50 +02:00
  • 7947d92bc1 Added feature to program SPN into sysmoUSIM-SJS1 SIM cards Supreeth Herle 2019-06-08 07:50:53 +02:00
  • f829945117 Added feature to read Service Provider Name (SPN) from the SIM card Supreeth Herle 2019-06-08 07:49:08 +02:00
  • 0ad5bcfbc1 cards: Add support for sysmo-isim-sja2 Philipp Maier 2019-12-31 17:55:47 +01:00
  • 07cd481954 Fixup: Fix automated tests Philipp Maier 2019-12-31 17:53:48 +01:00
  • cdfdd41293 commands: fix __record_len() Philipp Maier 2019-12-20 13:39:24 +01:00
  • 4e724391e0 Fix automated tests Philipp Maier 2019-12-12 17:02:22 +01:00
  • 76db7d7295 Fairwaves-SIM: Add test data Philipp Maier 2019-11-12 13:20:50 +01:00
  • 5a8763154e cards.py: do not use spaces in card names Philipp Maier 2019-11-11 11:01:46 +01:00
  • 8902bcde07 python3 conversion: Use python 2 and 3 compatible exceptions Denis 'GNUtoo' Carikli 2019-09-12 15:03:23 +02:00
  • 84d2cb3cb3 python3 conversion: fix tabs and spaces inconsistency Denis 'GNUtoo' Carikli 2019-09-12 01:46:25 +02:00
  • 7592eeea59 pySim-prog: use functions to derive MCC/MNC from IMSI Philipp Maier 2019-09-12 13:03:23 +02:00
  • be069e26ae cards: use string representation for MNC/MCC Philipp Maier 2019-09-12 12:52:43 +02:00
  • 196b08cdfd pySim-prog: check if CSV file exists Philipp Maier 2019-09-12 11:49:44 +02:00
  • 120a000e86 pySim-prog: use case insensitive CSV headers. Philipp Maier 2019-09-12 13:11:45 +02:00
  • 1de89bf889 pySim-prog.py: use more expressive error message on CSV read failure Philipp Maier 2019-09-12 13:40:02 +02:00
  • c5b422e2ca Add support for automatic card handling Philipp Maier 2019-08-30 11:41:02 +02:00
  • e053da5a14 pySim-prog: generate a pin_adm from pin_adm_hex also for CSV files Philipp Maier 2019-09-05 13:08:36 +02:00
  • 164b963dd2 Add an option to read the iccid and batch-program the new card data Daniel Willmann 2019-09-03 19:13:51 +02:00
  • f432b2ba96 pySim-prog: Add option for hex ADM keys Daniel Willmann 2018-06-15 07:31:50 +02:00
  • c46a4eba43 pySim-prog: Use CSV format with headers Daniel Willmann 2018-06-15 07:31:50 +02:00
  • 7d38d74716 pySim-prog: Print out hex-escaped pin_adm in card parameters Daniel Willmann 2018-06-15 07:31:50 +02:00
  • 9f9c60937e pysim-testdate: Add test data for Wavemobile-sim Philipp Maier 2019-09-02 14:33:02 +02:00
  • 1d96d22c11 Add an option to read the iccid and batch-program the new card data users/daniel/csv-format Daniel Willmann 2018-06-15 07:39:41 +02:00
  • 1d00c19d14 pySim-prog: Use CSV format with headers Daniel Willmann 2018-06-15 07:31:50 +02:00
  • 23888dab85 make writing SMSP optional Harald Welte 2019-08-28 23:19:11 +02:00
  • 67acdbc817 Make programming OPC optional Daniel Willmann 2018-06-15 07:42:48 +02:00
  • 35a96edb0d pySim-*.py: print info about selected reader interface Vadim Yanitskiy 2018-10-29 02:02:14 +07:00
  • 5491c48e71 Don't try to parse result if select_file() failed Max 2019-01-03 11:29:25 +01:00
  • 89cfded971 Use reference array for reading ICCID Max 2019-01-03 11:02:08 +01:00
  • 851e9c0f4c utils: add EF [H|O]PLMNwAcT decoding. Daniel Laszlo Sitzer 2018-12-04 19:40:08 +01:00
  • 91d4ec7e7b import pysim-testdata of automatic testing to this repository Harald Welte 2019-05-10 16:20:54 +02:00
  • 6e507a7786 wavemobile-sim: write mnc-length field ine EF.AD Philipp Maier 2019-04-01 16:33:48 +02:00
  • 45daa925bd cosmetic: fix sourecode formatting Philipp Maier 2019-04-01 15:49:45 +02:00
  • ee908ae195 sysmo-usim-sjs1: update EF.AD with correct MNC length Philipp Maier 2019-03-21 16:21:12 +01:00
  • 2d15ea015e cards: sysmo-usim-sjs1: add programming of EF.PLMNsel, EF.PLMNwAcT and EF.OPLMNwAcT Philipp Maier 2019-03-20 12:40:36 +01:00
  • 91f26d7f0a commands: correct case of a TLV tag (A5 => a5) Philipp Maier 2019-03-20 12:12:51 +01:00
  • 9f9f5a6157 pySim-*.py: add command line option for Calypso reader Vadim Yanitskiy 2018-10-27 02:10:34 +07:00
  • 588f3aca3c pySim-*.py: refactor card reader driver initialization Vadim Yanitskiy 2018-10-27 06:30:33 +07:00
  • 1381ff15af pySim/transport: introduce Calypso based reader interface Vadim Yanitskiy 2018-10-27 01:48:15 +07:00
  • 4fa8f1c49b pySim-prog: Honor international '+' in SMSC number Daniel Willmann 2018-10-02 18:10:21 +02:00