aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/utils.py
AgeCommit message (Expand)AuthorFilesLines
2022-02-11utils: Fix missing Optional[] in type annotationsHarald Welte1-3/+3
2022-02-11cosmetic: Switch to consistent four-spaces indent; run autopep8Harald Welte1-979/+1075
2022-02-10utils.py: Fix some tuple type annotationsHarald Welte1-2/+2
2022-02-10utils.py: type annotations for DataObject related methodsHarald Welte1-29/+31
2022-02-09avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor'Harald Welte1-0/+1
2022-01-22add missing bit definition for NG-RAN in xAcTBjoern Riemer1-0/+1
2021-11-19pySim-shell: add method to match card profile to cardPhilipp Maier1-0/+4
2021-11-05utils: cosmetic: remove stray commentPhilipp Maier1-1/+0
2021-11-05commands: do not check SW manually, use send_apdu_checksw()Philipp Maier1-0/+15
2021-11-05Python is not C: get rid of unnecessary semicolonsVadim Yanitskiy1-2/+2
2021-10-21utils: Fix BER-TLV tag decode for multi-byte tagsHarald Welte1-1/+2
2021-05-30utils: Add bertlv_encode_tag()Harald Welte1-0/+45
2021-05-29utils: Add 'raw' version of TLV tag decodersHarald Welte1-0/+52
2021-05-29utils: COMPREHENSION-TLV supportHarald Welte1-0/+44
2021-05-25bertlv_parse_one: Also return remainder after end of TLVHarald Welte1-2/+4
2021-05-25add unit tests for BER-TLV encoder/decoder functionsHarald Welte1-1/+1
2021-05-23utils: split string formatting from dec_addr_tlvPhilipp Maier1-5/+6
2021-05-10Add codecs for EF_SPN and GSM strings via constructRobert Falkenberg1-11/+17
2021-05-04BER-TLV EF support (command, filesystem, shell)Harald Welte1-0/+83
2021-05-04utils: Introduce CommandSet abstractionHarald Welte1-0/+66
2021-05-03utils: Introduce DataObject representationHarald Welte1-0/+305
2021-05-03utils: specify type of parameter name in enc_spnPhilipp Maier1-1/+1
2021-05-03ts_51_011, utils: fix Access Technology Identifier codingPhilipp Maier1-1/+14
2021-05-03utils: fix dec_xplmn_w_act() and format_xplmn_w_act()Philipp Maier1-5/+5
2021-05-03utils: fix mcc/mnc encoding in dec_plmn (EF_PLMNsel)Philipp Maier1-5/+40
2021-05-03utils: specify paremeters of enc_plmn() as HexstrPhilipp Maier1-1/+1
2021-04-23utils: fix encoding of EF.MSISDNPhilipp Maier1-2/+12
2021-04-21pySim-shell: separate export summary with a headlinePhilipp Maier1-0/+12
2021-04-11fix various typos all over the codeHarald Welte1-1/+1
2021-04-10extend JSONEncoder to serialze 'bytes' style objects as hex stringsHarald Welte1-0/+10
2021-04-06utils.py: Add missing dec_plmn function.Harald Welte1-0/+6
2021-04-04utils.py: Add more type annotationsHarald Welte1-30/+33
2021-04-04Move init_reader() from utils.py to transport/__init__.pyHarald Welte1-27/+0
2021-04-03cosmetic: fix typo in commentHarald Welte1-1/+1
2021-04-02filesystem: fix various issues found by mypyHarald Welte1-1/+1
2021-04-02Add more documentation to the classes/methodsHarald Welte1-16/+48
2021-03-23utils: fix sw_match()Philipp Maier1-2/+3
2021-03-18pySim-shell: add "dir" command.Philipp Maier1-0/+22
2021-03-12utils: add is_hex function to check hex stringsPhilipp Maier1-0/+22
2021-03-12pySim/utils.py: fix 3-digit MNC encoding in enc_plmn()Vadim Yanitskiy1-2/+2
2021-03-12Revert "utils.py: Fix for parsing MNC"Vadim Yanitskiy1-3/+3
2021-03-07Python 2 is deprecated, remove backwards compatibility chunksDenis 'GNUtoo' Carikli1-8/+1
2021-03-05pySim/utils.py: Attempt to support pycryptodpmeHarald Welte1-1/+1
2021-03-05fix TypeError in derive_milenage_opc()Harald Welte1-3/+5
2021-03-03start using python3 bytearray for our b2h/h2b typesHarald Welte1-7/+11
2021-03-02move SW matching to a generic utility functionHarald Welte1-0/+14
2021-03-02utils.py: de-couple sanitize_pin_adm from argparse 'opts'Harald Welte1-9/+7
2021-03-01Remove Python shebang from files where it's not neededVadim Yanitskiy1-1/+0
2021-02-25utils: catch exceptions during reader initalitationPhilipp Maier1-18/+22
2021-02-11utils.py: Fix for parsing MNCherlesupreeth1-3/+3