Small Envelope Encryption demo based on the unikernel RustyHermit.
Please read the README of RustyHermit for more information.
$ git submodule update --init
$ cd loader
$ cargo xtask build --arch x86_64 --release
$ cargo build \
-Zbuild-std=core,alloc,std,panic_abort \
-Zbuild-std-features=compiler-builtins-mem \
--target x86_64-unknown-hermit \
--release
$ 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
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.