Commit Graph

  • 59f9a38623 commands: check for status word in USIM authenticate command Harald Welte 2021-05-22 00:17:26 +02:00
  • 2db843e7b5 transport/pcsc: Raise exception if reader number is out of range Harald Welte 2021-05-21 22:51:28 +02:00
  • fc5f28db3b cards: populate name property in Card, UsimCard and IsimCard Philipp Maier 2021-05-05 12:18:41 +02:00
  • e2c59a8b91 pySim_prog: remove unused import for dec_addr_tlv Philipp Maier 2021-04-30 14:57:41 +02:00
  • f658c55745 Update README Robert Falkenberg 2021-05-17 18:08:45 +02:00
  • b07a3e9c87 Add codecs for EF_SPN and GSM strings via construct Robert Falkenberg 2021-05-07 15:23:20 +02:00
  • c957ce8adc ts_51_011: fix encoder of EF_SPN: Philipp Maier 2021-04-29 17:20:18 +02:00
  • 90f7497d6d ts_102_221: add missing TLV key '9B'/'target_ef' for sysmoUSIM-SJS1 Robert Falkenberg 2021-05-06 09:57:37 +02:00
  • dddcc60f2d ModemATCommandLink: improve response time for "+CME ERROR" Robert Falkenberg 2021-05-06 09:55:57 +02:00
  • 7cb7c78ca8 ModemATCommandLink: add/adjust some logging Robert Falkenberg 2021-05-06 09:52:31 +02:00
  • e5a5ffb44f ModemATCommandLink: return lower case hexstring Robert Falkenberg 2021-05-06 09:50:43 +02:00
  • 4210a7001d pySim-read: fix wrong comment Philipp Maier 2021-05-05 14:17:59 +02:00
  • 7743c20d2a docs/shell.rst: Document verify_adm and tree commands Harald Welte 2021-05-03 23:30:11 +02:00
  • 903bdaaca8 transport: Mark more methods as abstractmethod Harald Welte 2021-05-03 22:58:53 +02:00
  • daf2b392f0 shell: Add 'reset' command to reset the card Harald Welte 2021-05-03 23:17:29 +02:00
  • 917d98c1a5 BER-TLV EF support (command, filesystem, shell) Harald Welte 2021-04-21 11:51:25 +02:00
  • fc4833ec20 ts_31_103: Use EF_ARR decoder from TS 102 221 Harald Welte 2021-05-02 21:46:06 +02:00
  • 4ae228afc7 Implement EF.ARR (Access Rule Reference) decoding Harald Welte 2021-05-02 21:29:04 +02:00
  • 90441436a0 utils: Introduce CommandSet abstraction Harald Welte 2021-05-02 21:28:12 +02:00
  • 3de6ca2d20 utils: Introduce DataObject representation Harald Welte 2021-05-02 20:05:56 +02:00
  • f39a4cb369 utils: specify type of parameter name in enc_spn Philipp Maier 2021-04-29 17:14:43 +02:00
  • e7d417955d ts_51_011, utils: fix Access Technology Identifier coding Philipp Maier 2021-04-29 16:20:07 +02:00
  • b919f8bd75 utils: fix dec_xplmn_w_act() and format_xplmn_w_act() Philipp Maier 2021-04-27 18:28:27 +02:00
  • 6c5cd8031d utils: fix mcc/mnc encoding in dec_plmn (EF_PLMNsel) Philipp Maier 2021-04-23 21:19:36 +02:00
  • e6f8d683e1 utils: specify paremeters of enc_plmn() as Hexstr Philipp Maier 2021-04-23 21:14:41 +02:00
  • 52efc0372c ModemATCommandLink: fix AttributeError exception in __del__() Vadim Yanitskiy 2021-05-02 23:07:38 +02:00
  • 18fb82bd38 Speed up AT command interface (~130 times faster) Robert Falkenberg 2021-05-02 10:21:23 +02:00
  • e9fe09baff contrib/jenkins.sh: run pylint to find potential errors Vadim Yanitskiy 2021-05-02 01:46:55 +02:00
  • 895fa6f83c [pylint] Fix referencing undefined variable 'shutil' Vadim Yanitskiy 2021-05-02 02:36:44 +02:00
  • e8c34ca3e2 [pylint] Declare abstract LinkBase._send_apdu_raw() method as such Vadim Yanitskiy 2021-05-02 02:29:52 +02:00
  • eb395867ab [pylint] Fix float vs integer division in cards.py Vadim Yanitskiy 2021-05-02 02:23:48 +02:00
  • 5e41eeb6fa [pylint] Fix reference to undefined variable 'in_hex' Vadim Yanitskiy 2021-05-02 02:20:33 +02:00
  • 85302d6757 [pylint] Mark abstract MagicSimBase class as such Vadim Yanitskiy 2021-05-02 02:18:42 +02:00
  • d9a8d2fc43 [pylint] Fix calling non-existing iteritems() of dict Vadim Yanitskiy 2021-05-02 02:12:47 +02:00
  • 03c67f775b [pylint] Declare some fields in _MagicSimBase class Vadim Yanitskiy 2021-05-02 02:10:39 +02:00
  • 5ef1650696 [pylint] Mark abstract CardKeyProvider.get() method as such Vadim Yanitskiy 2021-05-02 01:52:56 +02:00
  • 1a95d2be61 [pylint] fix non-existing 'res' in EF_CNL._encode_record_hex() Vadim Yanitskiy 2021-05-02 01:42:09 +02:00
  • 8e15c18498 transport/AT: Make sure PDU has upper case hex digits Robert Falkenberg 2021-05-01 08:07:27 +02:00
  • f9cbe090e4 ts_51_011: fix encoding of EF.MSISDN Philipp Maier 2021-04-23 19:37:36 +02:00
  • 0f1862799f setup: set minimum required versions for contruct and cmd2 Martin Hauke 2021-04-30 14:43:44 +02:00
  • 278816251d filesystem.py: Introduce place-holder for BER-TLV files Harald Welte 2021-04-21 11:16:31 +02:00
  • 71290077b9 ts_31_102, ts_31_103: Add EF.FromPreferred Harald Welte 2021-04-21 10:58:24 +02:00
  • 16ec96a0c9 ts_31_103: Add Rel 16.6 enhancements (MuDMiDConfigData) Harald Welte 2021-04-21 10:46:19 +02:00
  • 35dfe826c0 ts_31_103: Use EF_SMS, EF_SMSS, EF_SMSR, EF_SMSP from ts_51_011 Harald Welte 2021-04-21 10:50:12 +02:00
  • 3990ebb810 ts_31_102: Define DF_WLAN, DF_ProSe and DF_HNB with their EFs Harald Welte 2021-04-20 23:55:14 +02:00
  • 2f831035ef ts_31_102: Extend DF_5GS to 3GPP 31.102 R16.6 Harald Welte 2021-04-20 23:54:53 +02:00
  • b46cb3ffa2 utils: fix encoding of EF.MSISDN Philipp Maier 2021-04-20 22:38:21 +02:00
  • 977035c429 filsystem.py: Add more information to exceptions Harald Welte 2021-04-21 11:01:26 +02:00
  • 8fe1d202c7 pySim-read: Migrate over to use shared argparse from transport Harald Welte 2021-04-11 12:31:40 +02:00
  • 28c2431f9c Move reader related argument parser to transport module Harald Welte 2021-04-11 12:19:36 +02:00
  • fe1fb037b5 filesystem: fix wrong helpstring for update_record_decoded Philipp Maier 2021-04-20 22:33:12 +02:00
  • 0adabf6161 filesystem: fix wrong comment Philipp Maier 2021-04-20 22:36:41 +02:00
  • 80ce71f58c pySim-shell: separate export summary with a headline Philipp Maier 2021-04-19 21:24:23 +02:00
  • 04be9d6033 pysim-testdata/sysmoISIM-SJA2: change card in test rig Philipp Maier 2021-04-21 12:13:54 +02:00
  • bba2bd4348 setup: add (nested) library pySim.transport Robert Falkenberg 2021-04-16 12:43:11 +02:00
  • 9d16fbca4a Use construct for EF_AD in pySim-{shell, prog, read}.py, cards.py Robert Falkenberg 2021-04-12 11:43:22 +02:00
  • c8ff026782 pySim-shell: Introduce logical grouping of arguments Harald Welte 2021-04-11 12:06:13 +02:00
  • f2e761ce20 pySim-shell: Migrate from optparse to argparse for the main() Harald Welte 2021-04-11 11:56:44 +02:00
  • e4759fd5cd contrib/jenkins.sh: Build and publish PDF manual Harald Welte 2021-04-11 10:58:30 +02:00
  • 348c195e97 rename manual to be consistent with osmo-gsm-manuals projects Harald Welte 2021-04-11 10:58:14 +02:00
  • c9cdce3e02 fix various typos all over the code Harald Welte 2021-04-11 10:28:28 +02:00
  • 790b2709bd lots of file definitions for classic SIM and USIM Harald Welte 2021-04-11 00:01:35 +02:00
  • 9853e247a2 ts_31_102.py: switch EF.Keys from imperative to declarative codec Harald Welte 2021-04-10 19:08:25 +02:00
  • 2db5cfb525 filesystem: Introduce 'construct' support Harald Welte 2021-04-10 19:05:37 +02:00
  • 703f933b40 pySim-shell: Add open_channel + close_channel commands Harald Welte 2021-04-10 18:39:32 +02:00
  • a463161ae2 pySim-shell: Adds support for DEACTIVATE FILE + ACTIVATE FILE Harald Welte 2021-04-10 18:17:55 +02:00
  • 15fae98d2e pySim-shell: Authenticate (3g) support Harald Welte 2021-04-10 10:22:27 +02:00
  • e0f9ef1606 integrate 'construct' python library Harald Welte 2021-04-10 17:22:35 +02:00
  • d0505bdb55 WIP: Add option to set UE operation mode in EF_AD (Administrative Data) Robert Falkenberg 2021-02-24 14:06:18 +01:00
  • 08028d02dc README.md: Mention user manual Harald Welte 2021-04-11 11:21:00 +02:00
  • 11ee243c47 README.md: We have switched to gerrit for review Harald Welte 2021-04-11 11:19:44 +02:00
  • e7887d7af5 README.md: Update dependencies Harald Welte 2021-04-11 11:19:29 +02:00
  • edee155773 setup.py: add missing comma in list of dependencies Harald Welte 2021-04-10 17:21:19 +02:00
  • b00e893e73 pySim-shell: Use poutput_json() whenever applicable Harald Welte 2021-04-10 17:19:13 +02:00
  • 5e749a79ac extend JSONEncoder to serialze 'bytes' style objects as hex strings Harald Welte 2021-04-10 17:18:17 +02:00
  • 7829d8a357 shell: Add 'apdu_trace' settable parameter for hex-dumping APDUs Harald Welte 2021-04-10 11:28:53 +02:00
  • eb05b2f60e transport: Pass arbitrary kwargs to base-class constructor Harald Welte 2021-04-10 11:01:56 +02:00
  • c34f9405f1 transport: Make all calls go through base class send_apdu_raw() Harald Welte 2021-04-10 10:55:24 +02:00
  • 4145d3c4af shell: add edit_{record,binary}_decoded shell commands Harald Welte 2021-04-08 20:34:13 +02:00
  • fe8a74490a pySim/filesystem: Fix more Python 3.5 compatibility issues Harald Welte 2021-04-10 11:51:54 +02:00
  • 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