mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 23:08:34 +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/wip
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
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/wip
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
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 -
9ca41c1f26
cards: cosmetic/indentation fix: use tabs, not spaces
Supreeth Herle
2020-01-21 12:50:30 +01:00 -
840a9e2a76
pySim-prog.py: add presence/length checks for user-provided SPN
Supreeth Herle
2020-01-21 13:32:46 +01:00 -
6af4c21cdf
pySim-read.py: print meaningful message when SPN is not set
Supreeth Herle
2020-01-21 19:50:31 +01:00 -
a3bb334981
pySim-read.py: fix copy-paste: s/HPLMNAcT/PLMNsel/
Vadim Yanitskiy
2020-01-25 12:45:37 +07:00 -
6727f0c02c
Fix compatibility with Python 3: print() is a function
Vadim Yanitskiy
2020-01-22 23:38:24 +07:00 -
fa1dc34152
testdata/sysmoUSIM-SJS1.ok: make it match the actual EF.HPLMNAcT
Vadim Yanitskiy
2020-02-14 22:45:36 +07:00 -
e51643e87e
Fix file permission
Supreeth Herle
2019-08-20 09:07:50 +02:00 -
7947d92bc1
Added feature to program SPN into sysmoUSIM-SJS1 SIM cards
Supreeth Herle
2019-06-08 07:50:53 +02:00 -
f829945117
Added feature to read Service Provider Name (SPN) from the SIM card
Supreeth Herle
2019-06-08 07:49:08 +02:00 -
0ad5bcfbc1
cards: Add support for sysmo-isim-sja2
Philipp Maier
2019-12-31 17:55:47 +01:00 -
07cd481954
Fixup: Fix automated tests
Philipp Maier
2019-12-31 17:53:48 +01:00 -
cdfdd41293
commands: fix __record_len()
Philipp Maier
2019-12-20 13:39:24 +01:00 -
4e724391e0
Fix automated tests
Philipp Maier
2019-12-12 17:02:22 +01:00 -
76db7d7295
Fairwaves-SIM: Add test data
Philipp Maier
2019-11-12 13:20:50 +01:00 -
5a8763154e
cards.py: do not use spaces in card names
Philipp Maier
2019-11-11 11:01:46 +01:00 -
8902bcde07
python3 conversion: Use python 2 and 3 compatible exceptions
Denis 'GNUtoo' Carikli
2019-09-12 15:03:23 +02:00 -
84d2cb3cb3
python3 conversion: fix tabs and spaces inconsistency
Denis 'GNUtoo' Carikli
2019-09-12 01:46:25 +02:00 -
7592eeea59
pySim-prog: use functions to derive MCC/MNC from IMSI
Philipp Maier
2019-09-12 13:03:23 +02:00 -
be069e26ae
cards: use string representation for MNC/MCC
Philipp Maier
2019-09-12 12:52:43 +02:00 -
196b08cdfd
pySim-prog: check if CSV file exists
Philipp Maier
2019-09-12 11:49:44 +02:00 -
120a000e86
pySim-prog: use case insensitive CSV headers.
Philipp Maier
2019-09-12 13:11:45 +02:00 -
1de89bf889
pySim-prog.py: use more expressive error message on CSV read failure
Philipp Maier
2019-09-12 13:40:02 +02:00 -
c5b422e2ca
Add support for automatic card handling
Philipp Maier
2019-08-30 11:41:02 +02:00 -
e053da5a14
pySim-prog: generate a pin_adm from pin_adm_hex also for CSV files
Philipp Maier
2019-09-05 13:08:36 +02:00 -
164b963dd2
Add an option to read the iccid and batch-program the new card data
Daniel Willmann
2019-09-03 19:13:51 +02:00 -
f432b2ba96
pySim-prog: Add option for hex ADM keys
Daniel Willmann
2018-06-15 07:31:50 +02:00 -
c46a4eba43
pySim-prog: Use CSV format with headers
Daniel Willmann
2018-06-15 07:31:50 +02:00 -
7d38d74716
pySim-prog: Print out hex-escaped pin_adm in card parameters
Daniel Willmann
2018-06-15 07:31:50 +02:00 -
9f9c60937e
pysim-testdate: Add test data for Wavemobile-sim
Philipp Maier
2019-09-02 14:33:02 +02:00 -
1d96d22c11
Add an option to read the iccid and batch-program the new card data
1774484547126659917/users/daniel/csv-format
1774484547126659917/tmp_refs/heads/users/daniel/csv-format
1774480680578613473/users/daniel/csv-format
1774480680578613473/tmp_refs/heads/users/daniel/csv-format
1774472429361333915/users/daniel/csv-format
1774472429361333915/tmp_refs/heads/users/daniel/csv-format
1774469946182122333/users/daniel/csv-format
1774469946182122333/tmp_refs/heads/users/daniel/csv-format
users/daniel/csv-format
Daniel Willmann
2018-06-15 07:39:41 +02:00 -
1d00c19d14
pySim-prog: Use CSV format with headers
Daniel Willmann
2018-06-15 07:31:50 +02:00 -
23888dab85
make writing SMSP optional
Harald Welte
2019-08-28 23:19:11 +02:00 -
67acdbc817
Make programming OPC optional
Daniel Willmann
2018-06-15 07:42:48 +02:00 -
35a96edb0d
pySim-*.py: print info about selected reader interface
Vadim Yanitskiy
2018-10-29 02:02:14 +07:00 -
5491c48e71
Don't try to parse result if select_file() failed
Max
2019-01-03 11:29:25 +01:00 -
89cfded971
Use reference array for reading ICCID
Max
2019-01-03 11:02:08 +01:00 -
851e9c0f4c
utils: add EF [H|O]PLMNwAcT decoding.
Daniel Laszlo Sitzer
2018-12-04 19:40:08 +01:00 -
91d4ec7e7b
import pysim-testdata of automatic testing to this repository
Harald Welte
2019-05-10 16:20:54 +02:00 -
6e507a7786
wavemobile-sim: write mnc-length field ine EF.AD
Philipp Maier
2019-04-01 16:33:48 +02:00 -
45daa925bd
cosmetic: fix sourecode formatting
Philipp Maier
2019-04-01 15:49:45 +02:00 -
ee908ae195
sysmo-usim-sjs1: update EF.AD with correct MNC length
Philipp Maier
2019-03-21 16:21:12 +01:00 -
2d15ea015e
cards: sysmo-usim-sjs1: add programming of EF.PLMNsel, EF.PLMNwAcT and EF.OPLMNwAcT
Philipp Maier
2019-03-20 12:40:36 +01:00 -
91f26d7f0a
commands: correct case of a TLV tag (A5 => a5)
Philipp Maier
2019-03-20 12:12:51 +01:00 -
9f9f5a6157
pySim-*.py: add command line option for Calypso reader
Vadim Yanitskiy
2018-10-27 02:10:34 +07:00 -
588f3aca3c
pySim-*.py: refactor card reader driver initialization
Vadim Yanitskiy
2018-10-27 06:30:33 +07:00 -
1381ff15af
pySim/transport: introduce Calypso based reader interface
Vadim Yanitskiy
2018-10-27 01:48:15 +07:00 -
4fa8f1c49b
pySim-prog: Honor international '+' in SMSC number
Daniel Willmann
2018-10-02 18:10:21 +02:00 -
0ec147513c
utils: fix encoding/decoding of IMSI value
Ben Fox-Moore
2018-09-24 15:47:02 +02:00 -
c555e18ebb
tests: add example test data for Wavemobile-SIM
Philipp Maier
2018-09-13 09:43:26 +02:00 -
c8ce82a11f
cards: Add support for Wavemobile SIM
Philipp Maier
2018-07-04 17:57:20 +02:00 -
11a2e3ca10
tests: add example file for sysmosim-gr1
Philipp Maier
2018-08-23 10:38:18 +02:00 -
a3de5a331e
cards: do not feed ascii as adm for sysmosim-gr1
Philipp Maier
2018-08-23 10:27:04 +02:00 -
087feff7cb
cards: autodetect sysmosim-gr1
Philipp Maier
2018-08-23 09:41:36 +02:00 -
52f59aca78
readme: add 'serial' dep, cosmetically rearrange
Neels Hofmeyr
2018-07-19 14:48:55 +02:00 -
fb98dd6d6e
commands: depend on pytlv only when it is actually needed
Philipp Maier
2018-07-19 12:00:44 +02:00 -
53b6dc216f
readme: add info about dependencies
Philipp Maier
2018-07-19 11:37:39 +02:00 -
73a0f047a1
add .gitreview
Alexander Couzens
2018-07-19 23:50:56 +02:00 -
4731232aae
contrib: add jenkins.sh
Alexander Couzens
2018-07-19 23:31:39 +02:00 -
7f340851fc
tests: add test program to verify pysim-prog.py (and pysim-read.py)
Philipp Maier
2018-07-10 16:21:54 +02:00 -
af9ae8bd6e
cards: return SW in method update_plmnsel() of class Card
Philipp Maier
2018-07-13 11:15:49 +02:00 -
1be35bfa09
cosmetic: fix cut and paste error in comment
Philipp Maier
2018-07-13 11:29:03 +02:00 -
a2650496ce
pySim-read: read contents of PLMN related files.
Philipp Maier
2018-07-11 23:05:58 +02:00 -
ea6bdf0b99
pySim-read: Print exception when reading of EF.MSISDN fails
Philipp Maier
2018-07-11 23:02:36 +02:00 -
589c1a4ff5
cosmetic: fix excess space in log output (typo)
Philipp Maier
2018-07-11 22:59:53 +02:00 -
5bf42600d4
cards: add update method for EF:PLMNsel to Card class
Philipp Maier
2018-07-11 23:23:40 +02:00