lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

March 2026

  • 1 participants
  • 1933 discussions
[XS] Change in pysim[master]: saip SmspTpScAddr.get_values_from_pes: allow empty values
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42267?usp=email ) Change subject: saip SmspTpScAddr.get_values_from_pes: allow empty values ...................................................................... saip SmspTpScAddr.get_values_from_pes: allow empty values Change-Id: Ibbdd08f96160579238b50699091826883f2e9f5a --- M pySim/esim/saip/personalization.py 1 file changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/67/42267/1 diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index 3c975ef..327dbe6 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -630,19 +630,11 @@ continue tp_sc_addr = ef_smsp_dec.get('tp_sc_addr', None) - if not tp_sc_addr: - continue digits = tp_sc_addr.get('call_number', None) - if not digits: - continue ton_npi = tp_sc_addr.get('ton_npi', None) - if not ton_npi: - continue international = ton_npi.get('type_of_number', None) - if international is None: - continue international = (international == 'international') yield { cls.name: cls.tuple_to_str((international, digits)) } -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42267?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ibbdd08f96160579238b50699091826883f2e9f5a Gerrit-Change-Number: 42267 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: saip: add numeric_base indicator to ConfigurableParameter and ParamSo...
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42268?usp=email ) Change subject: saip: add numeric_base indicator to ConfigurableParameter and ParamSource ...................................................................... saip: add numeric_base indicator to ConfigurableParameter and ParamSource By default, numeric_base = None, to indicate that there are no explicit limitations on the number space. For parameters that are definitely decimal, set numeric_base = 10. For definitely hexadecimal, set numeric_base = 16. Do the same for ConfigurableParameter as well as ParamSource, so callers can match them up: if a parameter is numeric_base = 10, then omit sources that are numeric_base = 16, and vice versa. Change-Id: Ib0977bbdd9a85167be7eb46dd331fedd529dae01 --- M pySim/esim/saip/param_source.py M pySim/esim/saip/personalization.py 2 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/68/42268/1 diff --git a/pySim/esim/saip/param_source.py b/pySim/esim/saip/param_source.py index c460375..366d6dd 100644 --- a/pySim/esim/saip/param_source.py +++ b/pySim/esim/saip/param_source.py @@ -35,6 +35,7 @@ # This name should be short but descriptive, useful for a user interface, like 'random decimal digits'. name = "none" + numeric_base = None # or 10 or 16 @classmethod def from_str(cls, s:str): @@ -85,6 +86,8 @@ class DecimalRangeSource(InputExpandingParamSource): """abstract: decimal numbers with a value range""" + numeric_base = 10 + def __init__(self, num_digits, first_value, last_value): """ See also from_str(). @@ -144,6 +147,7 @@ class RandomHexDigitSource(InputExpandingParamSource, RandomSourceMixin): """return a different sequence of random hexadecimal digits each""" name = "random hexadecimal digits" + numeric_base = 16 used_keys = set() def __init__(self, num_digits): diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index 327dbe6..b783177 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -72,6 +72,7 @@ min_len: minimum length of an input str; min_len = 4 max_len: maximum length of an input str; max_len = 8 allow_len: permit only specific lengths; allow_len = (8, 16, 32) + numeric_base: indicate hex / decimal, if any; numeric_base = None; numeric_base = 10; numeric_base = 16 Subclasses may change the meaning of these by overriding validate_val(), for example that the length counts resulting bytes instead of a hexstring length. Most subclasses will be covered by the default validate_val(). @@ -127,6 +128,7 @@ allow_len = None # a list of specific lengths example_input = None default_source = None # a param_source.ParamSource subclass + numeric_base = None # or 10 or 16 def __init__(self, input_value=None): self.input_value = input_value # the raw input value as given by caller @@ -302,6 +304,7 @@ """ allow_types = (str, int) allow_chars = '0123456789' + numeric_base = 10 @classmethod def validate_val(cls, val): @@ -346,6 +349,7 @@ class IntegerParam(ConfigurableParameter): allow_types = (str, int) allow_chars = '0123456789' + numeric_base = 10 # two integers, if the resulting int should be range limited min_val = None @@ -378,6 +382,7 @@ allow_types = (str, io.BytesIO, bytes, bytearray, int) allow_chars = '0123456789abcdefABCDEF' strip_chars = ' \t\r\n' + numeric_base = 16 default_source = param_source.RandomHexDigitSource @classmethod @@ -549,6 +554,7 @@ name = 'SMSP-TP-SC-ADDR' allow_chars = '+0123456789' strip_chars = ' \t\r\n' + numeric_base = 10 max_len = 21 # '+' and 20 digits min_len = 1 example_input = '+49301234567' -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42268?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ib0977bbdd9a85167be7eb46dd331fedd529dae01 Gerrit-Change-Number: 42268 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: personalization audit: optionally audit all (unknown) SD keys
by neels 03 Mar '26

