#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

#115 in Hardware support

Download history 5061/week @ 2024-01-20 6116/week @ 2024-01-27 4402/week @ 2024-02-03 7117/week @ 2024-02-10 6192/week @ 2024-02-17 8464/week @ 2024-02-24 7772/week @ 2024-03-02 6457/week @ 2024-03-09 8116/week @ 2024-03-16 7589/week @ 2024-03-23 9127/week @ 2024-03-30 3807/week @ 2024-04-06 7689/week @ 2024-04-13 8039/week @ 2024-04-20 8466/week @ 2024-04-27 6769/week @ 2024-05-04

31,723 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
~68K SLoC