laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/41527?usp=email ) Change subject: pySim.esim.saip: Hex representation of SecurityDomainKey ...................................................................... pySim.esim.saip: Hex representation of SecurityDomainKey Let's print the key_usage_qualifier in hexadecimal notation (more compact) Change-Id: Ic9a92d53d73378eafca1760dd8351215bce1157a --- M pySim/esim/saip/__init__.py 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: dexter: Looks good to me, approved Jenkins Builder: Verified diff --git a/pySim/esim/saip/__init__.py b/pySim/esim/saip/__init__.py index 3828023..c7f3e75 100644 --- a/pySim/esim/saip/__init__.py +++ b/pySim/esim/saip/__init__.py @@ -985,9 +985,9 @@ self.key_components = key_components def __repr__(self) -> str: - return 'SdKey(KVN=0x%02x, ID=0x%02x, Usage=%s, Comp=%s)' % (self.key_version_number, + return 'SdKey(KVN=0x%02x, ID=0x%02x, Usage=0x%x, Comp=%s)' % (self.key_version_number, self.key_identifier, - self.key_usage_qualifier, + build_construct(KeyUsageQualifier, self.key_usage_qualifier)[0], repr(self.key_components)) @classmethod -- To view, visit https://gerrit.osmocom.org/c/pysim/+/41527?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ic9a92d53d73378eafca1760dd8351215bce1157a Gerrit-Change-Number: 41527 Gerrit-PatchSet: 2 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org>