nerves_key v0.1.0 NervesKey View Source

This is a high level interface to provisioning and using the Nerves Key or any ATECC508A/608A that can be configured similarly.

Link to this section Summary

Functions

Configure an ATECC508A or ATECC608A as a Nerves Key

Create a signing key pair

Read the device certificate from the slot

Provision a NervesKey in one step

Read the signer certificate from the slot

Link to this section Functions

Configure an ATECC508A or ATECC608A as a Nerves Key.

Link to this function create_signing_key_pair() View Source

Create a signing key pair

This returns a tuple that contains the certificate and the private key.

Read the device certificate from the slot

Link to this function provision(transport, info, signer_cert, signer_key) View Source

Provision a NervesKey in one step

This function does it all, but it requires the signer’s private key.

Read the signer certificate from the slot