mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-13 04:11:27 +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
-
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
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 -
ac9dde683f
pysim-prog: add commandline option to probe cards
Philipp Maier
2018-07-04 11:05:14 +02:00 -
0e3fcaa1bb
commands: get file/record length from FCP (USIM)
Philipp Maier
2018-06-13 12:34:03 +02:00 -
859e0fd1ce
__init__: also fetch response bytes for USIMs automatically
Philipp Maier
2018-06-12 18:40:24 +02:00 -
f779231da2
csv: fix missing import (broken CSV support)
Philipp Maier
2018-06-11 17:11:39 +02:00 -
d4ebb6fdf4
__init__: allow wildcards in expected SW for send_apdu_checksw()
Philipp Maier
2018-06-12 17:56:07 +02:00 -
d9824887c9
pysim-prog: also allow raw hex adm pins besides numeric ascii
Philipp Maier
2018-06-13 09:21:59 +02:00 -
9eeadfc46b
add support for open cells SIM cards
Todd Neal
2018-04-25 15:36:29 -05:00 -
6cbecaaf5c
transport/serial: Fix serial transport
Martin Hauke
2018-02-18 17:04:50 +01:00 -
5dfda9fdd7
pySim-fairwaves-prog: Read a selected A3/A8 algorithm.
fairwaves/sim
Alexander Chemeris
2018-01-27 02:09:04 +09:00 -
99b5e321e5
Checking in pySim-read-all.py - utility to read all known files on a SIM card.
Alexander Chemeris
2018-01-27 02:08:25 +09:00 -
d21ef12f8d
commands: Allow reading binary/record files if they are already selected.
Alexander Chemeris
2018-01-27 02:07:10 +09:00 -
1198ad9e15
utils: Add a function to decode SELECT result for EF files.
Alexander Chemeris
2018-01-27 02:06:30 +09:00 -
cc85a1ee71
utils: Zero-pad MCC and MNC in enc_plmn()
Alexander Chemeris
2018-01-27 02:05:20 +09:00 -
2322c1f9ff
Checking in various utilities to manipulate Fairwaves SIM card DB.
Alexander Chemeris
2018-01-26 16:45:59 +09:00 -
6a38c4a2f3
Checking in pySim-run-gsm.py - utility to run A3/A8 on a SIM card.
Alexander Chemeris
2018-01-26 16:24:27 +09:00 -
575f64e38a
pySim-read: Read SPN and use new EF constants to address other files.
Alexander Chemeris
2018-01-26 15:57:19 +09:00 -
4d5c0293a2
pySim-fairwaves-prog: Write Ki/OPC/IMSI as read from the input file.
Alexander Chemeris
2018-01-26 15:55:58 +09:00 -
3a27424ff8
pySim-fairwaves-prog: Add an option to play sound on successful write in the batch mode.
Alexander Chemeris
2018-01-26 15:53:26 +09:00 -
5705837a1b
ts_51_011: Fix a comment language.
Alexander Chemeris
2018-01-26 15:52:29 +09:00 -
b5208b5544
cards: Add ability to read/set A3/A8 algorithm for Fairwaves SIM cards.
Alexander Chemeris
2018-01-26 15:51:19 +09:00 -
4dabfda193
cards: Minor formating cleanup
Alexander Chemeris
2018-01-26 15:50:46 +09:00 -
6d4a0a1a3e
Add a comanda to run GSM auth algorithm.
Alexander Chemeris
2018-01-26 15:49:49 +09:00 -
d9d2b941eb
Revert "pySim-prog: ADM code can be longer 8 digits, it's implementation specific."
Harald Welte
2018-01-23 16:20:34 +01:00 -
e6d4faa6f5
Checking in pySim-fairwaves-prog.py utility.
Alexander Chemeris
2018-01-11 13:27:08 +09:00 -
19fffa1db7
Make derive_milenage_opc and calculate_luhn publicly available through utils.py
Alexander Chemeris
2018-01-11 13:06:43 +09:00 -
e0d9d88cd5
cards: Add Fairwaves SIM implementation.
Alexander Chemeris
2018-01-10 14:18:32 +09:00 -
8ad124a0b8
cards: Implement card type autodetection based on ATR.
Alexander Chemeris
2018-01-10 14:17:55 +09:00 -
47c73abd04
pySim-prog: Replace magic numbers with a readable EF file name.
Alexander Chemeris
2018-01-10 14:10:17 +09:00 -
a51592e180
pySim-prog: ADM code can be longer 8 digits, it's implementation specific.
Alexander Chemeris
2018-01-10 14:07:30 +09:00 -
eb6807d3cb
cards: Extend Card class with access functions for some of the standard EF files.
Alexander Chemeris
2017-07-18 17:04:38 +03:00 -
d2d660a935
Add methods to get ATR for a card or a link.
Alexander Chemeris
2017-07-18 16:52:25 +03:00 -
dddbf525da
utils: Fix documentation. 3+3=6 digits equals 3 bytes, not 6
Alexander Chemeris
2017-07-18 16:49:59 +03:00 -
a5f0ea6979
utils: Functions to encode/decode EF SPN.
Alexander Chemeris
2017-07-18 16:48:47 +03:00 -
067f69cade
ts_51_011: A file with MF/DF/EF constants from TS 51 011
Alexander Chemeris
2017-07-18 16:44:26 +03:00 -
d17ca3ddd8
Fix comment: Ki -> OPC
Alexander Chemeris
2017-07-18 16:40:58 +03:00