#sgx-enclave #intel-sgx #sgx #enclave #fortanix #interface #abstraction

enclave-runner

High-level abstractions for running SGX enclaves. This crate can be used to load and interface with SGX applications compiled for the x86_64-fortanix-unknown-sgx target

11 releases (6 breaking)

0.7.0 Feb 21, 2025
0.6.0 Apr 16, 2024
0.5.1 Jul 29, 2022
0.5.0 Dec 3, 2021
0.1.0-rc1 Nov 19, 2018

#657 in Hardware support

Download history 178/week @ 2024-11-16 258/week @ 2024-11-23 253/week @ 2024-11-30 262/week @ 2024-12-07 241/week @ 2024-12-14 108/week @ 2024-12-21 77/week @ 2024-12-28 188/week @ 2025-01-04 303/week @ 2025-01-11 222/week @ 2025-01-18 271/week @ 2025-01-25 388/week @ 2025-02-01 370/week @ 2025-02-08 473/week @ 2025-02-15 555/week @ 2025-02-22 535/week @ 2025-03-01

2,029 downloads per month
Used in 8 crates (3 directly)

MPL-2.0 license

340KB
7K SLoC

Contains (ELF lib, 2KB) fake-vdso/fake-vdso.so

enclave-runner

This is an interface library to work with SGX enclaves implementing the Fortanix SGX ABI. If you write an enclave using the x86_64-fortanix-unknown-sgx target, you will probably want to write a userspace tool using this library.

Compiles with Rust nightly.

Dependencies

~7–14MB
~174K SLoC