#nitro #enclaves #aws #aws-security

aws-nitro-enclaves-nsm-api

This library provides the API for the Nitro Secure Module used in AWS Nitro Enclaves

4 releases (2 breaking)

0.4.0 Aug 9, 2023
0.3.0 May 2, 2023
0.2.1 Apr 18, 2022
0.2.0 Feb 24, 2022

#138 in Hardware support

Download history 6258/week @ 2024-03-14 8882/week @ 2024-03-21 7910/week @ 2024-03-28 5697/week @ 2024-04-04 6359/week @ 2024-04-11 7954/week @ 2024-04-18 7982/week @ 2024-04-25 8686/week @ 2024-05-02 6497/week @ 2024-05-09 9572/week @ 2024-05-16 9139/week @ 2024-05-23 10465/week @ 2024-05-30 7741/week @ 2024-06-06 8626/week @ 2024-06-13 9907/week @ 2024-06-20 7697/week @ 2024-06-27

36,419 downloads per month
Used in 2 crates

Apache-2.0

48KB
290 lines

Nitro Secure Module library

version docs msrv

This is a collection of helpers which Nitro Enclaves userland applications can use to communicate with a connected NitroSecureModule (NSM) device.

Various operations can be requested such as:

  • PCR query and manipulation
  • Attestation
  • Entropy

Prerequisites

An up-to-date RUST toolchain (v1.63.0 or later)

How To Build

  1. Clone the repository
  2. Execute make nsm-api-stable

How to Test

Prerequisites

To run the tests it's required to build the command-executor tool, as follows:

make command-executor

License

This project is licensed under the Apache-2.0 License.

Security issue notifications

If you discover a potential security issue in the Nitro Enclaves NSM API, we ask that you notify AWS Security via our vulnerability reporting page. Please do not create a public GitHub issue.

Dependencies

~3MB
~69K SLoC