[S] Change in pysim[master]: ara_m: Permit encoding of empty AID (--aid '') in ARA-M rules
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/35721?usp=email ) Change subject: ara_m: Permit encoding of empty AID (--aid '') in ARA-M rules ...................................................................... ara_m: Permit encoding of empty AID (--aid '') in ARA-M rules Encoding an empty AID-REF-DO (4F) is neccessary to achieve the meaning described in "Secure Element Access Control - Public Release v1.0" Table 6-1: "Empty: Indicates that the rules to be stored or retrieved are associated with all SE applications not covered by a specific rule". Change-Id: Iac6c3d78bc9ce36bac47589e5f7a0cc78e2efc38 --- M pySim/ara_m.py 1 file changed, 15 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/pySim/ara_m.py b/pySim/ara_m.py index 68244d1..f05109b 100644 --- a/pySim/ara_m.py +++ b/pySim/ara_m.py @@ -348,7 +348,7 @@ """Perform STORE DATA [Command-Store-REF-AR-DO] to store a (new) access rule.""" # REF ref_do_content = [] - if opts.aid: + if opts.aid != None: ref_do_content += [{'aid_ref_do': opts.aid}] elif opts.aid_empty: ref_do_content += [{'aid_ref_empty_do': None}] -- To view, visit https://gerrit.osmocom.org/c/pysim/+/35721?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Iac6c3d78bc9ce36bac47589e5f7a0cc78e2efc38 Gerrit-Change-Number: 35721 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-MessageType: merged
participants (1)
-
laforge