Commit Graph
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
osmith/wip
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
osmith/wip
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
3b51f436a4
pySim/exceptions.py: fix referencing an instance member
Vadim Yanitskiy
2021-03-12 02:18:06 +01:00 -
d61da8a64c
contrib/jenkins.sh: enable automatic execution of unit tests
Vadim Yanitskiy
2021-03-12 01:13:05 +01:00 -
46c49d5256
tests/test_utils.py: update expectations for format_xplmn_w_act()
Vadim Yanitskiy
2021-03-12 01:12:11 +01:00 -
c8458e2477
pySim/utils.py: fix 3-digit MNC encoding in enc_plmn()
Vadim Yanitskiy
2021-03-12 00:34:10 +01:00 -
b271be3dc0
Revert "utils.py: Fix for parsing MNC"
Vadim Yanitskiy
2021-03-11 23:56:58 +01:00 -
4ae7c49076
pySim/utils_test.py: prepare this to be executed on Jenkins
Vadim Yanitskiy
2021-03-11 23:17:27 +01:00 -
7d57edfe2d
pySim/utils_test.py: use proper shebang for this executable
Vadim Yanitskiy
2021-03-11 23:01:55 +01:00 -
3e58d38bdf
Get rid of Python 2 specific compatibility leftovers
Vadim Yanitskiy
2021-03-11 22:59:21 +01:00 -
5452d64120
ts_51_011: fix bitmask compositing in EF_xPLMNwAcT.enc_act()
Vadim Yanitskiy
2021-03-07 21:45:34 +01:00 -
79f5b6080b
Python 2 is deprecated, remove backwards compatibility chunks
Denis 'GNUtoo' Carikli
2020-02-15 04:02:57 +07:00 -
1f8acd9884
transport/pcsc: work around Python 3.5 bug: guard disconnect()
Vadim Yanitskiy
2020-02-27 02:42:56 +07:00 -
ab34fa895e
pySim/utils.py: Attempt to support pycryptodpme
Harald Welte
2021-03-05 18:39:59 +01:00 -
eab8d2adf7
fix TypeError in derive_milenage_opc()
Harald Welte
2021-03-05 18:30:23 +01:00 -
b2edd14475
Add a new pySim-shell program
Harald Welte
2021-01-08 23:29:35 +01:00 -
4f6ca43e1f
start using python3 bytearray for our b2h/h2b types
Harald Welte
2021-02-01 17:51:56 +01:00 -
85484a977d
commands.py: Introduce a real select_file() method
Harald Welte
2021-01-21 16:08:56 +01:00 -
c0499c8330
commands.py: rename select_file() to select_path()
Harald Welte
2021-01-21 16:06:50 +01:00 -
67d551a443
move SW matching to a generic utility function
Harald Welte
2021-01-21 14:50:01 +01:00 -
e79cc8069a
introduce SwMatchError exception
Harald Welte
2021-01-21 14:10:43 +01:00 -
79b5ba4bdf
utils.py: de-couple sanitize_pin_adm from argparse 'opts'
Harald Welte
2021-01-08 21:22:38 +01:00 -
a670425088
cards.py: SJS1 + SJA2: Implement + Expose verify_adm() method
Harald Welte
2021-01-08 20:19:11 +01:00 -
6d5e0c9272
Remove Python shebang from files where it's not needed
Vadim Yanitskiy
2021-03-01 17:23:13 +01:00 -
289fd28091
serial: do not try to close non existing serial connection
1.0
Philipp Maier
2021-02-22 16:20:43 +01:00 -
92bdd5e901
serial: don't crash if the device does not exist
Philipp Maier
2021-02-22 16:14:47 +01:00 -
c8caec2933
utils: catch exceptions during reader initalitation
Philipp Maier
2021-02-22 16:07:53 +01:00 -
bdf3d3597b
utils.py: Fix for parsing MNC
herlesupreeth
2021-02-11 06:59:29 +01:00 -
cebf8b198b
pySim-read.py: Add support for reading USIM+ISIM data from third-party UICC
herlesupreeth
2021-01-21 05:57:06 +01:00 -
06a1256b67
Readme.md: update debian deps, add python3-yaml
Joachim Steiger
2021-01-20 19:04:41 +01:00 -
be3b64167a
pySim-read.py: Enable reading of UICC IARI from ISIM
Supreeth Herle
2020-06-01 12:53:57 +02:00 -
a97944b6ca
sysmoISIM-SJA2: Enable programming of EF.ACC
Supreeth Herle
2020-03-26 10:03:25 +01:00 -
c60192375e
sysmoISIM-SJA2: Enable programming of EF.MSISDN
Supreeth Herle
2020-03-26 10:00:45 +01:00 -
be7007e1d9
sysmoISIM-SJA2: Add support for programming IMS public user identity
Supreeth Herle
2020-03-26 09:27:45 +01:00 -
a5bd9684d3
sysmoISIM-SJA2: Add support for programming IMS private user identity
Supreeth Herle
2020-03-26 09:16:14 +01:00 -
0c02d8a57b
pySim-read.py: Enable reading of EF.IMPU from ISIM
Supreeth Herle
2020-03-26 09:00:06 +01:00 -
3f67f9c1d3
pySim-read.py: Enable reading of EF.IMPI from ISIM
Supreeth Herle
2020-03-25 15:38:02 +01:00 -
28484d03e3
Update ISIM IST table as per the 3GPP TS 31.103 specification V15.6.0
Supreeth Herle
2020-03-25 15:00:20 +01:00 -
1279085f7e
sysmoISIM-SJA2: Add support for programming IPv4 address for PCSCF
herlesupreeth
2020-12-24 09:38:42 +01:00 -
c491dc019f
sysmoISIM-SJA2: Add support for programming IPv4 address for Home ePDG Identifier
Supreeth Herle
2020-03-25 14:56:13 +01:00 -
43fd03b627
utils.py: Support IPv4 decoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm
Supreeth Herle
2020-03-25 14:52:46 +01:00 -
654eca72c9
utils.py: Support IPv4 encoding for Address TLV object present in EF.ePDGId and EF.ePDGIdEm
Supreeth Herle
2020-03-25 14:25:38 +01:00 -
4779034f9e
sysmoISIM-SJA2: Fill unused bytes of Home ePDGId with 'f'
Supreeth Herle
2020-03-25 12:51:38 +01:00 -
79f43dda3d
sysmoISIM-SJA2: Add support for programming IMS Home Network Domain Name
Supreeth Herle
2020-03-25 11:43:19 +01:00 -
556b0fe262
utils.py: Add helper method to get type of address (FQDN, IPv4, IPv6)
Supreeth Herle
2020-03-25 11:26:57 +01:00 -
44e046240e
sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is present
Supreeth Herle
2020-03-25 10:34:28 +01:00 -
05b2807168
pySim-read.py: Enable reading of Home Network Domain Name from ISIM
Supreeth Herle
2020-03-25 10:23:48 +01:00 -
cf727f2733
sysmoISIM-SJA2: Add support for programming Proxy Call Session Control Function address
Supreeth Herle
2020-03-24 17:32:21 +01:00 -
5ad9aec98f
pySim-read.py: Enabled reading P-CSCF address from ISIM
Supreeth Herle
2020-03-24 17:26:40 +01:00 -
75c14c0cbd
ts_31_103.py: Add ADF map for files at ISIM ADF
herlesupreeth
2020-12-23 09:41:07 +01:00 -
b0c7d121d7
sysmoISIM-SJA2: Inherit ISIM Card class as SysmoISIMSJA2 UICC contains an ISIM
herlesupreeth
2020-12-23 09:25:46 +01:00 -
ecbada993d
cards: Define ISIM Card class
herlesupreeth
2020-12-23 09:24:29 +01:00 -
3b342c2f14
Re-purpose helper method to be used for parsing Address TLV Object in general
Supreeth Herle
2020-03-24 16:15:02 +01:00 -
acc222f9f0
sysmoISIM-SJA2: Enable Service 106 and 107 after successfully programming EF.ePDGId and EF.ePDGSelection
Supreeth Herle
2020-03-24 13:26:53 +01:00 -
f964df4eb5
sysmoISIM-SJA2: Add support for programming EF.ePDGSelection (ePDG Selection Information)
Supreeth Herle
2020-03-24 13:15:37 +01:00 -
3a261d31d5
utils.py: Bugfix for parsing non-programmed EFePDGSelection
herlesupreeth
2021-01-05 09:20:11 +01:00 -
5e67d5b80a
Readme.md: update apt-get invocation for python3 dep.
Joachim Steiger
2020-12-11 19:24:31 +01:00 -
3b00dbf0d2
make random seed function python3 compatible
Jeremy Herbert
2020-10-25 20:56:05 +10:00 -
95ec772b61
utils.py: Add helper method to encode ePDGSelection info TLV
Supreeth Herle
2020-03-24 13:09:03 +01:00 -
99d55552d5
pySim-read.py: Enable parsing of EF.ePDGSelection in USIM
Supreeth Herle
2020-03-24 13:03:43 +01:00 -
95b4e8d4fa
utils.py: Add helper method to parse ePDG Selection info TLV
Supreeth Herle
2020-03-24 12:49:16 +01:00 -
5d8cd9b378
Whitespace fixes
Daniel Willmann
2020-10-19 11:01:49 +02:00 -
dd014ea306
Lint fixes: false -> False, missing imports, Index list, not map iter
Daniel Willmann
2020-10-19 10:35:11 +02:00 -
677d41bb41
Remove unnecessary semicolon
Daniel Willmann
2020-10-19 10:34:31 +02:00 -
de07b95f84
Fix invocation python2 -> python3
Daniel Willmann
2020-10-19 10:32:34 +02:00 -
4a3580b4c1
Move reading of USIM service table to generic USIM class
herlesupreeth
2020-09-29 10:11:36 +02:00 -
f8232db327
Move reading of ePDG Id to generic USIM class
herlesupreeth
2020-09-29 10:03:06 +02:00 -
5d0a30c19c
Move programminig of ePDG Id to generic USIM class
herlesupreeth
2020-09-29 09:44:24 +02:00 -
3409ae7eea
Remove redundant hexstr_to_fivebytearr() and hexstr_to_threebytearr() functions
herlesupreeth
2020-09-18 15:38:07 +02:00 -
45fa604834
Use generic function hexstr_to_Nbytearr to convert hex string to 3/5 Bytes array
herlesupreeth
2020-09-18 15:32:20 +02:00 -
f394853533
utils.py: Add helper method to convert a hex string into array of N bytes string elements
Supreeth Herle
2020-03-24 12:23:51 +01:00 -
d84daa12c2
utils.py: Add helper method to encode Service Table
Supreeth Herle
2020-03-24 12:20:40 +01:00 -
dfe3dbb117
pySim-read.py: decode contents of EF.AD (Administrative data)
Vadim Yanitskiy
2020-07-28 05:26:02 +07:00 -
a562ea0351
Add new line
herlesupreeth
2020-09-16 20:17:22 +02:00 -
4d9e6beaed
Update UST table as per the latest 3GPP TS 31.102 specification
Supreeth Herle
2020-03-24 12:13:45 +01:00 -
8e0fccdbf3
sysmoISIM-SJA2: Add support for programming Home ePDG Identifier
Supreeth Herle
2020-03-23 12:10:56 +01:00 -
71e38482e1
Remove redundant function read_aid()
herlesupreeth
2020-09-11 21:18:52 +02:00 -
1a13c44200
Use the function select_adf_by_aid for selecting an AID
herlesupreeth
2020-09-11 21:16:51 +02:00 -
8016405994
cards.py: Populate AIDs present in SysmoISIMSJA2 UICC
Supreeth Herle
2020-03-23 12:06:29 +01:00 -
0f247f8766
sysmo-isim-sja2: fix test expectations
Philipp Maier
2020-09-10 23:11:15 +02:00 -
46bc6d25d6
HACK: support for SIM factory file formats
sysmocom/factory
Harald Welte
2020-03-27 00:28:53 +01:00 -
1e42420e57
fix 'TabError: inconsistent use of tabs and spaces in indentation'
Harald Welte
2020-08-31 15:04:19 +02:00 -
ca6739458e
Add support for ADF_USIM/EF_EHPLMN
Harald Welte
2020-06-03 15:19:40 +02:00 -
3c0bd7a41e
utils.py: Add helper method to encode ePDG Identifier
Supreeth Herle
2020-03-23 11:59:33 +01:00 -
b1634db0b3
pySim-read.py: Enable parsing of Home ePDG Identifier in USIM
Supreeth Herle
2020-03-22 10:00:43 +01:00 -
d6a5ec51a8
utils.py: Handle parsing of ePDGId TLV with zero length
Supreeth Herle
2020-06-01 12:27:51 +02:00 -
e61170c0eb
utils.py add LOCI EFs decode functions
Sebastian Viviani
2020-06-03 08:57:00 +01:00 -
0e9f93fdd6
commands.py: fix read_binary for lengths > 256
Sebastian Viviani
2020-04-17 16:42:09 +01:00 -
0dc8f69217
ts_31_102.py: add EF_ADF_map
Sebastian Viviani
2020-05-29 00:14:55 +01:00 -
29ca8049d6
Implement Generic SIM Access interface as per 3GPP TS 27.007
Vadim Yanitskiy
2020-05-09 21:23:37 +07:00 -
eb06b45d0e
utils: fix list comprehension in h2s(): ignore upper case padding
Vadim Yanitskiy
2020-05-10 02:32:46 +07:00 -
d58c632277
cards: remove empty erase() methods.
Philipp Maier
2020-05-12 16:47:45 +02:00 -
5c2cc66de5
cards: add methods to help erasing of file contents
Philipp Maier
2020-05-12 16:27:12 +02:00 -
cd3d6268a6
utils: do not crash when all bytes of EF.IMSI are 0xFF
Philipp Maier
2020-05-11 21:41:56 +02:00 -
30eb8ca6aa
commands: add features to verify data written to files
Philipp Maier
2020-05-11 22:51:37 +02:00 -
32daaf5470
commands: add method to determine size of a non record oriented file
Philipp Maier
2020-05-11 21:48:33 +02:00 -
e8536c04bc
pysim-prog: move ADM sanitation to utils.py
Philipp Maier
2020-05-11 21:35:01 +02:00 -
7f9f64ac2a
cards: reset uninitalized EF.AD
Philipp Maier
2020-05-11 21:28:52 +02:00 -
7f1d3c496f
Treat MCC and MNC as strings, not integers
Harald Welte
2020-05-12 21:12:44 +02:00 -
ff84c23839
pySim-prog, pySim-read, do not echo reader id
Philipp Maier
2020-05-12 17:24:18 +02:00 -
b689754b49
cards: remove len calculation
Philipp Maier
2020-05-11 21:19:20 +02:00 -
fc83e43637
Add option to specify MNC length in non-batch programming scnearios
Supreeth Herle
2020-05-06 11:48:46 +02:00