attestation

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 6 Imported by: 0

README

NSM Attestation Example

This is a simple example that shows how you can get the attestation from a Nitro Enclave.

Make sure you've read the AWS Nitro Enclaves guide.

All commands should be run in the root of the project, not the directory where this README resides.

First build a Docker image:

docker build -t nsm-example -f example/attestation/Dockerfile .

Then build a Nitro EIF file:

nitro-cli build-enclave --docker-uri nsm-example --output-file nsm-example.eif

Then run an enclave:

sudo nitro-cli run-enclave --eif-path nsm-example.eif --cpu-count 2 --memory 1024 --debug-mode

Record the enclave ID as returned by the above command, and execute:

sudo nitro-cli console --enclave-id <ENCLAVE-ID>

You should be able to see a Base64 encoded version of the returned attestation in the console output.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL