Add crypto library
This commit is contained in:
parent
8a505bd0e1
commit
0c013e77a7
|
@ -5,5 +5,5 @@
|
||||||
How to boot a VM: https://rust-osdev.github.io/uefi-rs/HEAD/tutorial/vm.html
|
How to boot a VM: https://rust-osdev.github.io/uefi-rs/HEAD/tutorial/vm.html
|
||||||
|
|
||||||
```
|
```
|
||||||
nix build --builders "" && cp -f result/bin/lanzaboote.efi esp/EFI/Linux/lanzaboote-x.efi && qemu-uefi -drive format=raw,file=fat:rw:esp
|
nix build --builders "" && cp -f result/bin/lanzaboote.efi esp/EFI/Linux/lanzaboote.efi && qemu-uefi -drive format=raw,file=fat:rw:esp
|
||||||
```
|
```
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
VERSION="0"
|
VERSION="0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmdline = pkgs.writeText "lanzaboote-cmdline" " ";
|
cmdline = pkgs.writeText "lanzaboote-cmdline" "";
|
||||||
|
|
||||||
lanzaboote-uki = pkgs.runCommand "lanzboote-uki" {
|
lanzaboote-uki = pkgs.runCommand "lanzboote-uki" {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -20,10 +20,17 @@ version = "1.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ed25519-compact"
|
||||||
|
version = "2.0.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1f2d21333b679bbbac680b3eb45c86937e42f69277028f4e97b599b80b86c253"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lanzaboote"
|
name = "lanzaboote"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"ed25519-compact",
|
||||||
"log",
|
"log",
|
||||||
"uefi",
|
"uefi",
|
||||||
"uefi-services",
|
"uefi-services",
|
||||||
|
|
|
@ -8,4 +8,5 @@ publish = false
|
||||||
uefi = { version = "0.18.0", features = [ "alloc", "logger" ] }
|
uefi = { version = "0.18.0", features = [ "alloc", "logger" ] }
|
||||||
uefi-services = "0.15.0"
|
uefi-services = "0.15.0"
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
|
ed25519-compact = { version = "2.0.2", default-features = false, features = [] }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue