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
-
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.
1774493290686803376/tmp_refs/heads/fairwaves/sim
1774493290686803376/fairwaves/sim
1774486152012686924/tmp_refs/heads/fairwaves/sim
1774486152012686924/fairwaves/sim
1774483261214860036/tmp_refs/heads/fairwaves/sim
1774483261214860036/fairwaves/sim
1774482968137423061/tmp_refs/heads/fairwaves/sim
1774482968137423061/fairwaves/sim
1774482788363046303/tmp_refs/heads/fairwaves/sim
1774482788363046303/fairwaves/sim
1774477982531516548/tmp_refs/heads/fairwaves/sim
1774477982531516548/fairwaves/sim
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 -
665bd22fc5
utils.py: dec_imsi: Fix ValueError
Pau Espin Pedrol
2017-12-29 20:30:35 +01:00 -
287b6ce1b4
pySim-prog.py: Fix trailing whitespace
Pau Espin Pedrol
2017-12-29 20:48:51 +01:00 -
ac23ad5013
pySim-*.py: Set shebang to use python v2
Pau Espin Pedrol
2017-12-29 20:30:35 +01:00 -
1d087efc97
Support writing SMSP for sysmoUSIM-SJS1
Daniel Willmann
2017-08-31 10:08:45 +02:00 -
e960488338
fix writing of ICCID for sysmo-usim-sjs1
Philipp Maier
2017-03-21 17:24:31 +01:00 -
4146086d2f
Fix select control parameter
Philipp Maier
2017-03-21 12:05:30 +01:00 -
3ce84d9a44
cosmetic: missing newlines on last line of 2 files
Neels Hofmeyr
2017-03-21 13:07:46 +01:00 -
9b7c45d05d
README.md: Cosmetic/Formatting fixes
Harald Welte
2017-03-17 22:34:08 +01:00 -
42b6be8747
Update README with general project information and convert to Markdown
Harald Welte
2017-03-17 18:08:09 +01:00 -
9a1dcea7b3
Revert "Do not return the FCI information while selecting a file"
Harald Welte
2016-10-27 14:40:02 +02:00 -
4e824686f5
re-program: Instead of specifying the IMSI, read it from the card.
Holger Hans Peter Freyther
2012-08-15 15:56:05 +02:00 -
d56eb30eea
WIP.. EF.auth changes
1774493884132616307/zecke/tmp2
1774493884132616307/tmp_refs/heads/zecke/tmp2
1774490276105033003/zecke/tmp2
1774490276105033003/tmp_refs/heads/zecke/tmp2
1774490244313023991/zecke/tmp2
1774490244313023991/tmp_refs/heads/zecke/tmp2
1774484546784061323/zecke/tmp2
1774484546784061323/tmp_refs/heads/zecke/tmp2
1774480990910245950/zecke/tmp2
1774480990910245950/tmp_refs/heads/zecke/tmp2
1774474461886141898/zecke/tmp2
1774474461886141898/tmp_refs/heads/zecke/tmp2
1774474024222862931/zecke/tmp2
1774474024222862931/tmp_refs/heads/zecke/tmp2
1774472678605568043/zecke/tmp2
1774472678605568043/tmp_refs/heads/zecke/tmp2
zecke/tmp2
Holger Hans Peter Freyther
2015-11-05 09:35:10 +01:00 -
8c1b33c439
Do not return the FCI information while selecting a file
Jan Balke
2015-01-26 11:18:28 +01:00 -
3e84067a2b
Add provision support for sysmoUSIM-SJS1 cards
Jan Balke
2015-01-26 15:36:27 +01:00 -
c3ebd33544
Add PIN-ADM argument to the command line
Jan Balke
2015-01-26 12:22:55 +01:00 -
14b350f3a1
Allow changing the class byte for pdu messages
Jan Balke
2015-01-26 11:15:25 +01:00 -
e9e5ecbe30
Introduce a '--dry-run' option to skip actual card access
Harald Welte
2012-08-15 15:26:30 +02:00 -
c26b82939f
read_params_csv: Make sure we don't end up in endless loop
Harald Welte
2012-08-15 15:25:51 +02:00 -
7f62cecb61
pySim-prog: Add mode where it can re-generate a card from CSV
Harald Welte
2012-08-13 20:07:41 +02:00 -
130524b719
split parameter writing for CSV and SQL into separate functions
Harald Welte
2012-08-13 15:53:43 +02:00 -
533a0dce3a
Add provision support for sysmoUSIM-SJS1 cards
Jan Balke
2015-01-26 15:36:27 +01:00 -
29474b0d5b
Add PIN-ADM argument to the command line
Jan Balke
2015-01-26 12:22:55 +01:00 -
800c9eb097
Do not return the FCI information while selecting a file
Jan Balke
2015-01-26 11:18:28 +01:00 -
73b686f7ee
Allow changing the class byte for pdu messages
Jan Balke
2015-01-26 11:15:25 +01:00 -
1f81cbf1f0
ccc: Fix SMSP generation in CCC tool as well
1774490253807642958/tmp_refs/heads/ccc
1774490253807642958/ccc
1774484348383763208/tmp_refs/heads/ccc
1774484348383763208/ccc
1774483696099467397/tmp_refs/heads/ccc
1774483696099467397/ccc
1774481725176233273/tmp_refs/heads/ccc
1774481725176233273/ccc
1774472156094622151/tmp_refs/heads/ccc
1774472156094622151/ccc
1774472151089110053/tmp_refs/heads/ccc
1774472151089110053/ccc
1774469582658191513/tmp_refs/heads/ccc
1774469582658191513/ccc
ccc
Sylvain Munaut
2011-12-27 01:30:47 +01:00 -
487d01833d
27c3: Add a ccc-fix script to correct bad SMSP file ...
Sylvain Munaut
2010-12-26 21:31:24 +01:00 -
33339a6daa
Import of the programming tool
Sylvain Munaut
2010-12-26 01:01:21 +01:00 -
93ec5f3566
Initial add of 27C3 HLR management tools
Sylvain Munaut
2010-12-26 00:11:19 +01:00 -
2fc205ceb9
cards: sysmocom SysmoSIM-GR2 support added to cards
Sylvain Munaut
2013-12-23 17:22:56 +01:00 -
9f13897408
pySim-read: MISDN is not mandatory
Sylvain Munaut
2013-07-18 10:36:51 +02:00 -
7be92ff5d2
Move encoder functions for ICCID, IMSI and PLMN to pySim.utils for consistency.
Alexander Chemeris
2013-07-10 11:18:06 +04:00 -
6e58914746
Add an utility to read data from a SIM card.
Alexander Chemeris
2013-07-04 17:34:06 +04:00 -
5e96c3d910
utils: Add functions to decode IMSI and ICCID from EF raw data.
Alexander Chemeris
2013-07-04 17:33:33 +04:00 -
21885249cf
Implement setting of EF.ACC file in GrcardSim and _MagicSimBase
Alexander Chemeris
2013-07-02 16:56:55 +04:00 -
5da8d4e0d4
cards: Fix spacing according to PEP
Sylvain Munaut
2013-07-02 15:13:24 +02:00 -
053c89578c
cards: Fix comment position
Sylvain Munaut
2013-07-02 15:12:32 +02:00 -
44e4636755
re-program: Instead of specifying the IMSI, read it from the card.
1774497284581787982/zecke/hacks
1774497284581787982/tmp_refs/heads/zecke/hacks
1774484429228031964/zecke/hacks
1774484429228031964/tmp_refs/heads/zecke/hacks
1774483865005504147/zecke/hacks
1774483865005504147/tmp_refs/heads/zecke/hacks
1774482874836995535/zecke/hacks
1774482874836995535/tmp_refs/heads/zecke/hacks
1774479481873489014/zecke/hacks
1774479481873489014/tmp_refs/heads/zecke/hacks
zecke/hacks
Holger Hans Peter Freyther
2012-08-15 15:56:05 +02:00 -
93315bd466
Introduce a '--dry-run' option to skip actual card access
Harald Welte
2012-08-15 15:26:30 +02:00 -
69c2ce2525
read_params_csv: Make sure we don't end up in endless loop
Harald Welte
2012-08-15 15:25:51 +02:00 -
8b59a55488
pySim-prog: Add mode where it can re-generate a card from CSV
Harald Welte
2012-08-13 20:07:41 +02:00 -
1d5968cfcf
split parameter writing for CSV and SQL into separate functions
Harald Welte
2012-08-13 15:53:43 +02:00 -
cca41795a7
usim/opc: Derive OPC from KI and OP
Holger Hans Peter Freyther
2012-03-22 15:23:14 +01:00 -
93b38cd0f5
usim/opc: Add support to write completely random OPC
Harald Welte
2012-03-22 14:31:36 +01:00 -
4d91bf449f
sysmoUSIM-GR1: Add basic (hacky) support for the sysmoUSIM-GR1
Holger Hans Peter Freyther
2012-03-22 14:28:38 +01:00 -
8ca49e9ca8
cards: SMSP is left padded not right padded
Sylvain Munaut
2011-12-10 09:57:50 +01:00 -
9977c86e96
pySim-prog: Fix SMSC 'number type' field to 0x81
Sylvain Munaut
2011-12-10 09:57:16 +01:00 -
607ce2a029
Fix computation of SMSP from a SMSC number
Sylvain Munaut
2011-12-08 20:16:43 +01:00 -
1a914439b8
Whitespace fixes
Sylvain Munaut
2011-12-08 20:08:26 +01:00 -
e10394bfb6
Add sysmoSIM-GR1 as alias to grcardsim
Harald Welte
2011-12-07 12:34:14 +01:00 -
2c0ff3a167
correctly compute the ICCID (19 digits, including luhn checksum)
Harald Welte
2011-12-07 12:34:13 +01:00 -
5dffefbf0c
pySim-prog.py: pyflakes doesn't find Importerror..
Holger Hans Peter Freyther
2011-11-22 21:18:06 +01:00 -
50e7c03816
README: Mention the necessary wait_for_card
Holger Hans Peter Freyther
2011-07-27 08:55:18 +02:00 -
3156d9073f
cards: Add support for grcard.cn (Green Card) SIM cards
Harald Welte
2011-03-22 21:48:19 +01:00 -
982a3075f9
commands: Check SW for UPDATE BIN / UPDATE REC / VERIFY CHV
Harald Welte
2011-03-22 21:47:20 +01:00 -
454bd52572
27c3: Add a ccc-fix script to correct bad SMSP file ...
1774495271657925789/tmp_refs/heads/27c3
1774495271657925789/27c3
1774492950027169652/tmp_refs/heads/27c3
1774492950027169652/27c3
1774487690199145980/tmp_refs/heads/27c3
1774487690199145980/27c3
1774484439739561090/tmp_refs/heads/27c3
1774484439739561090/27c3
1774481526132125490/tmp_refs/heads/27c3
1774481526132125490/27c3
1774474023965854079/tmp_refs/heads/27c3
1774474023965854079/27c3
1774472673137767255/tmp_refs/heads/27c3
1774472673137767255/27c3
27c3
Sylvain Munaut
2010-12-26 21:31:24 +01:00 -
be6f44dc14
Import of the programming tool
Sylvain Munaut
2010-12-26 01:01:21 +01:00 -
4876712f90
Initial add of 27C3 HLR management tools
Sylvain Munaut
2010-12-26 00:11:19 +01:00 -
530076ebba
commands: Fix bug in verify_chv.
Sylvain Munaut
2010-12-23 20:28:58 +01:00 -
9f120e0169
pySim-prog: Fix insertion of Ki in HLR. Need to escape like DBI does it
Sylvain Munaut
2010-12-23 20:28:24 +01:00 -
8d243e8847
pySim-prog: Fix crash when using manuam imsi/iccid/kc
Sylvain Munaut
2010-12-23 20:27:48 +01:00 -
98d2b85a97
pySim-prog: Check that batch mode is used with auto parameters
Sylvain Munaut
2010-12-23 20:27:25 +01:00 -
8f7d3ba8ba
pySim-prog: Change logic to support batch programming
Sylvain Munaut
2010-12-09 13:32:48 +01:00 -
bdca252fb0
transport: Change transport api to allow for wait_for_card/connect/disconnect
Sylvain Munaut
2010-12-09 13:31:58 +01:00 -
9c8729a2d1
pySim-prog: Fix pcsc device selection and link creation
Sylvain Munaut
2010-12-08 23:20:27 +01:00 -
245d534962
transport/pcsc: Remove obsolete/debug code
Sylvain Munaut
2010-12-08 22:42:07 +01:00