03 Mar '26
Attention is currently required from: laforge, neels. Hello Jenkins Builder, laforge, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/pysim/+/40209?usp=email to look at the new patch set (#8). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: personalization audit: optionally audit all (unknown) SD keys ...................................................................... personalization audit: optionally audit all (unknown) SD keys By a flag, allow to audit also all Security Domain KVN that we have *not* created ConfigurableParameter subclasses for. For example, SCP80 has reserved kvn 0x01..0x0f, but we offer only Scp80Kvn01, Scp80Kvn02, Scp80Kvn03. So we would not show kvn 0x03..0x0f in an audit. This patch includes audits of all SD key kvn there may be in the UPP. This will help to spot SD keys that may already be present in a UPP template, with unexpected / unusual kvn. Change-Id: Icaf6f7b589f117868633c0968a99f2f0252cf612 --- M pySim/esim/saip/batch.py 1 file changed, 27 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/09/40209/8 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/40209?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: Icaf6f7b589f117868633c0968a99f2f0252cf612 Gerrit-Change-Number: 40209 Gerrit-PatchSet: 8 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de> Gerrit-Attention: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in pysim[master]: use secrets.SystemRandom as secure random nr source
by neels 03 Mar '26

03 Mar '26
Attention is currently required from: neels. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/pysim/+/40830?usp=email to look at the new patch set (#5). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: use secrets.SystemRandom as secure random nr source ...................................................................... use secrets.SystemRandom as secure random nr source secrets.SystemRandom is defined as the most secure random source available on the given operating system. Change-Id: I8049cd1292674b3ced82b0926569128535af6efe --- M pySim/esim/saip/param_source.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/30/40830/5 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/40830?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: I8049cd1292674b3ced82b0926569128535af6efe Gerrit-Change-Number: 40830 Gerrit-PatchSet: 5 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: laforge <laforge(a)osmocom.org> Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: transitional name mapping
by neels 03 Mar '26

03 Mar '26
Attention is currently required from: neels. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/pysim/+/41919?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: transitional name mapping ...................................................................... transitional name mapping To help existing applications transition to a common naming scheme for the SdKey classes, offer this intermediate result, where the SdKey classes' .name are still unchanged as before generating them. Change-Id: I974cb6c393a2ed2248a6240c2722d157e9235c33 --- M pySim/esim/saip/personalization.py 1 file changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/19/41919/2 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/41919?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: I974cb6c393a2ed2248a6240c2722d157e9235c33 Gerrit-Change-Number: 41919 Gerrit-PatchSet: 2 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: remove transitional name mapping
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42258?usp=email ) Change subject: remove transitional name mapping ...................................................................... remove transitional name mapping This reverts commit I974cb6c393a2ed2248a6240c2722d157e9235c33 Now, finally, all SdKey classes have a unified logical naming scheme. Change-Id: Ic185af4a903c2211a5361d023af9e7c6fc57ae78 --- M pySim/esim/saip/personalization.py 1 file changed, 0 insertions(+), 26 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/58/42258/1 diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index 400a9c4..b28d88e 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -760,30 +760,6 @@ SdKey.all_implementations = [] - transitional_name_mapping = { - 'SCP02-KVN20-AES-DEK': 'SCP02-20-AES-DEK', - 'SCP02-KVN20-AES-ENC': 'SCP02-20-AES-ENC', - 'SCP02-KVN20-AES-MAC': 'SCP02-20-AES-MAC', - 'SCP02-KVN21-AES-DEK': 'SCP02-21-AES-DEK', - 'SCP02-KVN21-AES-ENC': 'SCP02-21-AES-ENC', - 'SCP02-KVN21-AES-MAC': 'SCP02-21-AES-MAC', - 'SCP02-KVN22-AES-DEK': 'SCP02-22-AES-DEK', - 'SCP02-KVN22-AES-ENC': 'SCP02-22-AES-ENC', - 'SCP02-KVN22-AES-MAC': 'SCP02-22-AES-MAC', - 'SCP02-KVNff-AES-DEK': 'SCP02-ff-AES-DEK', - 'SCP02-KVNff-AES-ENC': 'SCP02-ff-AES-ENC', - 'SCP02-KVNff-AES-MAC': 'SCP02-ff-AES-MAC', - 'SCP03-KVN30-AES-DEK': 'SCP03-30-AES-DEK', - 'SCP03-KVN30-AES-ENC': 'SCP03-30-AES-ENC', - 'SCP03-KVN30-AES-MAC': 'SCP03-30-AES-MAC', - 'SCP03-KVN31-AES-DEK': 'SCP03-31-AES-DEK', - 'SCP03-KVN31-AES-ENC': 'SCP03-31-AES-ENC', - 'SCP03-KVN31-AES-MAC': 'SCP03-31-AES-MAC', - 'SCP03-KVN32-AES-DEK': 'SCP03-32-AES-DEK', - 'SCP03-KVN32-AES-ENC': 'SCP03-32-AES-ENC', - 'SCP03-KVN32-AES-MAC': 'SCP03-32-AES-MAC', - } - def camel(s): return s[:1].upper() + s[1:].lower() @@ -815,8 +791,6 @@ max_key_len = attrs.get('allow_len')[-1] - cls_label = transitional_name_mapping.get(cls_label, cls_label) - attrs.update({ 'name' : cls_label, 'kvn': kvn, -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42258?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ic185af4a903c2211a5361d023af9e7c6fc57ae78 Gerrit-Change-Number: 42258 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[XS] Change in pysim[master]: UppAudit: better indicate exception cause
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42259?usp=email ) Change subject: UppAudit: better indicate exception cause ...................................................................... UppAudit: better indicate exception cause Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e --- M pySim/esim/saip/batch.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/59/42259/1 diff --git a/pySim/esim/saip/batch.py b/pySim/esim/saip/batch.py index 48e2d05..5b17e59 100644 --- a/pySim/esim/saip/batch.py +++ b/pySim/esim/saip/batch.py @@ -164,7 +164,7 @@ try: for valdict in param.get_values_from_pes(pes): upp_audit.add_values(valdict) - except (TypeError, ValueError) as e: + except Exception as e: raise ValueError(f'Error during audit for parameter {param}: {e}') from e if not additional_sd_keys: -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42259?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e Gerrit-Change-Number: 42259 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: ConfigurableParameter: safer val length check
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42260?usp=email ) Change subject: ConfigurableParameter: safer val length check ...................................................................... ConfigurableParameter: safer val length check Change-Id: Ibe91722ed1477b00d20ef5e4e7abd9068ff2f3e4 --- M pySim/esim/saip/personalization.py 1 file changed, 12 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/60/42260/1 diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index b28d88e..7d24453 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -191,19 +191,25 @@ elif isinstance(val, io.BytesIO): val = val.getvalue() + if hasattr(val, '__len__'): + val_len = len(val) + else: + # e.g. int length + val_len = len(str(val)) + if cls.allow_len is not None: l = cls.allow_len # cls.allow_len could be one int, or a tuple of ints. Wrap a single int also in a tuple. if not isinstance(l, (tuple, list)): l = (l,) - if len(val) not in l: - raise ValueError(f'length must be one of {cls.allow_len}, not {len(val)}: {val!r}') + if val_len not in l: + raise ValueError(f'length must be one of {cls.allow_len}, not {val_len}: {val!r}') if cls.min_len is not None: - if len(val) < cls.min_len: - raise ValueError(f'length must be at least {cls.min_len}, not {len(val)}: {val!r}') + if val_len < cls.min_len: + raise ValueError(f'length must be at least {cls.min_len}, not {val_len}: {val!r}') if cls.max_len is not None: - if len(val) > cls.max_len: - raise ValueError(f'length must be at most {cls.max_len}, not {len(val)}: {val!r}') + if val_len > cls.max_len: + raise ValueError(f'length must be at most {cls.max_len}, not {val_len}: {val!r}') return val @classmethod -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42260?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ibe91722ed1477b00d20ef5e4e7abd9068ff2f3e4 Gerrit-Change-Number: 42260 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[S] Change in pysim[master]: saip: SmspTpScAddr: fix get_values_from_pes
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42261?usp=email ) Change subject: saip: SmspTpScAddr: fix get_values_from_pes ...................................................................... saip: SmspTpScAddr: fix get_values_from_pes Change-Id: I2010305340499c907bb7618c04c61e194db34814 --- M pySim/esim/saip/personalization.py 1 file changed, 24 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/61/42261/1 diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index 7d24453..de6e6ce 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -554,21 +554,39 @@ example_input = '+49301234567' default_source = param_source.ConstantSource - @classmethod - def validate_val(cls, val): - val = super().validate_val(val) - addr_str = str(val) + @staticmethod + def str_to_tuple(addr_str): if addr_str[0] == '+': digits = addr_str[1:] international = True else: digits = addr_str international = False + return (international, digits) + + @staticmethod + def tuple_to_str(addr_tuple): + international, digits = addr_tuple + if international: + ret = '+' + else: + ret = '' + ret += digits + return ret + + @classmethod + def validate_val(cls, val): + val = super().validate_val(val) + + addr_tuple = cls.str_to_tuple(str(val)) + + international, digits = addr_tuple if len(digits) > 20: raise ValueError(f'TP-SC-ADDR must not exceed 20 digits: {digits!r}') if not digits.isdecimal(): raise ValueError(f'TP-SC-ADDR must only contain decimal digits: {digits!r}') - return (international, digits) + + return addr_tuple @classmethod def apply_val(cls, pes: ProfileElementSequence, val): @@ -627,7 +645,7 @@ continue international = (international == 'international') - yield (international, digits) + yield { cls.name: cls.tuple_to_str((international, digits)) } class SdKey(BinaryParam): -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42261?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I2010305340499c907bb7618c04c61e194db34814 Gerrit-Change-Number: 42261 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
[XS] Change in pysim[master]: esim.saip.personalization: fix TLSPSK keys
by neels 03 Mar '26

