Attention is currently required from: fixeria, laforge, pespin.
neels has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/42829?usp=email )
Change subject: saip.PES.rebuild_mandatory_services(): set 5G get-identity, profile-a-x25519, profile-b-p256 ......................................................................
Patch Set 4:
(1 comment)
File pySim/esim/saip/__init__.py:
https://gerrit.osmocom.org/c/pysim/+/42829/comment/6255e569_a049f322?usp=ema... : PS4, Line 1737: So, when SUCI-CalcInfo for USIM in DF.SAIP contains both key types, : # then no profile-A or B services need to be requested explicitly.
Your arguments/facts do not contradict my statement. Your comment claims […]
i see, so far i had a viewpoint of wide compatibility, sort of like voice codec choices:
I imagined, if a eUICC supports only profile-A, and the profile contains both profile-A and profile-B, the eUICC would be happy just using profile-A. But when we mandate both to be supported, the eUICC will reject the profile.
I imagined there is agreement across layers on which of the key types is supported by all entities.
From that viewpoint, it makes a lot of sense that the spec says "when get-identity is supported, you must support at least one of A or B". Then we can include both and be widely compatible. This convinced me that I am onto something.
Also, AFAICT, in the notification-listener logs we can see that all of the eUICC capabilities reported so far are supporting only profile-a-x25519. So I imagine that a profile that *requires* both can hardly be useful to customers.
The news for me is that I may have gotten the logic all wrong. I'll adust the logic -- but can you re-confirm please, you are sure that the MNO will switch between keys and require that both are working, without taking into account the eUICC capabilities?
Is it maybe two use cases: one for compat and one requiring both? Then it would make sense to have a ConfigurableParameter for the caller to explicitly choose the mandatory-services flags...
anyway, I am just guessing and no expert, just making sure. as soon as you confirm what the logic needs to be, i'll adjust it. thanks!