Gramine Library OS with Intel SGX Support
A Linux-compatible Library OS for Multi-Process Applications
What is Gramine?
Gramine (formerly called Graphene) is a lightweight library OS, designed to run a single application with minimal host requirements. Gramine can run applications in an isolated environment with benefits comparable to running a complete OS in a virtual machine -- including guest customization, ease of porting to different OSes, and process migration.
Gramine supports native, unmodified Linux binaries on any platform. Currently, Gramine runs on Linux and Intel SGX enclaves on Linux platforms.
In untrusted cloud and edge deployments, there is a strong desire to shield the whole application from rest of the infrastructure. Gramine supports this “lift and shift” paradigm for bringing unmodified applications into Confidential Computing with Intel SGX. Gramine can protect applications from a malicious system stack with minimal porting effort.
Gramine is a growing project and we have a growing contributor and maintainer community. The code and overall direction of the project are determined by a diverse group of contributors, from universities, small and large companies, as well as individuals. Our goal is to continue this growth in both contributions and community adoption.
Note that the Gramine project was formerly known as Graphene. However, the name "Graphene" was deemed too common, could be impossible to trademark, and collided with several other software projects. Thus, a new name "Gramine" was chosen.
Gramine documentation
The official Gramine documentation can be found at https://gramine.readthedocs.io. Below are quick links to some of the most important pages:
- Quick start and how to run applications
- Complete building instructions
- Gramine manifest file syntax
- Performance tuning & analysis of SGX applications in Gramine
- Remote attestation in Gramine
Users of Gramine
We maintain a list of companies experimenting with Gramine for their confidential computing solutions.
Getting help
For any questions, please send an email to users@gramineproject.io (public archive).
For bug reports, post an issue on our GitHub repository: https://github.com/gramineproject/gramine/issues.
Reporting security issues
Please report security issues to security@gramineproject.io.
Acknowledgments
Gramine Project benefits from generous help of fosshost.org: they lend us a VPS, which we use as toolserver and package hosting.