This project demonstrates how to run Node.js applications securely inside Gramine.
- Operating System: Ubuntu 20.04 (other Linux distributions might work but I haven't tested)
- Visit the project's release page on GitHub.
- Download the prebuilt archive suitable for your system.
- Extract the downloaded archive and navigate into the newly created directory.
Before you run your application, replace the default index.js
with the .js
file you wish to execute.
Note: This requires the hardare support SGX and properly configured, and the intel aesmd service need to be installed.
To execute your Node.js application within an SGX enclave, utilize the following command:
./gramine-sgx node
If you prefer to run your application without SGX, you can use:
./gramine-direct node