add comment about not updating existing key_usage_qualifier

Change-Id: Ie23ae5fde17be6b37746784bf1601b4d0874397a
This commit is contained in:
Neels Hofmeyr
2026-01-30 21:39:16 +01:00
parent 1c45cff351
commit 19601a8d81

View File

@@ -679,6 +679,11 @@ class SdKey(BinaryParam):
) )
pe.add_key(key) pe.add_key(key)
else: 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 key.key_components = set_components
@classmethod @classmethod