[XL] Change in pysim[master]: esim/asn1: add the SGP.22 v3.1 RSPDefinitions module as rsp_v3
Attention is currently required from: laforge. hampushellsberg has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/pysim/+/44007?usp=email ) Change subject: esim/asn1: add the SGP.22 v3.1 RSPDefinitions module as rsp_v3 ...................................................................... esim/asn1: add the SGP.22 v3.1 RSPDefinitions module as rsp_v3 pySim only has the SGP.22 v2 module, so none of the types v3.1 added (EuiccConfiguredData, LoadRpmPackage, ...) can be encoded or decoded. rsp.asn cannot simply be updated: v3.1 renames and drops members that existing callers use, and SGP.32 imports v2 types that v3.1 removed. Add the Annex H module as asn1/rsp_v3, available as rsp.asn1_v3, and compile_asn1_paths() to compile it together with the SAIP and PKIX modules it imports. A module __getattr__ (PEP 562) compiles it on the first access of rsp.asn1_v3, so importing pySim.esim.rsp costs no more than before. The folder osmocom-pysim-rsp-v3-module of hampushellsberg-dev/PySIM-upstream-patches on GitHub has the analysis, the transcription script and a repro. Change-Id: I670ec73f9958882a8d3fe4b589bdafa3fbf702ea --- M pySim/esim/__init__.py A pySim/esim/asn1/rsp_v3/rsp.asn M pySim/esim/rsp.py M setup.py A tests/unittests/test_esim_rsp.py 5 files changed, 1,789 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/07/44007/2 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/44007?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I670ec73f9958882a8d3fe4b589bdafa3fbf702ea Gerrit-Change-Number: 44007 Gerrit-PatchSet: 2 Gerrit-Owner: hampushellsberg <hampushellsberg@gmail.com> Gerrit-CC: Jenkins Builder Gerrit-CC: laforge <laforge@osmocom.org> Gerrit-Attention: laforge <laforge@osmocom.org>
participants (1)
-
hampushellsberg