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
osmith/wip
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
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
osmith/wip
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
2bc21316e5
cards: remove unused function card_autodetect()
Philipp Maier
2021-10-05 14:53:12 +02:00 -
ea95c39cdc
pySim-shell: refactor __main__ section
Philipp Maier
2021-09-16 13:10:19 +02:00 -
64b28378bc
cards: FairwavesSIM: force SIM APDUs during programming
Philipp Maier
2021-10-05 13:58:25 +02:00 -
c5501af9a8
pySim-prog: fix typo
Philipp Maier
2021-10-01 12:06:02 +02:00 -
f0241451d3
pySim-shell: verify_adm: turn error messages into exceptions
Philipp Maier
2021-09-22 16:35:55 +02:00 -
48e1b90eb8
card_handler: make reader (sl) operations optional.
Philipp Maier
2021-09-17 13:22:32 +02:00 -
8bf2125a19
transport/pcsc: make sure reader is disconnected
Philipp Maier
2021-09-22 15:30:21 +02:00 -
7328f10165
transport/init: print exception type if the execption has no string
Philipp Maier
2021-09-21 10:12:48 +02:00 -
af0f086497
pySim-prog: rename card_handler option to card_handler_config
Philipp Maier
2021-09-17 17:29:46 +02:00 -
a8c9ea9cc7
pySim-shell: move command desc and verify_adm to PySimCommands
Philipp Maier
2021-09-16 12:51:46 +02:00 -
b18eed072c
pySim-prog: rename card_handler to CardHandler
Philipp Maier
2021-09-17 12:35:58 +02:00 -
82511e5218
pySim-prog: rename variable card_handler
Philipp Maier
2021-09-17 13:38:36 +02:00 -
c3927ec580
update readme detail about cmd2 - make sure people get 1.5 from pip instead of some old debian-pkg
Joachim Steiger
2021-08-27 17:14:52 +02:00 -
465ad32097
Use README.md as long description in package metadata
andrew-ma
2021-08-03 08:34:57 -07:00 -
2e6dc03f34
Allow update_binary function to write more than 255 bytes
andrew-ma
2021-07-31 22:18:24 -07:00 -
bb73e516cb
cards: rename class "Card" to "SimCard"
Philipp Maier
2021-05-05 16:14:00 +02:00 -
f201166999
pySim/commands: Add envelope() method for ENVELOPE command
Harald Welte
2021-05-24 23:19:30 +02:00 -
14105dce99
implement more files with TLV + construct
Harald Welte
2021-05-31 08:48:51 +02:00 -
592b32ec91
ts_31_102: Fully support USIM EF.AD
Harald Welte
2021-06-05 11:26:36 +02:00 -
f12979dd58
ts_31_102: Start using pySim.tlv to implement more DF.5GS files
Harald Welte
2021-05-29 21:47:13 +02:00 -
1a4e9fd163
cmd2: Constrain version to >= 1.3.0 but < 2.0.0
Harald Welte
2021-06-11 23:45:26 +02:00 -
fb50621570
filesystem: Introduce support for TLV parser
Harald Welte
2021-05-29 21:28:24 +02:00 -
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