Attention is currently required from: Hoernchen, dexter, laforge.

Hoernchen uploaded patch set #2 to this change.

View Change

The following approvals got outdated and were removed: Code-Review+2 by dexter, Verified-1 by Jenkins Builder

global_platform: add tracked security domain selection

select_security_domain <aid> does SELECT by AID and models the result as an
ADF_SD, so the GP commands, prompt and CardKeyProvider identity work.
Plain select cannot do this: probe_file() classifies by the ISO FCP, an
application answers with a GP FCI, and whether that FCI belongs to a
Security Domain is not obvious (GPC 11.9.3.1 table 11-56 tag 73 is
optional, the sysmoEUICC1 omits it).
The CardKeyProvider identity (ICCID vs EID) used for csv
lookup of credentials is (obviously) not part of the answer at all.

This new command makes using the eUICC with MNO-SDs and SSDs easier,
because so far we only had raw apdus to select those that led to a
confused internal pysim state, i.e. install_cap after selecting like
that would try to install to the ISD-R.

Change-Id: I7c6dda0f11dc6bb175f05b3832cf49691089c297
---
M docs/put_key-tutorial.rst
M docs/shell.rst
M pySim/global_platform/__init__.py
M tests/unittests/test_globalplatform.py
4 files changed, 221 insertions(+), 12 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/24/43724/2

To view, visit change 43724. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I7c6dda0f11dc6bb175f05b3832cf49691089c297
Gerrit-Change-Number: 43724
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Attention: dexter <pmaier@sysmocom.de>
Gerrit-Attention: laforge <laforge@osmocom.org>
Gerrit-Attention: Hoernchen <ewild@sysmocom.de>