03 Mar '26
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42264?usp=email ) Change subject: esim.saip.personalization: fix TLSPSK keys ...................................................................... esim.saip.personalization: fix TLSPSK keys Add AES variant of TLSPSK DEK (SCP81 KVN40 key_id=0x02). Change-Id: I713a008fd26bbfcf437e0f29717b753f058ce76a --- M pySim/esim/saip/personalization.py 1 file changed, 6 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/64/42264/1 diff --git a/pySim/esim/saip/personalization.py b/pySim/esim/saip/personalization.py index 617e936..761f0ee 100644 --- a/pySim/esim/saip/personalization.py +++ b/pySim/esim/saip/personalization.py @@ -714,7 +714,7 @@ DEK = ('DEK', dict(key_id=0x03, key_usage_qual=0x48) ) TLSPSK_PSK = ('TLSPSK', dict(key_type=KeyType.tls_psk, key_id=0x01, key_usage_qual=0x3c, allow_len=LEN_128_192_256) ) - TLSPSK_DEK = ('DEK', dict(key_type=KeyType.des, key_id=0x02, key_usage_qual=0x48, allow_len=LEN_128) ) + TLSPSK_DEK = ('DEK', dict(key_id=0x02, key_usage_qual=0xc4) ) # THIS IS THE LIST that controls which SdKeyXxx subclasses exist: SD_KEY_DEFS = ( @@ -722,7 +722,11 @@ ('SCP02', (0x20, 0x21, 0x22, 0xff), (AES, ), (ENC, MAC, DEK) ), ('SCP03', (0x30, 0x31, 0x32), (AES, ), (ENC, MAC, DEK) ), ('SCP80', (0x01, 0x02, 0x03), (DES, AES), (ENC, MAC, DEK) ), - ('SCP81', (0x40, 0x41, 0x42), (TLSPSK_PSK, TLSPSK_DEK, ), ), + + # key_id=1 + ('SCP81', (0x40, 0x41, 0x42), (TLSPSK_PSK, ), ), + # key_id=2 + ('SCP81', (0x40, 0x41, 0x42), (DES, AES), (TLSPSK_DEK, ) ), ) all_implementations = None -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42264?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I713a008fd26bbfcf437e0f29717b753f058ce76a Gerrit-Change-Number: 42264 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • ...
  • 194
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.