Skip to content

Changes

Summary

  1. pySim/cat: Fix "Decode the "Type of Comand" from numeric value to a (details)
  2. esim.es2p: Split generic part of HTTP/REST API from ES2+ (details)
  3. add pySim.esim.es9p with definitions of the ES9+ HTTP Interface (details)
  4. http_json_api / es9p: Add User-Agent header (details)
  5. add contrib/es9p_client: Perform ES9+ client functions like LPA+eUICC (details)
  6. esim.es9p: Suppress sending requestHeader on ES9+ (details)
  7. esim.saip: Introduce ProfileElement.identification property (details)
Commit 7b3d4b805c9afc82a3ff50f95744a8df97fc3cbe by laforge
pySim/cat: Fix "Decode the "Type of Comand" from numeric value to a string"

This fixes a bug introduced in Change-Id: I833ec02bf281fe49de2be326018e91f521de52c0

Change-Id: I8b466c123173a5be335df3e1d77ef1c5f717a7d9
The file was modified pySim/cat.py
Commit f1495c1e4e00427e68c067bf9e0c027e113cf953 by laforge
esim.es2p: Split generic part of HTTP/REST API from ES2+

This way we can reuse it for other eSIM RSP HTTP interfaces like
ES9+, ES11, ...

Change-Id: I468041da40a88875e8df15b04d3ad508e06f16f7
The file was modified pySim/esim/es2p.py
The file was addedpySim/esim/http_json_api.py
Commit 0d1dea01dfea3e1cf85d5a2047097f3d84615b71 by laforge
add pySim.esim.es9p with definitions of the ES9+ HTTP Interface

Let's use the infrastructure of pySim.esim.http_json_api to define
the ES9+ API Functions.  This can in turn be used by clients or even
osmo-smdpp can be ported over to using this infratructure rather than
open-coding a lot of the encoding/decoding of API request/response
parameters.

Change-Id: I194ef1d186391f36245c099cc70a4813185ecf9c
The file was addedpySim/esim/es9p.py
Commit f07161d396a122437bcce39ee4ea9b1ac4c08448 by laforge
http_json_api / es9p: Add User-Agent header

ES9+ (And ES11) require the use of User-Agent, while ES2+ not.

Change-Id: Iffe64d82087940a82fbfa73bf5d2b7e864ae5d67
The file was modified pySim/esim/http_json_api.py
The file was modified pySim/esim/es9p.py
Commit 888c6e56473941e65c9213989e479b1288fb50d0 by laforge
add contrib/es9p_client: Perform ES9+ client functions like LPA+eUICC

This tool can be used to test the SM-DP+. It implements the full dance
of all HTTPs API operations to get to the downloadProfile, and will
decrypt the BPP to the UPP, which is then subsequently stored as file on
disk.

Needless to say, this will only work if you have an eUICC certificate +
private key that is compatible with the CI of your SM-DP+.

Change-Id: Idf8881e82f9835f5221c58b78ced9937cf5fb520
The file was addedcontrib/es9p_client.py
The file was modified pySim/esim/es8p.py
Commit 50d9e2a6d8d577bee80c0d9891dbb99a223bcf84 by laforge
esim.es9p: Suppress sending requestHeader on ES9+

SGP.22 states that ES9+ should not include a requestHeader

Change-Id: Ic9aa874a82241d7b26e2bcb0423961173e103020
The file was modified pySim/esim/es9p.py
The file was modified pySim/esim/http_json_api.py
The file was modified contrib/es9p_client.py
Commit 0cb0e02c5cb6feaafe28a1ea291a5a7838f9d58e by laforge
esim.saip: Introduce ProfileElement.identification property

Change-Id: I6525bb78619e574296488843e021d505e0632d99
The file was modified pySim/esim/saip/__init__.py