Commit Graph

  • 19fffa1db7 Make derive_milenage_opc and calculate_luhn publicly available through utils.py Alexander Chemeris 2018-01-11 13:06:43 +09:00
  • e0d9d88cd5 cards: Add Fairwaves SIM implementation. Alexander Chemeris 2018-01-10 14:18:32 +09:00
  • 8ad124a0b8 cards: Implement card type autodetection based on ATR. Alexander Chemeris 2018-01-10 14:17:55 +09:00
  • 47c73abd04 pySim-prog: Replace magic numbers with a readable EF file name. Alexander Chemeris 2018-01-10 14:10:17 +09:00
  • a51592e180 pySim-prog: ADM code can be longer 8 digits, it's implementation specific. Alexander Chemeris 2018-01-10 14:07:30 +09:00
  • eb6807d3cb cards: Extend Card class with access functions for some of the standard EF files. Alexander Chemeris 2017-07-18 17:04:38 +03:00
  • d2d660a935 Add methods to get ATR for a card or a link. Alexander Chemeris 2017-07-18 16:52:25 +03:00
  • dddbf525da utils: Fix documentation. 3+3=6 digits equals 3 bytes, not 6 Alexander Chemeris 2017-07-18 16:49:59 +03:00
  • a5f0ea6979 utils: Functions to encode/decode EF SPN. Alexander Chemeris 2017-07-18 16:48:47 +03:00
  • 067f69cade ts_51_011: A file with MF/DF/EF constants from TS 51 011 Alexander Chemeris 2017-07-18 16:44:26 +03:00
  • d17ca3ddd8 Fix comment: Ki -> OPC Alexander Chemeris 2017-07-18 16:40:58 +03:00
  • 665bd22fc5 utils.py: dec_imsi: Fix ValueError Pau Espin Pedrol 2017-12-29 20:30:35 +01:00
  • 287b6ce1b4 pySim-prog.py: Fix trailing whitespace Pau Espin Pedrol 2017-12-29 20:48:51 +01:00
  • ac23ad5013 pySim-*.py: Set shebang to use python v2 Pau Espin Pedrol 2017-12-29 20:30:35 +01:00
  • 1d087efc97 Support writing SMSP for sysmoUSIM-SJS1 Daniel Willmann 2017-08-31 10:08:45 +02:00
  • e960488338 fix writing of ICCID for sysmo-usim-sjs1 Philipp Maier 2017-03-21 17:24:31 +01:00
  • 4146086d2f Fix select control parameter Philipp Maier 2017-03-21 12:05:30 +01:00
  • 3ce84d9a44 cosmetic: missing newlines on last line of 2 files Neels Hofmeyr 2017-03-21 13:07:46 +01:00
  • 9b7c45d05d README.md: Cosmetic/Formatting fixes Harald Welte 2017-03-17 22:34:08 +01:00
  • 42b6be8747 Update README with general project information and convert to Markdown Harald Welte 2017-03-17 18:08:09 +01:00
  • 9a1dcea7b3 Revert "Do not return the FCI information while selecting a file" Harald Welte 2016-10-27 14:40:02 +02:00
  • 4e824686f5 re-program: Instead of specifying the IMSI, read it from the card. Holger Hans Peter Freyther 2012-08-15 15:56:05 +02:00
  • d56eb30eea WIP.. EF.auth changes zecke/tmp2 Holger Hans Peter Freyther 2015-11-05 09:35:10 +01:00
  • 8c1b33c439 Do not return the FCI information while selecting a file Jan Balke 2015-01-26 11:18:28 +01:00
  • 3e84067a2b Add provision support for sysmoUSIM-SJS1 cards Jan Balke 2015-01-26 15:36:27 +01:00
  • c3ebd33544 Add PIN-ADM argument to the command line Jan Balke 2015-01-26 12:22:55 +01:00
  • 14b350f3a1 Allow changing the class byte for pdu messages Jan Balke 2015-01-26 11:15:25 +01:00
  • e9e5ecbe30 Introduce a '--dry-run' option to skip actual card access Harald Welte 2012-08-15 15:26:30 +02:00
  • c26b82939f read_params_csv: Make sure we don't end up in endless loop Harald Welte 2012-08-15 15:25:51 +02:00
  • 7f62cecb61 pySim-prog: Add mode where it can re-generate a card from CSV Harald Welte 2012-08-13 20:07:41 +02:00
  • 130524b719 split parameter writing for CSV and SQL into separate functions Harald Welte 2012-08-13 15:53:43 +02:00
  • 533a0dce3a Add provision support for sysmoUSIM-SJS1 cards Jan Balke 2015-01-26 15:36:27 +01:00
  • 29474b0d5b Add PIN-ADM argument to the command line Jan Balke 2015-01-26 12:22:55 +01:00
  • 800c9eb097 Do not return the FCI information while selecting a file Jan Balke 2015-01-26 11:18:28 +01:00
  • 73b686f7ee Allow changing the class byte for pdu messages Jan Balke 2015-01-26 11:15:25 +01:00
  • 1f81cbf1f0 ccc: Fix SMSP generation in CCC tool as well ccc Sylvain Munaut 2011-12-27 01:30:47 +01:00
  • 487d01833d 27c3: Add a ccc-fix script to correct bad SMSP file ... Sylvain Munaut 2010-12-26 21:31:24 +01:00
  • 33339a6daa Import of the programming tool Sylvain Munaut 2010-12-26 01:01:21 +01:00
  • 93ec5f3566 Initial add of 27C3 HLR management tools Sylvain Munaut 2010-12-26 00:11:19 +01:00
  • 2fc205ceb9 cards: sysmocom SysmoSIM-GR2 support added to cards Sylvain Munaut 2013-12-23 17:22:56 +01:00
  • 9f13897408 pySim-read: MISDN is not mandatory Sylvain Munaut 2013-07-18 10:36:51 +02:00
  • 7be92ff5d2 Move encoder functions for ICCID, IMSI and PLMN to pySim.utils for consistency. Alexander Chemeris 2013-07-10 11:18:06 +04:00
  • 6e58914746 Add an utility to read data from a SIM card. Alexander Chemeris 2013-07-04 17:34:06 +04:00
  • 5e96c3d910 utils: Add functions to decode IMSI and ICCID from EF raw data. Alexander Chemeris 2013-07-04 17:33:33 +04:00
  • 21885249cf Implement setting of EF.ACC file in GrcardSim and _MagicSimBase Alexander Chemeris 2013-07-02 16:56:55 +04:00
  • 5da8d4e0d4 cards: Fix spacing according to PEP Sylvain Munaut 2013-07-02 15:13:24 +02:00
  • 053c89578c cards: Fix comment position Sylvain Munaut 2013-07-02 15:12:32 +02:00
  • 44e4636755 re-program: Instead of specifying the IMSI, read it from the card. zecke/hacks Holger Hans Peter Freyther 2012-08-15 15:56:05 +02:00
  • 93315bd466 Introduce a '--dry-run' option to skip actual card access Harald Welte 2012-08-15 15:26:30 +02:00
  • 69c2ce2525 read_params_csv: Make sure we don't end up in endless loop Harald Welte 2012-08-15 15:25:51 +02:00
  • 8b59a55488 pySim-prog: Add mode where it can re-generate a card from CSV Harald Welte 2012-08-13 20:07:41 +02:00
  • 1d5968cfcf split parameter writing for CSV and SQL into separate functions Harald Welte 2012-08-13 15:53:43 +02:00
  • cca41795a7 usim/opc: Derive OPC from KI and OP Holger Hans Peter Freyther 2012-03-22 15:23:14 +01:00
  • 93b38cd0f5 usim/opc: Add support to write completely random OPC Harald Welte 2012-03-22 14:31:36 +01:00
  • 4d91bf449f sysmoUSIM-GR1: Add basic (hacky) support for the sysmoUSIM-GR1 Holger Hans Peter Freyther 2012-03-22 14:28:38 +01:00
  • 8ca49e9ca8 cards: SMSP is left padded not right padded Sylvain Munaut 2011-12-10 09:57:50 +01:00
  • 9977c86e96 pySim-prog: Fix SMSC 'number type' field to 0x81 Sylvain Munaut 2011-12-10 09:57:16 +01:00
  • 607ce2a029 Fix computation of SMSP from a SMSC number Sylvain Munaut 2011-12-08 20:16:43 +01:00
  • 1a914439b8 Whitespace fixes Sylvain Munaut 2011-12-08 20:08:26 +01:00
  • e10394bfb6 Add sysmoSIM-GR1 as alias to grcardsim Harald Welte 2011-12-07 12:34:14 +01:00
  • 2c0ff3a167 correctly compute the ICCID (19 digits, including luhn checksum) Harald Welte 2011-12-07 12:34:13 +01:00
  • 5dffefbf0c pySim-prog.py: pyflakes doesn't find Importerror.. Holger Hans Peter Freyther 2011-11-22 21:18:06 +01:00
  • 50e7c03816 README: Mention the necessary wait_for_card Holger Hans Peter Freyther 2011-07-27 08:55:18 +02:00
  • 3156d9073f cards: Add support for grcard.cn (Green Card) SIM cards Harald Welte 2011-03-22 21:48:19 +01:00
  • 982a3075f9 commands: Check SW for UPDATE BIN / UPDATE REC / VERIFY CHV Harald Welte 2011-03-22 21:47:20 +01:00
  • 454bd52572 27c3: Add a ccc-fix script to correct bad SMSP file ... 27c3 Sylvain Munaut 2010-12-26 21:31:24 +01:00
  • be6f44dc14 Import of the programming tool Sylvain Munaut 2010-12-26 01:01:21 +01:00
  • 4876712f90 Initial add of 27C3 HLR management tools Sylvain Munaut 2010-12-26 00:11:19 +01:00
  • 530076ebba commands: Fix bug in verify_chv. Sylvain Munaut 2010-12-23 20:28:58 +01:00
  • 9f120e0169 pySim-prog: Fix insertion of Ki in HLR. Need to escape like DBI does it Sylvain Munaut 2010-12-23 20:28:24 +01:00
  • 8d243e8847 pySim-prog: Fix crash when using manuam imsi/iccid/kc Sylvain Munaut 2010-12-23 20:27:48 +01:00
  • 98d2b85a97 pySim-prog: Check that batch mode is used with auto parameters Sylvain Munaut 2010-12-23 20:27:25 +01:00
  • 8f7d3ba8ba pySim-prog: Change logic to support batch programming Sylvain Munaut 2010-12-09 13:32:48 +01:00
  • bdca252fb0 transport: Change transport api to allow for wait_for_card/connect/disconnect Sylvain Munaut 2010-12-09 13:31:58 +01:00
  • 9c8729a2d1 pySim-prog: Fix pcsc device selection and link creation Sylvain Munaut 2010-12-08 23:20:27 +01:00
  • 245d534962 transport/pcsc: Remove obsolete/debug code Sylvain Munaut 2010-12-08 22:42:07 +01:00
  • 143e99d1c6 pySim-prog: Add options to save generated parameters to CVS or OpenBSC HLR Sylvain Munaut 2010-12-08 22:35:04 +01:00
  • 1771603806 pySim-prog: Show default for mnc in help mode Sylvain Munaut 2010-12-08 22:33:51 +01:00
  • e9fdecb38b pySim-prog: Group option for serial (dev & baud) together Sylvain Munaut 2010-12-08 22:33:19 +01:00
  • e7c15cd088 transport: Put common methods in LinkBase class Sylvain Munaut 2010-12-07 10:01:55 +01:00
  • 76504e0a6e Split all things into a more "library-like" package Sylvain Munaut 2010-12-07 00:24:32 +01:00
  • be17997e55 Add a internal h2i purely for symmetry :) Sylvain Munaut 2010-12-06 20:07:22 +01:00
  • 6576ce1886 Add command to submit the CHV (pin code) Sylvain Munaut 2010-12-06 20:00:27 +01:00
  • 6dc5145663 pySim: Add support for PC/SC readers Harald Welte 2010-11-23 01:28:44 +01:00
  • 63722fd99b Fix format for 'SuperSim' Sylvain Munaut 2009-12-27 10:29:05 +01:00
  • 36f7a2d60b Reset the card after formatting and auto-detect Sylvain Munaut 2009-12-27 10:28:47 +01:00
  • 995c398c13 Add README, COPYING, .gitignor Sylvain Munaut 2009-12-27 09:43:51 +01:00
  • 0d1e63a978 Initial import Sylvain Munaut 2009-12-27 09:27:57 +01:00