Skip to content

This project builds the kernel, nsm driver and bootstrap process for AWS Nitro Enclaves.

License

Notifications You must be signed in to change notification settings

capeprivacy/aws-nitro-enclaves-sdk-bootstrap

 
 

Repository files navigation

Bootstrap for AWS Nitro Enclaves

This project builds the kernel, nsm driver and bootstrap process for AWS Nitro Enclaves.

The referenced kernel in the 'linux-url' file is an example that can be used for building an enclave image. The kernel corresponding to the enclave image blobs in https://github.com/aws/aws-nitro-enclaves-cli/tree/main/blobs is based on the v4.14 Amazon Linux kernel - https://github.com/amazonlinux/linux/tree/amazon-4.14.y/master; it is different than the kernel mentioned in 'linux-url'.

Prerequisites

The kernel download step requires setting up gpg2 with the kernel developer keys. Instructions are available here.

For Debian / Ubuntu systems, install build prequisites:

sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev gnupg2

For Amazon Linux 2 / Fedora / RHEL / CentOS install build prequisites:

sudo yum group install "Development Tools" 

Build

The project can be built inside a Docker container to avoid installing toolchains and other packages on your local device.

For example, to build for aarch64 run:

docker build --build-arg BUILD_ARCH=aarch64 .

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

About

This project builds the kernel, nsm driver and bootstrap process for AWS Nitro Enclaves.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.0%
  • Makefile 9.4%
  • Dockerfile 1.6%