Commit Graph

  • 9e42e7ffce profile: decode_select_response use object instead 'Any' Philipp Maier 2021-11-16 15:46:42 +01:00
  • 5998a3a8b3 profile: decode_select_response can be a static method Philipp Maier 2021-11-16 15:16:39 +01:00
  • 825b564115 pySim-shell: export command: guess number of records when not specified Philipp Maier 2021-11-10 17:36:26 +01:00
  • f1fc619b2d commands: use send_apdu_checksw() in method read_record Philipp Maier 2021-11-11 12:06:21 +01:00
  • 4ab971c62e ts_51_011: move _decode_select_response into profile class Philipp Maier 2021-11-11 11:53:49 +01:00
  • a028c7d7aa pySim-shell: add method to match card profile to card Philipp Maier 2021-11-08 16:12:03 +01:00
  • 055b80aa5c pySim-read: do not select ADF.ISIM again Philipp Maier 2021-11-18 10:33:57 +01:00
  • 46c6154e9d cards: select_adf_by_aid: split off aid completion Philipp Maier 2021-11-16 16:36:50 +01:00
  • 95ce6b1708 ARA-M related command support Harald Welte 2021-10-20 18:40:54 +02:00
  • a4df942fe6 ts_51_011: add status word definition Philipp Maier 2021-11-10 17:13:40 +01:00
  • 6b590c5483 filesystem: CardProfile: initialize empty sw table as empty dict Philipp Maier 2021-11-10 16:38:40 +01:00
  • 51cad0d234 filesystem: define class byte and select control bytes in profile Philipp Maier 2021-11-08 15:45:10 +01:00
  • 4e2e1d9fd3 filesystem: make sure the card is in a defined state Philipp Maier 2021-11-08 15:36:01 +01:00
  • d454fe7843 filesystem: do not read AIDs when no apps are defined Philipp Maier 2021-11-08 15:32:23 +01:00
  • 5af7bdf5c7 filesystem: fix decode_select_response Philipp Maier 2021-11-04 12:48:41 +01:00
  • 9764de202b pySim-shell: print newline on exit with CTRL+D Philipp Maier 2021-11-03 10:44:39 +01:00
  • e087f909b3 commands: return none, when offset exceeds file length Philipp Maier 2021-11-03 11:46:05 +01:00
  • 712251a6e0 commands: complete documentation strings Philipp Maier 2021-11-04 17:09:37 +01:00
  • 1db33115ea utils: cosmetic: remove stray comment Philipp Maier 2021-11-05 16:56:23 +01:00
  • 796ca3daf9 commands: do not check SW manually, use send_apdu_checksw() Philipp Maier 2021-11-01 17:13:57 +01:00
  • fc769e2fdb contrib/jenkins.sh: make pylint warn about unnecessary semicolon Vadim Yanitskiy 2021-11-05 16:05:20 +03:00
  • dbd5ed64d7 Python is not C: get rid of unnecessary semicolons Vadim Yanitskiy 2021-11-05 16:20:52 +03:00
  • 23198c4e90 sim-rest-server: Add example systemd service/unit file Harald Welte 2021-11-03 12:48:58 +01:00
  • df3d01bedc sim-rest-client: Add support for 'info' command to get IMSI+ICCID Harald Welte 2021-11-03 12:33:42 +01:00
  • 33f8da8a52 sim-rest-server: Add capability to obtain IMSI + ICCID of card Harald Welte 2021-11-03 12:14:50 +01:00
  • 7a401a24bb sim-rest-client: Errors are plain text, not JSON Harald Welte 2021-11-03 12:14:14 +01:00
  • c8387dc031 ts_51_011: implement CardProfileSIM as a class Philipp Maier 2021-10-29 17:59:50 +02:00
  • 946226a5d1 filesystem: fix reset mechanism Philipp Maier 2021-10-29 18:31:03 +02:00
  • 30b225f3bf cards: add method to modify APDU parameters (cla, sel_ctrl) Philipp Maier 2021-10-29 16:41:46 +02:00
  • 51e4cb7a8f commands: use python style commends to describe methods Philipp Maier 2021-10-29 16:48:31 +02:00
  • 305e1f8ee4 cards: use python style commends to describe methods Philipp Maier 2021-10-29 16:35:22 +02:00
  • bd02f84fbd pySim-shell: Improve documentation Harald Welte 2021-10-21 14:40:39 +02:00
  • 9a75410a88 utils: Fix BER-TLV tag decode for multi-byte tags Harald Welte 2021-10-21 13:46:59 +02:00
  • 5895380a45 tlv: Fix recursive initialization from_dict() Harald Welte 2021-10-21 11:33:44 +02:00
  • 04c1302b68 tlv: Don't require encoder/decoder methods for TLV without value Harald Welte 2021-10-21 10:02:10 +02:00
  • 0bc5326b76 pySim-shell: Use iteration when unregistering command sets Harald Welte 2021-10-20 14:24:41 +02:00
  • ec95053249 pySim-shell: Add suspend_uicc command Harald Welte 2021-10-20 13:09:00 +02:00
  • 2a33ad2c49 pySim-shell: Add support for GSM-R SIM Cards with DF.EIRENE Harald Welte 2021-10-20 10:14:18 +02:00
  • 76667644ea pySim-shell: add bulk provisioning support Philipp Maier 2021-09-22 16:53:22 +02:00
  • 57f65eedfc ts_31_10x: add a class for CardApplicationXSIM Philipp Maier 2021-10-18 14:09:02 +02:00
  • 9b227de719 pySim-shell: add example script to dump authentication config Harald Welte 2021-10-15 21:19:38 +02:00
  • eb45838c47 sysmocom_sja2: Properly decode EF.USIM_SQN freshness Harald Welte 2021-10-16 10:44:23 +02:00
  • 7a8aa863a6 ts_51_011: Add encoder for EF.SST Harald Welte 2021-10-14 20:46:19 +02:00
  • 611dd783f6 commands: Fix read_binary() for non-zero offset Harald Welte 2021-10-14 20:44:23 +02:00
  • b52feede25 pySim-shell: add echo command Philipp Maier 2021-09-22 16:43:13 +02:00
  • 5d698e575a pySim-shell: allow card insertion at runtime Philipp Maier 2021-09-16 13:18:01 +02:00
  • 3c309886e9 ts_51_011: fix select response decoder Philipp Maier 2021-10-14 17:55:04 +02:00
  • 80901d6d39 commands: fix update_binary() with non-zero offset Harald Welte 2021-10-14 19:13:08 +02:00
  • 4c1dca04a5 CardModel: Document how this 'magic' works in some comments. Harald Welte 2021-10-14 17:48:25 +02:00
  • f898c28284 51.011: Fix EF_SST decoder for services > table description Harald Welte 2021-10-14 16:13:23 +02:00
  • 1aae4a0b88 filsystem: Make NotImplementedError more verbose. Harald Welte 2021-10-14 16:12:42 +02:00
  • 7cb94e4193 USIM: Add ENVELOPE and ENVELOPE-SMS shell commands Harald Welte 2021-10-08 15:47:57 +02:00
  • 846a898ee0 Add API + shell command for sending TERMINAL PROFILE to card Harald Welte 2021-10-08 15:47:16 +02:00
  • f44256c7df pysim-Shell: Add sysmocom SJA2 card specific bits Harald Welte 2021-10-14 15:53:39 +02:00
  • 9edbdb93f7 cat: Fix SMS/ENVELOPE related IE tag definitions Harald Welte 2021-10-08 15:46:42 +02:00
  • f235954ebb cat: Add more terminal profile bitmask definitions Harald Welte 2021-10-08 15:46:25 +02:00
  • 6477309107 cards: remove "auto_once" from possible ctype options Philipp Maier 2021-10-05 14:42:01 +02:00
  • 913e6166d8 card_handler: clean-up Harald Welte 2021-10-11 10:55:00 +02:00
  • 2bc21316e5 cards: remove unused function card_autodetect() Philipp Maier 2021-10-05 14:53:12 +02:00
  • ea95c39cdc pySim-shell: refactor __main__ section Philipp Maier 2021-09-16 13:10:19 +02:00
  • 64b28378bc cards: FairwavesSIM: force SIM APDUs during programming Philipp Maier 2021-10-05 13:58:25 +02:00
  • c5501af9a8 pySim-prog: fix typo Philipp Maier 2021-10-01 12:06:02 +02:00
  • f0241451d3 pySim-shell: verify_adm: turn error messages into exceptions Philipp Maier 2021-09-22 16:35:55 +02:00
  • 48e1b90eb8 card_handler: make reader (sl) operations optional. Philipp Maier 2021-09-17 13:22:32 +02:00
  • 8bf2125a19 transport/pcsc: make sure reader is disconnected Philipp Maier 2021-09-22 15:30:21 +02:00
  • 7328f10165 transport/init: print exception type if the execption has no string Philipp Maier 2021-09-21 10:12:48 +02:00
  • af0f086497 pySim-prog: rename card_handler option to card_handler_config Philipp Maier 2021-09-17 17:29:46 +02:00
  • a8c9ea9cc7 pySim-shell: move command desc and verify_adm to PySimCommands Philipp Maier 2021-09-16 12:51:46 +02:00
  • b18eed072c pySim-prog: rename card_handler to CardHandler Philipp Maier 2021-09-17 12:35:58 +02:00
  • 82511e5218 pySim-prog: rename variable card_handler Philipp Maier 2021-09-17 13:38:36 +02:00
  • c3927ec580 update readme detail about cmd2 - make sure people get 1.5 from pip instead of some old debian-pkg Joachim Steiger 2021-08-27 17:14:52 +02:00
  • 465ad32097 Use README.md as long description in package metadata andrew-ma 2021-08-03 08:34:57 -07:00
  • 2e6dc03f34 Allow update_binary function to write more than 255 bytes andrew-ma 2021-07-31 22:18:24 -07:00
  • bb73e516cb cards: rename class "Card" to "SimCard" Philipp Maier 2021-05-05 16:14:00 +02:00
  • f201166999 pySim/commands: Add envelope() method for ENVELOPE command Harald Welte 2021-05-24 23:19:30 +02:00
  • 14105dce99 implement more files with TLV + construct Harald Welte 2021-05-31 08:48:51 +02:00
  • 592b32ec91 ts_31_102: Fully support USIM EF.AD Harald Welte 2021-06-05 11:26:36 +02:00
  • f12979dd58 ts_31_102: Start using pySim.tlv to implement more DF.5GS files Harald Welte 2021-05-29 21:47:13 +02:00
  • 1a4e9fd163 cmd2: Constrain version to >= 1.3.0 but < 2.0.0 Harald Welte 2021-06-11 23:45:26 +02:00
  • fb50621570 filesystem: Introduce support for TLV parser Harald Welte 2021-05-29 21:28:24 +02:00
  • bb3b5df8bf Introduce new object-oriented TLV parser/decoder/encoder Harald Welte 2021-05-24 23:15:54 +02:00
  • 8f892fbbe8 ts_102_221: Add construct for contents of EF.UMPC Harald Welte 2021-06-05 10:12:43 +02:00
  • 07c7b1f592 construct: Recursive normalization of construct parse result Harald Welte 2021-05-28 22:01:29 +02:00
  • 7fca85b42c utils: Make filter_dict() transparently pass non-dict Harald Welte 2021-05-29 21:27:46 +02:00
  • f0885b1042 utils: Add bertlv_encode_tag() Harald Welte 2021-05-24 23:18:59 +02:00
  • 6912b1b67d utils: Add 'raw' version of TLV tag decoders Harald Welte 2021-05-24 23:16:44 +02:00
  • 9f3b44d6ff utils: COMPREHENSION-TLV support Harald Welte 2021-05-04 18:18:09 +02:00
  • 485692bc77 shell: Fix activate_file + deactivate_file commands Harald Welte 2021-05-25 22:21:44 +02:00
  • 34b05d3707 shell: Add 'status' command to issue STATUS APDU Harald Welte 2021-05-25 22:03:13 +02:00
  • 8dfd6d070f transport: Add support for SW 6Cxx Harald Welte 2021-05-25 21:54:45 +02:00
  • e7506036bd Introduce unit test for bertlv_parse_one() Harald Welte 2021-05-21 21:48:11 +02:00
  • c1475307c8 bertlv_parse_one: Also return remainder after end of TLV Harald Welte 2021-05-21 21:47:55 +02:00
  • de02718631 add unit tests for BER-TLV encoder/decoder functions Harald Welte 2021-05-04 20:06:45 +02:00
  • c781ab85bc contrib: Add sim-rest-{server,client}.py Harald Welte 2021-05-23 11:50:19 +02:00
  • 0f96c02815 commands: remove superfluous getter/setter for cla_byte property Harald Welte 2021-05-23 14:07:23 +02:00
  • 951f263de7 commands: resolve inconsistency on sel_ctrl Harald Welte 2021-05-23 14:04:51 +02:00
  • 5933c3b88d pySim-read: adjust meaning of HPLMN/OPLMN flags in EF_SPN Robert Falkenberg 2021-05-17 18:24:23 +02:00
  • 86b09da61d ts_31_103: finish decoder and fix encoder for EF.PCSCF Philipp Maier 2021-04-30 15:13:57 +02:00
  • be18f2a419 utils: split string formatting from dec_addr_tlv Philipp Maier 2021-04-30 15:00:27 +02:00
  • 42804d7803 commands: pad short data input in update_record() Philipp Maier 2021-04-30 11:56:23 +02:00