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
-
c975251a48
filesystem: Don't pass empty string to parse_select_response()
Harald Welte
2022-02-11 16:31:15 +01:00 -
81f4b4058b
Extend unit test coverage for construct, add [some] tests for TLV
Harald Welte
2022-02-12 10:31:27 +01:00 -
d0519e0c37
construct: Add Construct for variable-length int 'GreedyInteger'
Harald Welte
2022-02-11 18:05:48 +01:00 -
f0592812e6
transport/bt_rsap.py: fix unknown variable in reset_card()
fixeria/btsap
Vadim Yanitskiy
2022-02-13 22:27:07 +06:00 -
d5056cd3ca
transport/bt_rsap.py: properly implement get_atr() method
Vadim Yanitskiy
2022-02-13 22:26:44 +06:00 -
ccb8499ea9
transport: add Bluetooth (SIM Access Profile) based transport
Gabriel K. Gegenhuber
2022-02-13 21:51:27 +06:00 -
e8d177d88f
tlv: Convert CamelCase class name to snake_case in json
Harald Welte
2022-02-11 17:08:45 +01:00 -
9a2a6691b0
tlv: Function for flattening the list-of-dict output of TLV decoder
Harald Welte
2022-02-11 15:44:28 +01:00 -
425038ffbc
utils: Fix missing Optional[] in type annotations
Harald Welte
2022-02-10 19:32:04 +01:00 -
c91085e744
cosmetic: Switch to consistent four-spaces indent; run autopep8
Harald Welte
2022-02-10 18:05:45 +01:00 -
181c7c5930
ts_102_221: Implement proper parsing of EF.DIR
Harald Welte
2022-02-10 14:18:32 +01:00 -
ca60ac253e
filesystem.py: Accept both a class or an instance as TLV._tlv member
Harald Welte
2022-02-10 18:01:02 +01:00 -
6551627cb8
ts_31_102: TLV._tlv must point to the class, not an instance
Harald Welte
2022-02-10 17:51:05 +01:00 -
944cd2fcf8
filesystem: Fix TLV decode/encode
Harald Welte
2022-01-21 16:01:29 +01:00 -
e8947493e6
Better decode of EF.UST, EF.EST and EF.IST
Harald Welte
2022-02-10 10:33:20 +01:00 -
08b2499c35
utils.py: Fix some tuple type annotations
Harald Welte
2022-02-10 15:23:36 +01:00 -
5036877147
utils.py: type annotations for DataObject related methods
Harald Welte
2022-02-10 15:22:22 +01:00 -
b060833e9a
ts_102_221: Handle nested security condition data objects
Harald Welte
2022-02-10 12:45:37 +01:00 -
aaf5931b60
ts_51_011: Fix type annotation for Tuple[int, int]
Harald Welte
2022-02-10 14:53:12 +01:00 -
6113fe9929
ts_51_011: Fix typo in EF_MMSUP
Harald Welte
2022-01-21 15:51:35 +01:00 -
06c4a5b2d9
ts_31_102: EF.PNN encoding is identical to that of DF.GSM
Harald Welte
2022-01-21 15:49:00 +01:00 -
362d2d0433
publish also the HTML manual for pySim
Harald Welte
2022-02-09 21:01:00 +01:00 -
5981aa5c7f
contrib/jenkins.sh: Fix PUBLISH
Harald Welte
2022-02-09 18:02:31 +01:00 -
6b08fc3b49
contrib/jenkins.sh: first upload manuals, then execute physical tests
Harald Welte
2022-02-09 17:01:46 +01:00 -
bf82cebb7b
avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor'
Harald Welte
2022-02-09 16:36:53 +01:00 -
f03894aa65
update pyyaml dependency to >= 5.1
Harald Welte
2022-02-09 13:57:15 +00:00 -
e91405e04e
implement shell command to update PLMN in IMSI
Bjoern Riemer
2021-12-17 15:16:35 +01:00 -
9c93cec32a
transport/serial: fix for Python 3
Steve Markgraf
2022-01-25 00:57:06 +01:00 -
0c840f0aab
ts_102_221: decode/encode EF.PL
Harald Welte
2022-01-21 15:42:22 +01:00 -
b3d68c0b98
pySim-shell: alphabetically sort name of files in 'dir' command
Harald Welte
2022-01-21 15:31:29 +01:00 -
2a701eea60
cosmetic: Use EF.FDN instead of EF_FDN in ts_51_011.py
Harald Welte
2022-01-21 15:20:42 +01:00 -
ff2d86d977
ts_31_102: Add support for EF.ECC (emergency call codes)
Harald Welte
2022-01-21 15:19:47 +01:00 -
ffee89a031
add missing bit definition for NG-RAN in xAcT
Bjoern Riemer
2022-01-20 22:05:22 +01:00 -
da57ef1529
catch and ignore SwMatchError on probing for AID's
Bjoern Riemer
2022-01-18 15:38:14 +01:00 -
3e33cc7157
Add pyyaml to requirements.txt
Julian Lemmerich
2022-01-13 15:41:54 +01:00 -
0e4515f53d
filesystem: use correct AID for applications found by probing
Philipp Maier
2022-01-04 18:04:44 +01:00 -
8d8bdef637
filesystem: actively probe applications
Philipp Maier
2021-12-01 11:48:27 +01:00 -
e903a40530
fix invalid dependency
johannes.richter
2021-09-10 14:57:28 +02:00 -
c104095c69
fix: Decoder may raise KeyError
Lennart Rosam
2021-11-25 16:19:53 +01:00 -
931bc66331
cards: Make select_adf_by_aid() use prefix AID selection
Philipp Maier
2021-11-18 11:25:34 +01:00 -
abc2336571
pySim-read: put try/catch block around select_adf_by_aid()
Philipp Maier
2021-11-15 17:24:44 +01:00 -
47833bc176
cards: make _get_aid case insensitive
Philipp Maier
2021-11-19 14:04:12 +01:00 -
9e42e7ffce
profile: decode_select_response use object instead 'Any'
Philipp Maier
2021-11-16 15:46:42 +01:00 -
5998a3a8b3
profile: decode_select_response can be a static method
Philipp Maier
2021-11-16 15:16:39 +01:00 -
825b564115
pySim-shell: export command: guess number of records when not specified
Philipp Maier
2021-11-10 17:36:26 +01:00 -
f1fc619b2d
commands: use send_apdu_checksw() in method read_record
Philipp Maier
2021-11-11 12:06:21 +01:00 -
4ab971c62e
ts_51_011: move _decode_select_response into profile class
Philipp Maier
2021-11-11 11:53:49 +01:00 -
a028c7d7aa
pySim-shell: add method to match card profile to card
Philipp Maier
2021-11-08 16:12:03 +01:00 -
055b80aa5c
pySim-read: do not select ADF.ISIM again
Philipp Maier
2021-11-18 10:33:57 +01:00 -
46c6154e9d
cards: select_adf_by_aid: split off aid completion
Philipp Maier
2021-11-16 16:36:50 +01:00 -
95ce6b1708
ARA-M related command support
Harald Welte
2021-10-20 18:40:54 +02:00 -
a4df942fe6
ts_51_011: add status word definition
Philipp Maier
2021-11-10 17:13:40 +01:00 -
6b590c5483
filesystem: CardProfile: initialize empty sw table as empty dict
Philipp Maier
2021-11-10 16:38:40 +01:00 -
51cad0d234
filesystem: define class byte and select control bytes in profile
Philipp Maier
2021-11-08 15:45:10 +01:00 -
4e2e1d9fd3
filesystem: make sure the card is in a defined state
Philipp Maier
2021-11-08 15:36:01 +01:00 -
d454fe7843
filesystem: do not read AIDs when no apps are defined
Philipp Maier
2021-11-08 15:32:23 +01:00 -
5af7bdf5c7
filesystem: fix decode_select_response
Philipp Maier
2021-11-04 12:48:41 +01:00 -
9764de202b
pySim-shell: print newline on exit with CTRL+D
Philipp Maier
2021-11-03 10:44:39 +01:00 -
e087f909b3
commands: return none, when offset exceeds file length
Philipp Maier
2021-11-03 11:46:05 +01:00 -
712251a6e0
commands: complete documentation strings
Philipp Maier
2021-11-04 17:09:37 +01:00 -
1db33115ea
utils: cosmetic: remove stray comment
Philipp Maier
2021-11-05 16:56:23 +01:00 -
796ca3daf9
commands: do not check SW manually, use send_apdu_checksw()
Philipp Maier
2021-11-01 17:13:57 +01:00 -
fc769e2fdb
contrib/jenkins.sh: make pylint warn about unnecessary semicolon
Vadim Yanitskiy
2021-11-05 16:05:20 +03:00 -
dbd5ed64d7
Python is not C: get rid of unnecessary semicolons
Vadim Yanitskiy
2021-11-05 16:20:52 +03:00 -
23198c4e90
sim-rest-server: Add example systemd service/unit file
Harald Welte
2021-11-03 12:48:58 +01:00 -
df3d01bedc
sim-rest-client: Add support for 'info' command to get IMSI+ICCID
Harald Welte
2021-11-03 12:33:42 +01:00 -
33f8da8a52
sim-rest-server: Add capability to obtain IMSI + ICCID of card
Harald Welte
2021-11-03 12:14:50 +01:00 -
7a401a24bb
sim-rest-client: Errors are plain text, not JSON
Harald Welte
2021-11-03 12:14:14 +01:00 -
c8387dc031
ts_51_011: implement CardProfileSIM as a class
Philipp Maier
2021-10-29 17:59:50 +02:00 -
946226a5d1
filesystem: fix reset mechanism
Philipp Maier
2021-10-29 18:31:03 +02:00 -
30b225f3bf
cards: add method to modify APDU parameters (cla, sel_ctrl)
Philipp Maier
2021-10-29 16:41:46 +02:00 -
51e4cb7a8f
commands: use python style commends to describe methods
Philipp Maier
2021-10-29 16:48:31 +02:00 -
305e1f8ee4
cards: use python style commends to describe methods
Philipp Maier
2021-10-29 16:35:22 +02:00 -
bd02f84fbd
pySim-shell: Improve documentation
Harald Welte
2021-10-21 14:40:39 +02:00 -
9a75410a88
utils: Fix BER-TLV tag decode for multi-byte tags
Harald Welte
2021-10-21 13:46:59 +02:00 -
5895380a45
tlv: Fix recursive initialization from_dict()
Harald Welte
2021-10-21 11:33:44 +02:00 -
04c1302b68
tlv: Don't require encoder/decoder methods for TLV without value
Harald Welte
2021-10-21 10:02:10 +02:00 -
0bc5326b76
pySim-shell: Use iteration when unregistering command sets
Harald Welte
2021-10-20 14:24:41 +02:00 -
ec95053249
pySim-shell: Add suspend_uicc command
Harald Welte
2021-10-20 13:09:00 +02:00 -
2a33ad2c49
pySim-shell: Add support for GSM-R SIM Cards with DF.EIRENE
Harald Welte
2021-10-20 10:14:18 +02:00 -
76667644ea
pySim-shell: add bulk provisioning support
Philipp Maier
2021-09-22 16:53:22 +02:00 -
57f65eedfc
ts_31_10x: add a class for CardApplicationXSIM
Philipp Maier
2021-10-18 14:09:02 +02:00 -
9b227de719
pySim-shell: add example script to dump authentication config
Harald Welte
2021-10-15 21:19:38 +02:00 -
eb45838c47
sysmocom_sja2: Properly decode EF.USIM_SQN freshness
Harald Welte
2021-10-16 10:44:23 +02:00 -
7a8aa863a6
ts_51_011: Add encoder for EF.SST
Harald Welte
2021-10-14 20:46:19 +02:00 -
611dd783f6
commands: Fix read_binary() for non-zero offset
Harald Welte
2021-10-14 20:44:23 +02:00 -
b52feede25
pySim-shell: add echo command
Philipp Maier
2021-09-22 16:43:13 +02:00 -
5d698e575a
pySim-shell: allow card insertion at runtime
Philipp Maier
2021-09-16 13:18:01 +02:00 -
3c309886e9
ts_51_011: fix select response decoder
Philipp Maier
2021-10-14 17:55:04 +02:00 -
80901d6d39
commands: fix update_binary() with non-zero offset
Harald Welte
2021-10-14 19:13:08 +02:00 -
4c1dca04a5
CardModel: Document how this 'magic' works in some comments.
Harald Welte
2021-10-14 17:48:25 +02:00 -
f898c28284
51.011: Fix EF_SST decoder for services > table description
Harald Welte
2021-10-14 16:13:23 +02:00 -
1aae4a0b88
filsystem: Make NotImplementedError more verbose.
Harald Welte
2021-10-14 16:12:42 +02:00 -
7cb94e4193
USIM: Add ENVELOPE and ENVELOPE-SMS shell commands
Harald Welte
2021-10-08 15:47:57 +02:00 -
846a898ee0
Add API + shell command for sending TERMINAL PROFILE to card
Harald Welte
2021-10-08 15:47:16 +02:00 -
f44256c7df
pysim-Shell: Add sysmocom SJA2 card specific bits
Harald Welte
2021-10-14 15:53:39 +02:00 -
9edbdb93f7
cat: Fix SMS/ENVELOPE related IE tag definitions
Harald Welte
2021-10-08 15:46:42 +02:00 -
f235954ebb
cat: Add more terminal profile bitmask definitions
Harald Welte
2021-10-08 15:46:25 +02:00 -
6477309107
cards: remove "auto_once" from possible ctype options
Philipp Maier
2021-10-05 14:42:01 +02:00 -
913e6166d8
card_handler: clean-up
Harald Welte
2021-10-11 10:55:00 +02:00