Giter Club home page Giter Club logo

spsdk's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.