Skip to content

Changes

Summary

  1. CardKeyProvider: Implement support for column-based transport key (details)
Commit cfdab1859eaa5de5ba2f0fcfa064eecef71598f3 by laforge
CardKeyProvider: Implement support for column-based transport key encryption

It's generally a bad idea to keep [card specific] key material lying
around unencrypted in CSV files.  The industry standard solution in the
GSMA is a so-called "transport key", which encrypts the key material.

Let's introduce support for this in the CardKeyProvider (and
specifically, the CardKeyProviderCSV) and allow the user to specify
transport key material as command line options to pySim-shell.

Different transport keys can be used for different key materials, so
allow specification of keys on a CSV-column base.

The higher-level goal is to allow the CSV file not only to store
the ADM keys (like now), but also global platform key material for
establishing SCP towards various security domains in a given card.

Change-Id: I13146a799448d03c681dc868aaa31eb78b7821ff
The file was addedcontrib/csv-encrypt-columns.py
The file was modified pySim/card_key_provider.py
The file was modified pySim-shell.py