https://github.com/aws/aws-nitro-enclaves-nsm-api
This provides a library for interacting with the Nitro Secure Module, which provides Nitro Enclaves with attestation capability.
https://github.com/aws/aws-nitro-enclaves-nsm-api
enclaves nitro nitro-enclaves
Last synced: about 1 year ago
JSON representation
This provides a library for interacting with the Nitro Secure Module, which provides Nitro Enclaves with attestation capability.
- Host: GitHub
- URL: https://github.com/aws/aws-nitro-enclaves-nsm-api
- Owner: aws
- License: apache-2.0
- Created: 2020-08-18T13:03:19.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T12:44:11.000Z (over 1 year ago)
- Last Synced: 2025-05-15T16:21:51.098Z (about 1 year ago)
- Topics: enclaves, nitro, nitro-enclaves
- Language: Rust
- Homepage:
- Size: 85.9 KB
- Stars: 74
- Watchers: 22
- Forks: 49
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Nitro Secure Module library
[![version]][crates.io]
[![docs]][docs.rs]
![msrv]
[version]: https://img.shields.io/crates/v/aws-nitro-enclaves-nsm-api.svg
[crates.io]: https://crates.io/crates/aws-nitro-enclaves-nsm-api
[docs]: https://img.shields.io/docsrs/aws-nitro-enclaves-nsm-api
[docs.rs]: https://docs.rs/aws-nitro-enclaves-nsm-api
[msrv]: https://img.shields.io/badge/MSRV-1.63.0-blue
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](https://aws.amazon.com/security/vulnerability-reporting/).
Please do **not** create a public GitHub issue.