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
-
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 -
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