Commit Graph

  • 4d5fd25f31 global_platform: Add install_for_personalization command Harald Welte 2024-02-01 19:39:49 +01:00
  • 321973ad20 pySim-shell: Make 'apdu' command use logical (and secure) channel Harald Welte 2024-02-01 18:43:48 +01:00
  • 41a7379a4f Introduce GlobalPlatform SCP02 implementation Harald Welte 2023-12-28 20:51:52 +01:00
  • 890e1951fe Implement Global Platform SCP03 1774327441021434808/tmp_refs/heads/laforge/scp 1774327441021434808/laforge/scp 1774323221838171320/tmp_refs/heads/laforge/scp 1774323221838171320/laforge/scp laforge/scp Harald Welte 2024-02-02 22:56:35 +01:00
  • dd6895ff06 rename global_platform.scp02 to global_platform.scp Harald Welte 2024-02-04 15:04:32 +01:00
  • 3a0f881d84 Contstrain argparse integers to permitted range Harald Welte 2024-02-03 13:46:05 +01:00
  • 4b23130da9 global_platform: Fix --key-id argument Harald Welte 2024-02-04 14:00:27 +01:00
  • c84c04afb5 global_platform: add delete_key and delete_card_content Harald Welte 2024-02-03 13:29:57 +01:00
  • 0e9ad7b5d4 global_platform: add set_status command Harald Welte 2024-02-01 20:28:33 +01:00
  • 5dc8471526 global_platform: Add install_for_personalization command Harald Welte 2024-02-01 19:39:49 +01:00
  • 5bbd720512 pySim-shell: Make 'apdu' command use logical (and secure) channel Harald Welte 2024-02-01 18:43:48 +01:00
  • 71a7a19159 SCP02: Only C-MAC/C-ENCRYPT APDUs whose CLA byte indicates GlobalPlatform Harald Welte 2024-02-01 19:41:10 +01:00
  • ca3678e471 Add global_platform shell command establish_scp02 and release_scp Harald Welte 2024-01-31 18:51:00 +01:00
  • 1e052f1efa Introduce GlobalPlatform SCP02 implementation Harald Welte 2023-12-28 20:51:52 +01:00
  • 762a72b308 global_platform 'put_key': constrain ranges of KVN + KID in argparse Harald Welte 2024-02-03 13:27:47 +01:00
  • a2f1654051 move global_platform.py to global_platform/__init__.py Harald Welte 2024-01-31 22:05:34 +01:00
  • eecef54eee commands.py: Wrap the transport send_apdu* methods Harald Welte 2024-01-31 19:32:25 +01:00
  • 5918345c78 global_platform: implement GET STATUS command Harald Welte 2024-01-31 18:04:00 +01:00
  • 93bdf00967 pySim.esim: Add class for parsing/encoding eSIM activation codes Harald Welte 2024-01-30 21:15:39 +01:00
  • d7715043a3 osmo-smdpp: Add more GSMA TS.48 test profiles Harald Welte 2024-01-30 21:20:31 +01:00
  • 8a39d00cc3 osmo-smdpp: Support multiple different profiles Harald Welte 2024-01-30 21:01:01 +01:00
  • 3f3fd1a841 add SAIP template handling + v3.1 definitions Harald Welte 2024-01-28 14:03:21 +01:00
  • 263e3094ba requirements.txt: Switch to osmocom fork of asn1tools Harald Welte 2024-01-28 22:08:16 +01:00
  • e815e79db9 esim.saip: More type annotations Harald Welte 2024-01-29 07:55:39 +01:00
  • 9f55da998f esim.saip: Move OID to separate sub-module Harald Welte 2024-01-29 08:01:13 +01:00
  • 488427993d saip.personalization: Fix ICCID fillFileContent replacement Harald Welte 2024-01-28 18:08:53 +01:00
  • 0bce94996f saip.personalization: Also drop any fillFileOffset Harald Welte 2024-01-28 14:04:18 +01:00
  • 3d6df6ce13 [cosmetic] ara_m: Give a spec reference for the PERM-AR-DO Harald Welte 2024-01-27 21:10:01 +01:00
  • 7f2263b4a0 runtime: Reset selected_file_fcp[_hex] if SELECT returns no data Harald Welte 2024-01-27 21:42:45 +01:00
  • 9b1a9d9b2e ara_m: Use GlobalPlatform SELECT decoding Harald Welte 2024-01-27 21:31:39 +01:00
  • 5e0439f881 ara_m: Permit encoding of empty AID (--aid '') in ARA-M rules Harald Welte 2024-01-27 21:07:38 +01:00
  • 9fd4bbe42e osmo-smdpp: Constrain selection of CI certificate Harald Welte 2024-01-25 15:50:20 +01:00
  • 18d0a7de96 global_platform: Add shell command for PUT KEY Harald Welte 2024-01-25 15:46:11 +01:00
  • 280a9a3408 docs: Add missing global_platform store_data command docs Harald Welte 2024-01-25 15:43:48 +01:00
  • e6124b0aba add contrib/eidtool.py: Tool for checking + computing EID checksum Harald Welte 2024-01-25 09:08:26 +01:00
  • 6dadb6c215 docs: Update osmo-smdpp with pointer to sysmoEUICC1-C2T and SGP.26 Harald Welte 2024-01-25 19:07:14 +01:00
  • af87cd544f osmo-smdpp: Implement eUICC + EUM certificate signature chain validation Harald Welte 2024-01-19 21:29:06 +01:00
  • 45b7dc9466 Move X.509 related code from osmo-smdpp to pySim.esim.x509_cert Harald Welte 2024-01-19 19:28:15 +01:00
  • c83a963877 New pySim.esim.x509_cert module for X.509 certificate handling Harald Welte 2024-01-19 19:27:52 +01:00
  • 667d589f20 pySim.utils: Support datetime.datetime in JsonEncoder Harald Welte 2024-01-17 19:17:24 +01:00
  • ebb6f7f938 osmo-smdpp: Actually dump Rx/Tx JSON in JSON format and not as python dict Harald Welte 2024-01-17 19:36:47 +01:00
  • 0311c92e96 Fix encoding of decoded/json data in update_{record_binary}_decoded Harald Welte 2024-01-18 16:56:34 +01:00
  • 66b337079a pySim-shell: Permit 'reset' command also in unqeuipped stage Harald Welte 2024-01-16 18:59:43 +01:00
  • 4f3d11b378 euicc: Implement EID checksum verification + computation Harald Welte 2024-01-15 15:21:47 +01:00
  • cd18ed0a82 ts_102_221: Better explain 'selected file invalidated' Harald Welte 2024-01-15 09:21:03 +01:00
  • ecfb09037e global_platform: More definitions to support key loading Harald Welte 2024-01-14 17:31:01 +01:00
  • 1f7a9bd5b4 TLV: Add DGI encoding of "GP Scripting Language Annex B" Harald Welte 2024-01-14 10:09:07 +01:00
  • d5be46ae7e global_platform: Implement generic store_data command Harald Welte 2024-01-11 22:03:12 +01:00
  • 7ba09f9392 euicc: Migrate ECASD + ISD-R over to global_platform.CardApplicationSD Harald Welte 2024-01-11 15:46:58 +01:00
  • 91842b471d Constrain user input to hex-string in argparse Harald Welte 2024-01-11 22:03:37 +01:00
  • bef85dbc28 WIP: osmo-smdpp ES9+ support for ASN.1 endpoint 1774337655560346779/tmp_refs/heads/laforge/smdp_asn1 1774337655560346779/laforge/smdp_asn1 1774328567659045286/tmp_refs/heads/laforge/smdp_asn1 1774328567659045286/laforge/smdp_asn1 1774328558394984553/tmp_refs/heads/laforge/smdp_asn1 1774328558394984553/laforge/smdp_asn1 laforge/smdp_asn1 Harald Welte 2024-01-10 19:59:04 +01:00
  • d1cc8d0c1d euicc: Fix decoding of SubjectKeyIdentifier. Harald Welte 2024-01-09 23:34:24 +01:00
  • f2bcb44ccc pySim.saip.*: Support for parsing / operating on eSIM profiles Harald Welte 2024-01-05 23:43:56 +01:00
  • 5bbb144a31 Initial proof-of-concept SM-DP+ for GSMA consumer eSIM RSP Harald Welte 2023-12-11 12:46:47 +01:00
  • e76fae9c4c pySim-shell: Update manual with examples for using with eUICC ISD-R Harald Welte 2024-01-07 16:41:44 +01:00
  • c499dc79a8 euicc: Fix eUICC list_notifications command Harald Welte 2024-01-07 18:59:36 +01:00
  • 0002789a88 euicc: Fix delete_profile command Harald Welte 2024-01-07 18:48:05 +01:00
  • cfa62cb95b Allow logger to do lazy evaluation of format strings Harald Welte 2024-01-07 10:18:43 +01:00
  • d657708df2 add contrib/unber.py utility Harald Welte 2024-01-06 20:00:14 +01:00
  • 242197b53d Add pySim.esim.bsp module implementing BSP (BPP Protection Protocol) Harald Welte 2024-01-04 21:39:55 +01:00
  • 5b623a1247 ts_102_310: Add file definitions resembling ETSI TS 102 310 (EAP) Harald Welte 2024-01-04 12:44:18 +01:00
  • 62e570b620 ts_31_103: Add TLV + construct for EF_NAFKCA Harald Welte 2023-12-21 20:59:36 +01:00
  • 4fe7de8568 ts_31_103: Add construct for EF.GBABP and EF.GBANL Harald Welte 2023-12-21 20:58:56 +01:00
  • b0c9ccba66 construct: avoid StreamError exceptions due to files containing all-ff Harald Welte 2024-01-04 21:18:31 +01:00
  • e13403b206 ts_31_102: Start to use construct for EF.SUCI_Calc_Info Harald Welte 2023-12-21 22:02:34 +01:00
  • 9a48aea263 fileystem/tlv: remove unused imports Harald Welte 2024-01-01 21:10:23 +01:00
  • 19d2b93d7e move SUCI sub-classes to EF_SUCI_CalcInfo Harald Welte 2023-12-21 21:14:46 +01:00
  • 9d607978fa global_platform: Add support for more GET DATA TLVs Harald Welte 2023-12-28 21:57:09 +01:00
  • 1c0a249131 commands: Ignore exceptions during READ while UPDATE Harald Welte 2023-12-28 15:42:51 +01:00
  • db1684df04 sysmocom_sja2: Implement EF_CHV files using construct Harald Welte 2023-12-28 15:06:11 +01:00
  • ce01f48b00 test_files: Test decoder also with ff-padded input Harald Welte 2023-12-28 09:41:35 +01:00
  • bcd261583c tests_files.py: Reduce code duplication Harald Welte 2023-12-28 09:34:05 +01:00
  • 69bdcf5022 Fix TLV_IE_Collection.from_tlv in certain situations Harald Welte 2023-12-28 09:21:17 +01:00
  • a77f7e1eb9 ts_31_102: Implement decoders/encoders for EFs below DF.HNB Harald Welte 2023-12-27 16:29:00 +01:00
  • 6e6caa8b4a support UCS-2 characters in EF.MMSUP, EF.ADN, EF.SPN, EF.PNN, EF.ECC Harald Welte 2023-12-27 22:04:50 +01:00
  • f6fceb8684 Implement convoluted encoding of UCS-2 as per TS 102 221 Annex A Harald Welte 2023-12-27 21:44:56 +01:00
  • 842fbdb15d add PlmnAdapter for decoding PLMN bcd-strings like 262f01 to 262-01 Harald Welte 2023-12-27 17:06:58 +01:00
  • dffe7af578 Fix enumeration of GlobbalPlatformISDR during card_init() Harald Welte 2023-12-23 17:23:52 +01:00
  • 722c11a7e9 global_platform: Add support for key types of v2.3.1 (including AES) Harald Welte 2023-12-23 21:13:43 +01:00
  • 45626271cf global_platform: Add TLV test data for Key Information Data Harald Welte 2023-12-23 21:02:44 +01:00
  • 2538dd7621 global_platform: Correctly decode Key Information Data Harald Welte 2023-12-23 21:01:39 +01:00
  • ee6a951774 Add TLV decoder test data Harald Welte 2023-12-23 16:14:04 +01:00
  • 2a36c1b921 data-driven TLV unit data test support Harald Welte 2023-12-23 12:49:09 +01:00
  • a9b21bdb1f tlv: Fix from_dict() symmetry Harald Welte 2023-12-27 15:52:11 +01:00
  • a5eb924f9e filesystem: use pySim.utils.build_construct() Harald Welte 2023-12-23 10:20:20 +01:00
  • a4b9bdf238 pySim-trace_test.sh: Force termcolor to suppress color generation Harald Welte 2023-12-23 10:26:51 +01:00
  • caef0df663 construct/tlv: Pass optional 'context' into construct decoder/encoder Harald Welte 2023-12-17 10:07:01 +01:00
  • 188869568a docs/shell: extend the introduction part; link to video presentation Harald Welte 2023-12-18 22:53:06 +01:00
  • 324175f8bd additional encode/decode test data for various files Harald Welte 2023-12-21 20:25:30 +01:00
  • 5376251993 31.102 + 51.011: Fix encode/decode of EF.CFIS Harald Welte 2023-12-21 20:16:17 +01:00
  • 542dbf6771 fix encode/decode of xPLMNwAcT Harald Welte 2023-12-21 20:14:48 +01:00
  • e45168ef29 test/test_files: set maxDiff attribute Harald Welte 2023-12-21 20:20:44 +01:00
  • 2822dca9ec tests: use case-insensitive compare of hex strings Harald Welte 2023-12-21 22:14:08 +01:00
  • 0ecbf63a02 transport: Extend the documentation for each transport driver Harald Welte 2023-11-03 12:38:42 +01:00
  • baec4e9c81 transport: Move printing of reader number/name to generic code Harald Welte 2023-11-03 11:49:54 +01:00
  • ad002797e2 transport/pcsc: Allow opening PC/SC readers by a regex of their name Harald Welte 2023-11-03 11:42:18 +01:00
  • 0f177c1d29 transport: Pass argparse.Namespace directly into transport classes Harald Welte 2023-12-17 12:38:29 +01:00
  • c108595041 move {enc,dec}_addr_tlv functions from pySim.util to pySim.legacy.util Harald Welte 2023-12-08 15:09:26 +01:00
  • 301d6ed14a isim: Replace legacy imperative address TLV encoder/decoder with construct Harald Welte 2023-12-08 15:06:29 +01:00
  • b3c46135bb bertlv_parse_len: Fix input data is smaller than num length octets Harald Welte 2023-12-08 16:08:53 +01:00