mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 14:58:33 +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
-
bb3b5df8bf
Introduce new object-oriented TLV parser/decoder/encoder
Harald Welte
2021-05-24 23:15:54 +02:00 -
8f892fbbe8
ts_102_221: Add construct for contents of EF.UMPC
Harald Welte
2021-06-05 10:12:43 +02:00 -
07c7b1f592
construct: Recursive normalization of construct parse result
Harald Welte
2021-05-28 22:01:29 +02:00 -
7fca85b42c
utils: Make filter_dict() transparently pass non-dict
Harald Welte
2021-05-29 21:27:46 +02:00 -
f0885b1042
utils: Add bertlv_encode_tag()
Harald Welte
2021-05-24 23:18:59 +02:00 -
6912b1b67d
utils: Add 'raw' version of TLV tag decoders
Harald Welte
2021-05-24 23:16:44 +02:00 -
9f3b44d6ff
utils: COMPREHENSION-TLV support
Harald Welte
2021-05-04 18:18:09 +02:00 -
485692bc77
shell: Fix activate_file + deactivate_file commands
Harald Welte
2021-05-25 22:21:44 +02:00 -
34b05d3707
shell: Add 'status' command to issue STATUS APDU
Harald Welte
2021-05-25 22:03:13 +02:00 -
8dfd6d070f
transport: Add support for SW 6Cxx
Harald Welte
2021-05-25 21:54:45 +02:00 -
e7506036bd
Introduce unit test for bertlv_parse_one()
Harald Welte
2021-05-21 21:48:11 +02:00 -
c1475307c8
bertlv_parse_one: Also return remainder after end of TLV
Harald Welte
2021-05-21 21:47:55 +02:00 -
de02718631
add unit tests for BER-TLV encoder/decoder functions
Harald Welte
2021-05-04 20:06:45 +02:00 -
c781ab85bc
contrib: Add sim-rest-{server,client}.py
Harald Welte
2021-05-23 11:50:19 +02:00 -
0f96c02815
commands: remove superfluous getter/setter for cla_byte property
Harald Welte
2021-05-23 14:07:23 +02:00 -
951f263de7
commands: resolve inconsistency on sel_ctrl
Harald Welte
2021-05-23 14:04:51 +02:00 -
5933c3b88d
pySim-read: adjust meaning of HPLMN/OPLMN flags in EF_SPN
Robert Falkenberg
2021-05-17 18:24:23 +02:00 -
86b09da61d
ts_31_103: finish decoder and fix encoder for EF.PCSCF
Philipp Maier
2021-04-30 15:13:57 +02:00 -
be18f2a419
utils: split string formatting from dec_addr_tlv
Philipp Maier
2021-04-30 15:00:27 +02:00 -
42804d7803
commands: pad short data input in update_record()
Philipp Maier
2021-04-30 11:56:23 +02:00 -
59f9a38623
commands: check for status word in USIM authenticate command
Harald Welte
2021-05-22 00:17:26 +02:00 -
2db843e7b5
transport/pcsc: Raise exception if reader number is out of range
Harald Welte
2021-05-21 22:51:28 +02:00 -
fc5f28db3b
cards: populate name property in Card, UsimCard and IsimCard
Philipp Maier
2021-05-05 12:18:41 +02:00 -
e2c59a8b91
pySim_prog: remove unused import for dec_addr_tlv
Philipp Maier
2021-04-30 14:57:41 +02:00 -
f658c55745
Update README
Robert Falkenberg
2021-05-17 18:08:45 +02:00 -
b07a3e9c87
Add codecs for EF_SPN and GSM strings via construct
Robert Falkenberg
2021-05-07 15:23:20 +02:00 -
c957ce8adc
ts_51_011: fix encoder of EF_SPN:
Philipp Maier
2021-04-29 17:20:18 +02:00 -
90f7497d6d
ts_102_221: add missing TLV key '9B'/'target_ef' for sysmoUSIM-SJS1
Robert Falkenberg
2021-05-06 09:57:37 +02:00 -
dddcc60f2d
ModemATCommandLink: improve response time for "+CME ERROR"
Robert Falkenberg
2021-05-06 09:55:57 +02:00 -
7cb7c78ca8
ModemATCommandLink: add/adjust some logging
Robert Falkenberg
2021-05-06 09:52:31 +02:00 -
e5a5ffb44f
ModemATCommandLink: return lower case hexstring
Robert Falkenberg
2021-05-06 09:50:43 +02:00 -
4210a7001d
pySim-read: fix wrong comment
Philipp Maier
2021-05-05 14:17:59 +02:00 -
7743c20d2a
docs/shell.rst: Document verify_adm and tree commands
Harald Welte
2021-05-03 23:30:11 +02:00 -
903bdaaca8
transport: Mark more methods as abstractmethod
Harald Welte
2021-05-03 22:58:53 +02:00 -
daf2b392f0
shell: Add 'reset' command to reset the card
Harald Welte
2021-05-03 23:17:29 +02:00 -
917d98c1a5
BER-TLV EF support (command, filesystem, shell)
Harald Welte
2021-04-21 11:51:25 +02:00 -
fc4833ec20
ts_31_103: Use EF_ARR decoder from TS 102 221
Harald Welte
2021-05-02 21:46:06 +02:00 -
4ae228afc7
Implement EF.ARR (Access Rule Reference) decoding
Harald Welte
2021-05-02 21:29:04 +02:00 -
90441436a0
utils: Introduce CommandSet abstraction
Harald Welte
2021-05-02 21:28:12 +02:00 -
3de6ca2d20
utils: Introduce DataObject representation
Harald Welte
2021-05-02 20:05:56 +02:00 -
f39a4cb369
utils: specify type of parameter name in enc_spn
Philipp Maier
2021-04-29 17:14:43 +02:00 -
e7d417955d
ts_51_011, utils: fix Access Technology Identifier coding
Philipp Maier
2021-04-29 16:20:07 +02:00 -
b919f8bd75
utils: fix dec_xplmn_w_act() and format_xplmn_w_act()
Philipp Maier
2021-04-27 18:28:27 +02:00 -
6c5cd8031d
utils: fix mcc/mnc encoding in dec_plmn (EF_PLMNsel)
Philipp Maier
2021-04-23 21:19:36 +02:00 -
e6f8d683e1
utils: specify paremeters of enc_plmn() as Hexstr
Philipp Maier
2021-04-23 21:14:41 +02:00 -
52efc0372c
ModemATCommandLink: fix AttributeError exception in __del__()
Vadim Yanitskiy
2021-05-02 23:07:38 +02:00 -
18fb82bd38
Speed up AT command interface (~130 times faster)
Robert Falkenberg
2021-05-02 10:21:23 +02:00 -
e9fe09baff
contrib/jenkins.sh: run pylint to find potential errors
Vadim Yanitskiy
2021-05-02 01:46:55 +02:00 -
895fa6f83c
[pylint] Fix referencing undefined variable 'shutil'
Vadim Yanitskiy
2021-05-02 02:36:44 +02:00 -
e8c34ca3e2
[pylint] Declare abstract LinkBase._send_apdu_raw() method as such
Vadim Yanitskiy
2021-05-02 02:29:52 +02:00 -
eb395867ab
[pylint] Fix float vs integer division in cards.py
Vadim Yanitskiy
2021-05-02 02:23:48 +02:00 -
5e41eeb6fa
[pylint] Fix reference to undefined variable 'in_hex'
Vadim Yanitskiy
2021-05-02 02:20:33 +02:00 -
85302d6757
[pylint] Mark abstract MagicSimBase class as such
Vadim Yanitskiy
2021-05-02 02:18:42 +02:00 -
d9a8d2fc43
[pylint] Fix calling non-existing iteritems() of dict
Vadim Yanitskiy
2021-05-02 02:12:47 +02:00 -
03c67f775b
[pylint] Declare some fields in _MagicSimBase class
Vadim Yanitskiy
2021-05-02 02:10:39 +02:00 -
5ef1650696
[pylint] Mark abstract CardKeyProvider.get() method as such
Vadim Yanitskiy
2021-05-02 01:52:56 +02:00 -
1a95d2be61
[pylint] fix non-existing 'res' in EF_CNL._encode_record_hex()
Vadim Yanitskiy
2021-05-02 01:42:09 +02:00 -
8e15c18498
transport/AT: Make sure PDU has upper case hex digits
Robert Falkenberg
2021-05-01 08:07:27 +02:00 -
f9cbe090e4
ts_51_011: fix encoding of EF.MSISDN
Philipp Maier
2021-04-23 19:37:36 +02:00 -
0f1862799f
setup: set minimum required versions for contruct and cmd2
Martin Hauke
2021-04-30 14:43:44 +02:00 -
278816251d
filesystem.py: Introduce place-holder for BER-TLV files
Harald Welte
2021-04-21 11:16:31 +02:00 -
71290077b9
ts_31_102, ts_31_103: Add EF.FromPreferred
Harald Welte
2021-04-21 10:58:24 +02:00 -
16ec96a0c9
ts_31_103: Add Rel 16.6 enhancements (MuDMiDConfigData)
Harald Welte
2021-04-21 10:46:19 +02:00 -
35dfe826c0
ts_31_103: Use EF_SMS, EF_SMSS, EF_SMSR, EF_SMSP from ts_51_011
Harald Welte
2021-04-21 10:50:12 +02:00 -
3990ebb810
ts_31_102: Define DF_WLAN, DF_ProSe and DF_HNB with their EFs
Harald Welte
2021-04-20 23:55:14 +02:00 -
2f831035ef
ts_31_102: Extend DF_5GS to 3GPP 31.102 R16.6
Harald Welte
2021-04-20 23:54:53 +02:00 -
b46cb3ffa2
utils: fix encoding of EF.MSISDN
Philipp Maier
2021-04-20 22:38:21 +02:00 -
977035c429
filsystem.py: Add more information to exceptions
Harald Welte
2021-04-21 11:01:26 +02:00 -
8fe1d202c7
pySim-read: Migrate over to use shared argparse from transport
Harald Welte
2021-04-11 12:31:40 +02:00 -
28c2431f9c
Move reader related argument parser to transport module
Harald Welte
2021-04-11 12:19:36 +02:00 -
fe1fb037b5
filesystem: fix wrong helpstring for update_record_decoded
Philipp Maier
2021-04-20 22:33:12 +02:00 -
0adabf6161
filesystem: fix wrong comment
Philipp Maier
2021-04-20 22:36:41 +02:00 -
80ce71f58c
pySim-shell: separate export summary with a headline
Philipp Maier
2021-04-19 21:24:23 +02:00 -
04be9d6033
pysim-testdata/sysmoISIM-SJA2: change card in test rig
Philipp Maier
2021-04-21 12:13:54 +02:00 -
bba2bd4348
setup: add (nested) library pySim.transport
Robert Falkenberg
2021-04-16 12:43:11 +02:00 -
9d16fbca4a
Use construct for EF_AD in pySim-{shell, prog, read}.py, cards.py
Robert Falkenberg
2021-04-12 11:43:22 +02:00 -
c8ff026782
pySim-shell: Introduce logical grouping of arguments
Harald Welte
2021-04-11 12:06:13 +02:00 -
f2e761ce20
pySim-shell: Migrate from optparse to argparse for the main()
Harald Welte
2021-04-11 11:56:44 +02:00 -
e4759fd5cd
contrib/jenkins.sh: Build and publish PDF manual
Harald Welte
2021-04-11 10:58:30 +02:00 -
348c195e97
rename manual to be consistent with osmo-gsm-manuals projects
Harald Welte
2021-04-11 10:58:14 +02:00 -
c9cdce3e02
fix various typos all over the code
Harald Welte
2021-04-11 10:28:28 +02:00 -
790b2709bd
lots of file definitions for classic SIM and USIM
Harald Welte
2021-04-11 00:01:35 +02:00 -
9853e247a2
ts_31_102.py: switch EF.Keys from imperative to declarative codec
Harald Welte
2021-04-10 19:08:25 +02:00 -
2db5cfb525
filesystem: Introduce 'construct' support
Harald Welte
2021-04-10 19:05:37 +02:00 -
703f933b40
pySim-shell: Add open_channel + close_channel commands
Harald Welte
2021-04-10 18:39:32 +02:00 -
a463161ae2
pySim-shell: Adds support for DEACTIVATE FILE + ACTIVATE FILE
Harald Welte
2021-04-10 18:17:55 +02:00 -
15fae98d2e
pySim-shell: Authenticate (3g) support
Harald Welte
2021-04-10 10:22:27 +02:00 -
e0f9ef1606
integrate 'construct' python library
Harald Welte
2021-04-10 17:22:35 +02:00 -
d0505bdb55
WIP: Add option to set UE operation mode in EF_AD (Administrative Data)
Robert Falkenberg
2021-02-24 14:06:18 +01:00 -
08028d02dc
README.md: Mention user manual
Harald Welte
2021-04-11 11:21:00 +02:00 -
11ee243c47
README.md: We have switched to gerrit for review
Harald Welte
2021-04-11 11:19:44 +02:00 -
e7887d7af5
README.md: Update dependencies
Harald Welte
2021-04-11 11:19:29 +02:00 -
edee155773
setup.py: add missing comma in list of dependencies
Harald Welte
2021-04-10 17:21:19 +02:00 -
b00e893e73
pySim-shell: Use poutput_json() whenever applicable
Harald Welte
2021-04-10 17:19:13 +02:00 -
5e749a79ac
extend JSONEncoder to serialze 'bytes' style objects as hex strings
Harald Welte
2021-04-10 17:18:17 +02:00 -
7829d8a357
shell: Add 'apdu_trace' settable parameter for hex-dumping APDUs
Harald Welte
2021-04-10 11:28:53 +02:00 -
eb05b2f60e
transport: Pass arbitrary kwargs to base-class constructor
Harald Welte
2021-04-10 11:01:56 +02:00 -
c34f9405f1
transport: Make all calls go through base class send_apdu_raw()
Harald Welte
2021-04-10 10:55:24 +02:00 -
4145d3c4af
shell: add edit_{record,binary}_decoded shell commands
Harald Welte
2021-04-08 20:34:13 +02:00 -
fe8a74490a
pySim/filesystem: Fix more Python 3.5 compatibility issues
Harald Welte
2021-04-10 11:51:54 +02:00