From 19601a8d8190155a264fe8a440e847d955eee20b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 30 Jan 2026 21:39:16 +0100 Subject: [PATCH] add comment about not updating existing key_usage_qualifier Change-Id: Ie23ae5fde17be6b37746784bf1601b4d0874397a --- pySim/esim/saip/personalization.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index f926fb24..7026cc46 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -679,6 +679,11 @@ class SdKey(BinaryParam): ) pe.add_key(key) else: + # A key of this KVN and ID already exists in the profile. + + # Keep the key_usage_qualifier as it was in the profile, so skip this here: + # key.key_usage_qualifier = cls.key_usage_qual + key.key_components = set_components @classmethod