Commit Graph

140 Commits

Author SHA1 Message Date
Gerrit Code Review
a8df8f3fdb Update notes for submitted changes
* ts_31_102: Fix decode_select_response() for DF.5GS
2021-04-02 19:10:07 +00:00
Gerrit Code Review
55c32a9fa7 Update notes for submitted changes
* pySim-shell: fix and improve file system exporter
2021-04-02 14:44:55 +00:00
Gerrit Code Review
d6b43470a6 Update notes for submitted changes
* pySim-shell: prevent inconsitancy when walking through the FS tree
* pySim-shell: complete CHV/PIN management tools
2021-04-02 14:44:46 +00:00
Gerrit Code Review
3d4112e29f Update notes for submitted changes
* pySim-shell: be more specific when finding no ADM-PIN
2021-04-02 14:34:01 +00:00
Gerrit Code Review
ea397885d6 Update notes for submitted changes
* commands: conserve write cycles
* pySim-shell: automatic ADM pin from CSV-File
* fileystem: fix ADF selection
* ts_31_102: do not add empty ShellCommands class.
* filesystem: allow selection of arbitrary files
2021-04-02 14:33:23 +00:00
Gerrit Code Review
2ab5e54941 Update notes for submitted changes
* Add decoder/encoder for EF.SUCI_Calc_Info
2021-04-02 14:17:17 +00:00
Gerrit Code Review
66827f42a1 Update notes for submitted changes
* ts_102_221: use keywords to avoid conflicts with positional args
2021-04-01 08:06:25 +00:00
Gerrit Code Review
84bb093910 Update notes for submitted changes
* pySim-shell: use -a / -A commandline option to authenticate
2021-03-30 10:06:30 +00:00
Gerrit Code Review
4f57299e3a Update notes for submitted changes
* filesystem: avoid outputting empty lines when there is no data
2021-03-30 10:06:12 +00:00
Gerrit Code Review
6b34e1e2fe Update notes for submitted changes
* pySim-shell: add command to show file description
2021-03-27 18:37:39 +00:00
Gerrit Code Review
69e1aac967 Update notes for submitted changes
* pySim/filesystem: fix mutable default list/dict arguments
2021-03-27 18:28:43 +00:00
Gerrit Code Review
d87ff8f6cb Update notes for submitted changes
* pySim-shell: add filesystem exporter
2021-03-27 18:22:28 +00:00
Gerrit Code Review
0f21f9c6ad Update notes for submitted changes
* filesystem: fix typo in method call app()->append()
2021-03-27 18:16:25 +00:00
Gerrit Code Review
26f2603a65 Update notes for submitted changes
* pysim-shell: select MF on startup to make commands accessible
2021-03-23 19:52:11 +00:00
Gerrit Code Review
1fc4947df8 Update notes for submitted changes
* utils: fix sw_match()
2021-03-23 12:17:23 +00:00
Gerrit Code Review
efbd444c26 Update notes for submitted changes
* cards: remove unnecessary execptions.
* commands: better exception string for authentication failures
2021-03-23 11:54:47 +00:00
Gerrit Code Review
07535e5ac5 Update notes for submitted changes
* filesystem: be more strict in method add_file()
2021-03-22 21:31:38 +00:00
Gerrit Code Review
93a725dde5 Update notes for submitted changes
* filesystem: drop __main__ from filesystem.py
2021-03-20 10:50:53 +00:00
Gerrit Code Review
a018d44503 Update notes for submitted changes
* filesystem: add comment to inform about checks in add_file()
2021-03-19 17:01:18 +00:00
Gerrit Code Review
68812df096 Update notes for submitted changes
* filesystem: fix exception string (fid != name)
2021-03-19 16:52:12 +00:00
Gerrit Code Review
a38dad1581 Update notes for submitted changes
* pySim-shell: add functionality to walk through the fs recursively
2021-03-19 07:13:49 +00:00
Gerrit Code Review
8f9862490d Update notes for submitted changes
* Check in requirements.txt to simplify installing dependencies
* README.md: add notes about the new 'cmd2' dependency
2021-03-12 15:30:52 +00:00
Gerrit Code Review
084152f693 Update notes for submitted changes
* filesystem: be case insensitive when selecting files by fid (HEX)
* utils: add is_hex function to check hex strings
* filesystem: add flags to filter selectables
2021-03-12 07:35:37 +00:00
Gerrit Code Review
00edcb3fdf Update notes for submitted changes
* pySim/exceptions.py: fix referencing an instance member
2021-03-12 07:32:17 +00:00
Gerrit Code Review
05dd8afeb4 Update notes for submitted changes
* contrib/jenkins.sh: enable automatic execution of unit tests
* tests/test_utils.py: update expectations for format_xplmn_w_act()
* pySim/utils.py: fix 3-digit MNC encoding in enc_plmn()
* Revert "utils.py: Fix for parsing MNC"
2021-03-12 07:26:33 +00:00
Gerrit Code Review
ebde4f5256 Update notes for submitted changes
* pySim/utils_test.py: prepare this to be executed on Jenkins
* pySim/utils_test.py: use proper shebang for this executable
* Get rid of Python 2 specific compatibility leftovers
2021-03-12 07:25:52 +00:00
Gerrit Code Review
9f8734f2dc Update notes for submitted changes
* ts_51_011: fix bitmask compositing in EF_xPLMNwAcT.enc_act()
2021-03-08 09:17:48 +00:00
Gerrit Code Review
5623c7c7dd Update notes for submitted changes
* Python 2 is deprecated, remove backwards compatibility chunks
2021-03-07 19:36:40 +00:00
Gerrit Code Review
2e1dee1013 Update notes for submitted changes
* transport/pcsc: work around Python 3.5 bug: guard disconnect()
2021-03-07 19:26:08 +00:00
Gerrit Code Review
dfa4647f8e Update notes for submitted changes
* pySim/utils.py: Attempt to support pycryptodpme
2021-03-05 20:39:22 +00:00
Gerrit Code Review
99631e0f84 Update notes for submitted changes
* fix TypeError in derive_milenage_opc()
2021-03-05 20:39:12 +00:00
Gerrit Code Review
cdc6312553 Update notes for submitted changes
* Add a new pySim-shell program
2021-03-03 07:51:10 +00:00
Gerrit Code Review
a71276fd73 Update notes for submitted changes
* start using python3 bytearray for our b2h/h2b types
2021-03-03 07:42:06 +00:00
Gerrit Code Review
b86e4d62e5 Update notes for submitted changes
* commands.py: Introduce a real select_file() method
* commands.py: rename select_file() to select_path()
* move SW matching to a generic utility function
2021-03-03 07:38:45 +00:00
Gerrit Code Review
1f6b4bd656 Update notes for submitted changes
* introduce SwMatchError exception
* utils.py: de-couple sanitize_pin_adm from argparse 'opts'
* cards.py: SJS1 + SJA2: Implement + Expose verify_adm() method
2021-03-02 09:21:36 +00:00
Gerrit Code Review
0748208f26 Update notes for submitted changes
* Remove Python shebang from files where it's not needed
2021-03-01 19:36:40 +00:00
Gerrit Code Review
4a66398f46 Update notes for submitted changes
* serial: do not try to close non existing serial connection
* serial: don't crash if the device does not exist
* utils: catch exceptions during reader initalitation
2021-02-25 22:05:56 +00:00
Gerrit Code Review
f305efefc9 Update notes for submitted changes
* utils.py: Fix for parsing MNC
2021-02-11 13:46:58 +00:00
Gerrit Code Review
39681a6460 Update notes for submitted changes
* pySim-read.py: Add support for reading USIM+ISIM data from third-party UICC
2021-02-03 08:40:33 +00:00
Gerrit Code Review
fefd5b721c Update notes for submitted changes
* Readme.md: update debian deps, add python3-yaml
2021-01-20 19:24:44 +00:00
Gerrit Code Review
a2c5a49d42 Update notes for submitted changes
* pySim-read.py: Enable reading of UICC IARI from ISIM
* sysmoISIM-SJA2: Enable programming of EF.ACC
* sysmoISIM-SJA2: Enable programming of EF.MSISDN
* sysmoISIM-SJA2: Add support for programming IMS public user identity
* sysmoISIM-SJA2: Add support for programming IMS private user identity
* pySim-read.py: Enable reading of EF.IMPU from ISIM
* pySim-read.py: Enable reading of EF.IMPI from ISIM
2021-01-05 15:37:08 +00:00
Gerrit Code Review
01d81dcdef Update notes for submitted changes
* Update ISIM IST table as per the 3GPP TS 31.103 specification V15.6.0
* sysmoISIM-SJA2: Add support for programming IPv4 address for PCSCF
* sysmoISIM-SJA2: Add support for programming IPv4 address for Home ePDG Identifier
2021-01-05 14:23:33 +00:00
Gerrit Code Review
9cbd770d1d Update notes for submitted changes
* utils.py: Support IPv4 decoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm
* utils.py: Support IPv4 encoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm
* sysmoISIM-SJA2: Fill unused bytes of Home ePDGId with 'f'
* sysmoISIM-SJA2: Add support for programming IMS Home Network Domain Name
* utils.py: Add helper method to get type of address (FQDN, IPv4, IPv6)
* sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is present
* pySim-read.py: Enable reading of Home Network Domain Name from ISIM
* sysmoISIM-SJA2: Add support for programming Proxy Call Session Control Function address
2021-01-05 14:22:41 +00:00
Gerrit Code Review
614339bd26 Update notes for submitted changes
* pySim-read.py: Enabled reading P-CSCF address from ISIM
* ts_31_103.py: Add ADF map for files at ISIM ADF
* sysmoISIM-SJA2: Inherit ISIM Card class as SysmoISIMSJA2 UICC contains an ISIM
2021-01-05 14:19:53 +00:00
Gerrit Code Review
19dbf88ea8 Update notes for submitted changes
* cards: Define ISIM Card class
* Re-purpose helper method to be used for parsing Address TLV Object in general
* sysmoISIM-SJA2: Enable Service 106 and 107 after successfully programming EF.ePDGId and EF.ePDGSelection
2021-01-05 14:19:32 +00:00
Gerrit Code Review
78444486fd Update notes for submitted changes
* sysmoISIM-SJA2: Add support for programming EF.ePDGSelection (ePDG Selection Information)
* utils.py: Bugfix for parsing non-programmed EFePDGSelection
2021-01-05 09:53:49 +00:00
Gerrit Code Review
5efea11456 Update notes for submitted changes
* Readme.md: update apt-get invocation for python3 dep.
2020-12-18 10:49:31 +00:00
Gerrit Code Review
6281a5572a Update notes for submitted changes
* make random seed function python3 compatible
2020-10-28 17:27:28 +00:00
Gerrit Code Review
42438a5026 Update notes for submitted changes
* utils.py: Add helper method to encode ePDGSelection info TLV
* pySim-read.py: Enable parsing of EF.ePDGSelection in USIM
* utils.py: Add helper method to parse ePDG Selection info TLV
2020-10-23 15:08:00 +00:00
Gerrit Code Review
40ce5f1258 Update notes for submitted changes
* Whitespace fixes
* Lint fixes: false -> False, missing imports, Index list, not map iter
* Remove unnecessary semicolon
* Fix invocation python2 -> python3
2020-10-19 09:45:36 +00:00