EdgeLock 2 GO service providers for SPSDK
Package contains multiple SPSDK service providers powered by EL2GO
- Free software: BSD-3-Clause
- Documentation: https://spsdk-el2go.readthedocs.io.
Installation
- Activate virtual env, where you have SPSDK
- if SPSDK is not installed, the latest one will be installed automatically from PyPI
pip install spsdk-el2go
Signature Provider
Everywhere in SPSDK where a signature (private key) is required, a signature provider can be used instead.
Using this plugin, all signing operations can be delegated to EL2GO. Private keys stay securely stored in EL2GO servers.
Configuration:
SPSDK Service providers are configured via a Service configuration string.
Format: type=<service_id>[;param1=value1][;param2=value2]
In this case the service identifier is el2go thus the config string starts with type=el2go
EL2GO signature provider uses the following configuration options:
url: Base EL2GO API URL (default: https://api.edgelock2go.com)api_key: EL2GO API key. Can be placed in env variable (staring with $) or a file.- E.g.:
~/.config/el2go/token.txt,$EL2GO_TOKEN,$PATH_TO_FILE_WITH_API_KEY - make sure your API token has Code Signing permissions set (both View and Manage are required)
- E.g.:
key_set_id(number): ID of the Key Set in EL2GO serverkey_id(number): ID of the key used for signing operationconfig_path: path to a YAML file containing some or all the config options above
These configuration options can be specified in service configuration string
type=el2go;url=https://api.edgelock2go.com;api_key=~/.config/el2go/token.txt;key_set_id=4;key_id=1
or can be passed via a config file
type=el2go;config_path=el2go_config.yaml
or a combination of both, overriding/adding options from config file in config string:
type=el2go;config_path=el2go_config.yaml;key_id=2
To help with setting up the config file, you may use el2go-helper application which is bundled with this python package.
Run el2go-helper --help to see more info.
Usage
-
Use the configuration string in any SPSDK YAML config file, where a private key is normally provided
- e.g.: in MBI config file:
signer: type=el2go;config_path=el2go_config.yaml
- e.g.: in MBI config file:
-
Use SPSDK application as you would normally do
- e.g.:
nxpimage mbi export -c mbi_config.yaml
- e.g.:
SB Key derivation provider
Derive encryption key used for SB3 and SB4 files from key stored in EdgeLock 2 GO server
Configuration
Exactly the same as for Signature Provider
Usage
-
Use the configuration string in SB3 or SB4 YAML config file, where the CUST_MK_SK/SBKEK is provided
- e.g.:
containerKeyBlobEncryptionKey: type=el2go;config_path=el2go_config.yaml;key_id=20
- e.g.:
-
Use SPSDK's nxpimage application as you would normally do
- e.g.:
nxpimage sb31 export -c sb_config.yaml
- e.g.:
Public key provider
Allow to specify any public key in YAML config file as a reference to public key stored in EdgeLock 2 GO
Coming soon
Metadata
Release files for spsdk-el2go 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spsdk_el2go-0.2.0.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spsdk_el2go-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / spsdk_el2go-0.2.0.tar.gz
| Download URL | spsdk_el2go-0.2.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e5d45608bfe47cbd03cda13648e24d0cd2ebc292c332f487f292dadfc9afeeb
|
|
BLAKE2b-256 checksum How to use checksums |
b457995d90709d3bdfc2ef47cd2eeb0b866fe254f353fc014ca48c5d59ce681b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / spsdk_el2go-0.2.0-py3-none-any.whl
| Download URL | spsdk_el2go-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff7cfe07a4ecd9b4babf94c4449249a97e2893be2bf32a4d2bd9afc8c2786a0e
|
|
BLAKE2b-256 checksum How to use checksums |
f8e790daa4aa41e88e5c5dc334a953a713dc656802270fb2098ea4afcb1063cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency log