Skip to main content

NXP Secure Provisioning SDK

Secure Provisioning SDK (SPSDK) allows the user to connect and communicate with a device; configure the device; prepare, download, and upload data including security operations. It is delivered in a form of python library and command-line applications.

Architecure

drawing

SPSDK is a library which may be separated into the following layers based on performed functionality:

  • Application Layer is a layer allowing SPSDK integration into various applications such as command-line utilities, GUI tools, DevOps/Automation infrastructure which is used in prototyping, production, or testing environments or any application based on specific customer needs. As a part of the library, several command-line applications are included.

  • Library Layer abstracts functionality related to images or messages creation and parsing including required security and cryptography functionality.

    • SB - Secure Boot File module.
    • MBI - Master Boot Image module.
    • Crypto - Cryptography module.
    • DAT - Debug Authentication module.
  • Protocol Layer packs or unpacks messages and images into a protocol defined by the required device counterpart.

  • Communication Layer links SPSDK and connected devices.

Supported Devices

Following NXP devices are supported:

Installation

  • Make sure to have Python 3.6+ installed
  • Create a virtual environment (venv, pipenv, etc.)

Directly from GitHub:

    $ pip install -U https://github.com/NXPmicro/spsdk/archive/master.zip

Install SPSDK from sources:

    $ git clone https://github.com/NXPmicro/spsdk.git
    $ cd spsdk
    $ pip install -r requirements-develop.txt
    $ pip install -U -e .

In Windows OS you need to install Microsoft Visual C++ Build Tools

Note: If you use pip version 20.3, please downgrade it to 20.2.4, because of new resolver functionality.

Usage

Dependencies

SPSDK requires Python >3.5 and <3.9 interpreter, old version 2.x is not supported !

  • requirements.txt
    • list of requirements for running SPSDK core + apps
  • requirements-develop.txt
    • requirements needed for development (running tests, checking coding style)
  • docs/requirements.txt
    • requirements needed for generating docs

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spsdk-0.3.1.tar.gz (234.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spsdk-0.3.1-py3-none-any.whl (304.6 kB view details)

Uploaded Python 3

File details

Details for the file spsdk-0.3.1.tar.gz.

File metadata

  • Download URL: spsdk-0.3.1.tar.gz
  • Upload date:
  • Size: 234.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.5

File hashes

Hashes for spsdk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 07d28b5850d766e8e305fa1530c92dbf600fba58625d64d3e699b9a47915ac1f
MD5 6bd158af331db6f77ad5eee248a52f22
BLAKE2b-256 e9135dbb18d415366aa6beed0b65890185e2f5673a92f764fa54a92e9edca38b

See more details on using hashes here.

File details

Details for the file spsdk-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: spsdk-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 304.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.5

File hashes

Hashes for spsdk-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 197bdd8a4a351a26a418e58a6d34fad2b9847a1acb95d0690b20de209b4dd43c
MD5 795db8e43472935136f0a511f79a1934
BLAKE2b-256 52bd814725e9b8dddb6bbf7783ba1044dc4d6bbde0e7804698af1c7d453643ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page