Commit Graph

  • 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 1774480798423031216/tmp_refs/tags/1.0 1774474035038231939/tmp_refs/tags/1.0 1774474034829604509/tmp_refs/tags/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
  • 556b0fe262 utils.py: Add helper method to get type of address (FQDN, IPv4, IPv6) Supreeth Herle 2020-03-25 11:26:57 +01:00
  • 44e046240e sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is present Supreeth Herle 2020-03-25 10:34:28 +01:00
  • 05b2807168 pySim-read.py: Enable reading of Home Network Domain Name from ISIM Supreeth Herle 2020-03-25 10:23:48 +01:00
  • cf727f2733 sysmoISIM-SJA2: Add support for programming Proxy Call Session Control Function address Supreeth Herle 2020-03-24 17:32:21 +01:00
  • 5ad9aec98f pySim-read.py: Enabled reading P-CSCF address from ISIM Supreeth Herle 2020-03-24 17:26:40 +01:00
  • 75c14c0cbd ts_31_103.py: Add ADF map for files at ISIM ADF herlesupreeth 2020-12-23 09:41:07 +01:00
  • b0c7d121d7 sysmoISIM-SJA2: Inherit ISIM Card class as SysmoISIMSJA2 UICC contains an ISIM herlesupreeth 2020-12-23 09:25:46 +01:00
  • ecbada993d cards: Define ISIM Card class herlesupreeth 2020-12-23 09:24:29 +01:00
  • 3b342c2f14 Re-purpose helper method to be used for parsing Address TLV Object in general Supreeth Herle 2020-03-24 16:15:02 +01:00
  • acc222f9f0 sysmoISIM-SJA2: Enable Service 106 and 107 after successfully programming EF.ePDGId and EF.ePDGSelection Supreeth Herle 2020-03-24 13:26:53 +01:00
  • f964df4eb5 sysmoISIM-SJA2: Add support for programming EF.ePDGSelection (ePDG Selection Information) Supreeth Herle 2020-03-24 13:15:37 +01:00
  • 3a261d31d5 utils.py: Bugfix for parsing non-programmed EFePDGSelection herlesupreeth 2021-01-05 09:20:11 +01:00
  • 5e67d5b80a Readme.md: update apt-get invocation for python3 dep. Joachim Steiger 2020-12-11 19:24:31 +01:00
  • 3b00dbf0d2 make random seed function python3 compatible Jeremy Herbert 2020-10-25 20:56:05 +10:00
  • 95ec772b61 utils.py: Add helper method to encode ePDGSelection info TLV Supreeth Herle 2020-03-24 13:09:03 +01:00
  • 99d55552d5 pySim-read.py: Enable parsing of EF.ePDGSelection in USIM Supreeth Herle 2020-03-24 13:03:43 +01:00
  • 95b4e8d4fa utils.py: Add helper method to parse ePDG Selection info TLV Supreeth Herle 2020-03-24 12:49:16 +01:00
  • 5d8cd9b378 Whitespace fixes Daniel Willmann 2020-10-19 11:01:49 +02:00
  • dd014ea306 Lint fixes: false -> False, missing imports, Index list, not map iter Daniel Willmann 2020-10-19 10:35:11 +02:00
  • 677d41bb41 Remove unnecessary semicolon Daniel Willmann 2020-10-19 10:34:31 +02:00
  • de07b95f84 Fix invocation python2 -> python3 Daniel Willmann 2020-10-19 10:32:34 +02:00
  • 4a3580b4c1 Move reading of USIM service table to generic USIM class herlesupreeth 2020-09-29 10:11:36 +02:00
  • f8232db327 Move reading of ePDG Id to generic USIM class herlesupreeth 2020-09-29 10:03:06 +02:00
  • 5d0a30c19c Move programminig of ePDG Id to generic USIM class herlesupreeth 2020-09-29 09:44:24 +02:00
  • 3409ae7eea Remove redundant hexstr_to_fivebytearr() and hexstr_to_threebytearr() functions herlesupreeth 2020-09-18 15:38:07 +02:00
  • 45fa604834 Use generic function hexstr_to_Nbytearr to convert hex string to 3/5 Bytes array herlesupreeth 2020-09-18 15:32:20 +02:00
  • f394853533 utils.py: Add helper method to convert a hex string into array of N bytes string elements Supreeth Herle 2020-03-24 12:23:51 +01:00
  • d84daa12c2 utils.py: Add helper method to encode Service Table Supreeth Herle 2020-03-24 12:20:40 +01:00
  • dfe3dbb117 pySim-read.py: decode contents of EF.AD (Administrative data) Vadim Yanitskiy 2020-07-28 05:26:02 +07:00
  • a562ea0351 Add new line herlesupreeth 2020-09-16 20:17:22 +02:00
  • 4d9e6beaed Update UST table as per the latest 3GPP TS 31.102 specification Supreeth Herle 2020-03-24 12:13:45 +01:00
  • 8e0fccdbf3 sysmoISIM-SJA2: Add support for programming Home ePDG Identifier Supreeth Herle 2020-03-23 12:10:56 +01:00
  • 71e38482e1 Remove redundant function read_aid() herlesupreeth 2020-09-11 21:18:52 +02:00
  • 1a13c44200 Use the function select_adf_by_aid for selecting an AID herlesupreeth 2020-09-11 21:16:51 +02:00
  • 8016405994 cards.py: Populate AIDs present in SysmoISIMSJA2 UICC Supreeth Herle 2020-03-23 12:06:29 +01:00
  • 0f247f8766 sysmo-isim-sja2: fix test expectations Philipp Maier 2020-09-10 23:11:15 +02:00
  • 46bc6d25d6 HACK: support for SIM factory file formats 1774487638574873733/tmp_refs/heads/sysmocom/factory 1774487638574873733/sysmocom/factory 1774482991813678834/tmp_refs/heads/sysmocom/factory 1774482991813678834/sysmocom/factory 1774482987118020477/tmp_refs/heads/sysmocom/factory 1774482987118020477/sysmocom/factory 1774472144182985726/tmp_refs/heads/sysmocom/factory 1774472144182985726/sysmocom/factory 1774472141501771022/tmp_refs/heads/sysmocom/factory 1774472141501771022/sysmocom/factory sysmocom/factory Harald Welte 2020-03-27 00:28:53 +01:00
  • 1e42420e57 fix 'TabError: inconsistent use of tabs and spaces in indentation' Harald Welte 2020-08-31 15:04:19 +02:00
  • ca6739458e Add support for ADF_USIM/EF_EHPLMN Harald Welte 2020-06-03 15:19:40 +02:00
  • 3c0bd7a41e utils.py: Add helper method to encode ePDG Identifier Supreeth Herle 2020-03-23 11:59:33 +01:00
  • b1634db0b3 pySim-read.py: Enable parsing of Home ePDG Identifier in USIM Supreeth Herle 2020-03-22 10:00:43 +01:00
  • d6a5ec51a8 utils.py: Handle parsing of ePDGId TLV with zero length Supreeth Herle 2020-06-01 12:27:51 +02:00
  • e61170c0eb utils.py add LOCI EFs decode functions Sebastian Viviani 2020-06-03 08:57:00 +01:00
  • 0e9f93fdd6 commands.py: fix read_binary for lengths > 256 Sebastian Viviani 2020-04-17 16:42:09 +01:00
  • 0dc8f69217 ts_31_102.py: add EF_ADF_map Sebastian Viviani 2020-05-29 00:14:55 +01:00
  • 29ca8049d6 Implement Generic SIM Access interface as per 3GPP TS 27.007 Vadim Yanitskiy 2020-05-09 21:23:37 +07:00
  • eb06b45d0e utils: fix list comprehension in h2s(): ignore upper case padding Vadim Yanitskiy 2020-05-10 02:32:46 +07:00
  • d58c632277 cards: remove empty erase() methods. Philipp Maier 2020-05-12 16:47:45 +02:00
  • 5c2cc66de5 cards: add methods to help erasing of file contents Philipp Maier 2020-05-12 16:27:12 +02:00
  • cd3d6268a6 utils: do not crash when all bytes of EF.IMSI are 0xFF Philipp Maier 2020-05-11 21:41:56 +02:00
  • 30eb8ca6aa commands: add features to verify data written to files Philipp Maier 2020-05-11 22:51:37 +02:00
  • 32daaf5470 commands: add method to determine size of a non record oriented file Philipp Maier 2020-05-11 21:48:33 +02:00
  • e8536c04bc pysim-prog: move ADM sanitation to utils.py Philipp Maier 2020-05-11 21:35:01 +02:00
  • 7f9f64ac2a cards: reset uninitalized EF.AD Philipp Maier 2020-05-11 21:28:52 +02:00
  • 7f1d3c496f Treat MCC and MNC as strings, not integers Harald Welte 2020-05-12 21:12:44 +02:00
  • ff84c23839 pySim-prog, pySim-read, do not echo reader id Philipp Maier 2020-05-12 17:24:18 +02:00
  • b689754b49 cards: remove len calculation Philipp Maier 2020-05-11 21:19:20 +02:00
  • fc83e43637 Add option to specify MNC length in non-batch programming scnearios Supreeth Herle 2020-05-06 11:48:46 +02:00
  • 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