mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-13 09:08:28 +03:00
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
neels/saip3
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
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
neels/saip3
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
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 -
d572edef1e
utils.py: Add helper method to parse ePDG Identifier from hex string
Supreeth Herle
2020-03-22 09:55:04 +01:00 -
7d77d2d5d0
Introduce function for converting bytes list in (hex or int) to string
Supreeth Herle
2020-05-11 09:07:08 +02:00 -
9837055f4f
Import TLV parsing related function from https://github.com/mitshell/card
Supreeth Herle
2020-05-11 09:04:41 +02:00 -
32f0d415af
Fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2
Harald Welte
2020-05-05 17:35:57 +02:00 -
ee15c77185
Enable parsing of ISIM Service table (IST)
Supreeth Herle
2020-03-22 08:58:33 +01:00 -
df33037e42
Extend parsing and printing of Service table to ISIM
Supreeth Herle
2020-04-20 14:48:55 +02:00 -
8b72c27270
Define mapping between ISIM Service Number and its description
Supreeth Herle
2020-03-22 08:55:50 +01:00 -
9641299f9a
Enable parsing of USIM Service table (UST)
Supreeth Herle
2020-03-22 08:20:11 +01:00 -
69e5d27e3c
Remove redundant functions
Supreeth Herle
2020-04-20 14:33:39 +02:00 -
d3b13d0c85
Use helper method to print available service in EF.SST
Supreeth Herle
2020-04-20 13:30:34 +02:00 -
0c4d82d84a
utils.py: Add helper method to parse and print Service Table
Supreeth Herle
2020-04-20 13:28:31 +02:00 -
3e6f16d8f6
pySim-read.py: Add ability to read Cards with correct CLA, P1 and P2 bytes
Supreeth Herle
2020-03-23 10:00:50 +01:00 -
f9f3e5e0c1
cards.py: Added method to select ADF by its full AID
Supreeth Herle
2020-03-22 08:04:59 +01:00 -
3bf43639ce
Populate AIDs present on the UICC
Supreeth Herle
2020-03-20 20:20:27 +01:00 -
475dcaa4a1
Define mapping between USIM Service Number and its description
Supreeth Herle
2020-03-20 18:57:39 +01:00 -
e26331ef72
Add ability to parse SIM Service Table (EF.SST)
Supreeth Herle
2020-03-20 18:50:39 +01:00 -
441c4a768f
utils.py: Add helper method to parse Service Table
Supreeth Herle
2020-03-24 10:19:15 +01:00 -
bf5d602588
Define mapping between SIM Service Number and its description
Supreeth Herle
2020-03-20 15:18:27 +01:00 -
52ef675c31
Use the generic method read_binary of card class to read AD
Supreeth Herle
2020-03-19 12:50:27 +01:00 -
6d66af653f
Move parsing of MSISDN to generic Card class
Supreeth Herle
2020-03-19 12:49:16 +01:00 -
d1fb6fc359
Use the generic method read_binary of card class to read ACC
Supreeth Herle
2020-03-19 12:45:45 +01:00 -
a850a47981
Move parsing of HPLMNAcT to generic Card class
Supreeth Herle
2020-03-19 12:44:11 +01:00 -
1757b263bf
Move parsing of OPLMNwAcT to generic Card class
Supreeth Herle
2020-03-19 12:43:11 +01:00 -
140844052a
Move parsing of PLMNwAcT to generic Card class
Supreeth Herle
2020-03-19 12:42:10 +01:00 -
9efd8ef812
Use the generic method read_binary of card class to read PLMNsel
Supreeth Herle
2020-03-19 12:14:10 +01:00 -
846cefb0cd
pySim-read.py: Use the method declared in cards.py to read SPN
Supreeth Herle
2020-03-19 12:11:25 +01:00 -
ebe6dbaef5
Use the generic method read_record of card class to read SMSP
Supreeth Herle
2020-03-19 12:08:20 +01:00 -
e573ccb53c
Use read_binary function of card class to read GID2 and reduce code duplication
Supreeth Herle
2020-04-01 09:21:20 +02:00 -
ad10d66baf
cards.py: Add generic function to read EF record in card class
Supreeth Herle
2020-04-01 08:43:08 +02:00 -
d21349a610
cards.py: Add generic function to read EF binary to card class
Supreeth Herle
2020-04-01 08:37:47 +02:00 -
c7f2f7413b
Move parsing of GID2 to generic Card class
Supreeth Herle
2020-03-19 12:06:20 +01:00 -
98a6927b27
Move parsing of GID1 to generic Card class
Supreeth Herle
2020-03-18 12:14:48 +01:00 -
f9762dc98f
pySim-read.py: Use the method declared in cards.py to read IMSI
Supreeth Herle
2020-03-18 12:05:06 +01:00 -
3566b8eb55
pySim-read.py: Use the method declared in cards.py to read ICCID
Supreeth Herle
2020-03-18 12:02:34 +01:00 -
4c306ab200
pySim-read.py: Added a common card detection function for both pySim-prog.py and pySim-read.py
Supreeth Herle
2020-03-18 11:38:00 +01:00 -
e4e98316a8
cards.py: Added parsing of all the AIDs in the UICC
Supreeth Herle
2020-03-18 11:33:14 +01:00 -
0e90e6c3c6
pySim-read.py: support for reading GID2 from SIM
Supreeth Herle
2020-03-05 15:33:00 +01:00 -
ab46d625fc
pySim-read.py: support for reading GID1 from SIM
Supreeth Herle
2020-03-05 15:30:22 +01:00 -
d950786525
sysmoISIM-SJA2: Add suport for USIM-only and ISIM-only cards
Philipp Maier
2020-03-11 12:18:29 +01:00 -
b3e11ea196
sysmiISIM-SJA2: add support for new card model / os version
Philipp Maier
2020-03-11 12:32:44 +01:00 -
9664b2e7fc
cards: Python 3 fix: use the floor division operator //
Vadim Yanitskiy
2020-02-27 01:49:51 +07:00 -
edf873d04a
commands: Python 3 fix: properly distinguish str and list
Vadim Yanitskiy
2020-02-27 01:40:14 +07:00 -
fa617ac20d
transport/pcsc: explicitly specify T0 protocol
Vadim Yanitskiy
2020-02-26 22:33:08 +07:00 -
41c22176e4
transport/pcsc: cosmetic: reuse the existing code of PcscSimLink
Vadim Yanitskiy
2020-02-26 22:18:32 +07:00 -
7ba2428de5
utils: fix dec_msisdn(): properly detect international numbers
Vadim Yanitskiy
2020-02-27 00:04:13 +07:00 -
99affe1529
Py2 -> Py3: use the floor division operator // where possible
Vadim Yanitskiy
2020-02-15 05:03:09 +07:00 -
4133080ced
pySim-read.py: do not import json, it is not needed
Vadim Yanitskiy
2020-02-15 03:57:09 +07:00 -
5a541016fb
pySim-prog.py: add support for MSISDN programming
Supreeth Herle
2019-12-22 08:59:16 +01:00 -
4b1c763395
pySim-read.py: fix reading and parsing of EF.MSISDN
Supreeth Herle
2019-12-22 09:00:59 +01:00 -
d24f163513
Fix MCC and MCC representation in the output of pySim-read
Supreeth Herle
2019-11-30 10:37:09 +01:00 -
f442fb4d69
cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT
Supreeth Herle
2020-01-21 12:47:32 +01:00 -
c8796a3184
cards/sysmoUSIM-SJS1: support programming of ACC bits
Supreeth Herle
2019-12-23 12:23:42 +01:00 -
2d7859759e
cards: fix reading of EF.HPLMNwAcT in Card.update_hplmn_act()
Supreeth Herle
2019-11-30 11:00:10 +01:00