#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

#321 in Hardware support

Download history 8724/week @ 2024-07-29 9689/week @ 2024-08-05 7542/week @ 2024-08-12 9386/week @ 2024-08-19 9891/week @ 2024-08-26 9096/week @ 2024-09-02 8611/week @ 2024-09-09 8560/week @ 2024-09-16 10520/week @ 2024-09-23 8346/week @ 2024-09-30 10586/week @ 2024-10-07 10142/week @ 2024-10-14 12522/week @ 2024-10-21 8749/week @ 2024-10-28 12680/week @ 2024-11-04 13031/week @ 2024-11-11

47,045 downloads per month
Used in 3 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