Coder Social home page Coder Social logo

enarx-keepldr's Introduction

lint enarxbot Workflow Status Average time to resolve an issue Percentage of issues still open Maintenance

enarx-keepldr

This crate provides the enarx-keepldr executable which loads static-pie binaries into an Enarx Keep - that is a hardware isolated environment using technologies such as Intel SGX or AMD SEV.

Building

Please see BUILD.md for instructions.

Run Tests

$ cargo test

Build and Run an Application

$ cat > test.c <<EOF
#include <stdio.h>

int main() {
    printf("Hello World!\n");
    return 0;
}
EOF

$ musl-gcc -static-pie -fPIC -o test test.c
$ target/debug/enarx-keepldr exec ./test
Hello World!

Select a Different Backend

enarx-keepldr exec will probe the machine it is running on in an attempt to deduce an appropriate deployment backend unless that target is already specified in an environment variable called ENARX_BACKEND.

To see what backends are supported on your system, run:

$ target/debug/enarx-keepldr info

To manually select a backend, set the ENARX_BACKEND environment variable:

$ ENARX_BACKEND=sgx target/debug/enarx-keepldr exec ./test

Note that some backends are conditionally compiled. They can all be compiled in like so:

$ cargo build --all-features

Or specific backends can be compiled in:

$ cargo build --features=backend-sgx,backend-kvm

License: Apache-2.0

enarx-keepldr's People

Contributors

ambaxter avatar axelsimon avatar blazebissar avatar cyberepsilon avatar dependabot[bot] avatar haraldh avatar jyotsna-penumaka avatar kubkon avatar lilienbm-zz avatar lkatalin avatar matt-ross16 avatar mbestavros avatar michiboo avatar npmccallum avatar sagiegurari avatar squidboylan avatar steveej avatar ueno avatar uudiin avatar wgwoods avatar whitebrandy avatar zeenix avatar ziyi-yan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.