Skip to content

alessio-proietti/envelope-encryption-rusty-demo

 
 

Repository files navigation

envelope-encryption-rusty-demo

Small Envelope Encryption demo based on the unikernel RustyHermit.

Please read the README of RustyHermit for more information.

Requirements

Usage

Init and update submodule

$ git submodule update --init

Build the Bootloader

$ cd loader
$ cargo xtask build --arch x86_64 --release

Build the Hermit Application

$ cargo build \
    -Zbuild-std=core,alloc,std,panic_abort \
    -Zbuild-std-features=compiler-builtins-mem \
    --target x86_64-unknown-hermit \
    --release

Run the Application in QEMU

$ qemu-system-x86_64 \
    -cpu qemu64,apic,fsgsbase,fxsr,rdrand,rdtscp,xsave,xsaveopt \
    -smp 1 -m 64M \
    -device isa-debug-exit,iobase=0xf4,iosize=0x04 \
    -display none -serial stdio \
    -kernel loader/target/x86_64/release/rusty-loader \
    -initrd target/x86_64-unknown-hermit/release/hello_world

License

Licensed under either of

at your option.

About

Envelope Encryption based on Rusty HermitCore.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%