MCPcopy Index your code
hub / github.com/aws/aws-nitro-enclaves-nsm-api

github.com/aws/aws-nitro-enclaves-nsm-api @v0.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.1 ↗ · + Follow
58 symbols 129 edges 8 files 32 documented · 55%

Browse by type

Functions 47 Types & classes 11
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

Shape

Function 43
Enum 6
Class 5
Method 4

Languages

Rust83%
C++17%

Modules by API surface

nsm-lib/src/lib.rs13 symbols
src/api/mod.rs11 symbols
nsm-test/src/main.cc10 symbols
nsm-test/src/bin/nsm-check.rs10 symbols
src/driver/mod.rs7 symbols
nsm-test/src/bin/nsm-multithread.rs5 symbols
nsm-lib/build.rs2 symbols

For agents

$ claude mcp add aws-nitro-enclaves-nsm-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page