Attention is currently required from: daniel, laforge, neels.
dexter has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/42353?usp=email )
Change subject: docs/put_key: add tutorial that explains how to manage global platform keys ......................................................................
Patch Set 2:
(1 comment)
File docs/put_key-tutorial.rst:
https://gerrit.osmocom.org/c/pysim/+/42353/comment/f00a2814_36ab91c0?usp=ema... : PS2, Line 80: pySIM-shell (00:MF/ADF.ISD-R)> We need to check back if this really works. Does the isdp_aid really point to the ISD we set up in the securityDomain PE?
In the experiments I have done so far, the select to the ISD-P by the isdp_aid is successful. When I try get_data key_information I get an empty list back. I always thought that was due to the fact that I had no secure channel yet. But apparently the key_information does not require a secure channel.
When I look at the profile package. I see that the securityDomain PE specifies an 'instanceAID' field. When I select the AID in that field everything starts to look normal and I can even establish the SCP03 secure channel.
This is a bit confusing. I thought the securityDomain PE and the ISD-P were the same thing. I think this is something we should clarify and write down in this tutorial.