confidential-containers / simple-kbs

Key Broker Server for SEV(-ES)
Apache License 2.0
12 stars 13 forks source link

simple-kbs build is failing #59

Closed Amulyam24 closed 1 year ago

Amulyam24 commented 1 year ago

Issue being seen:

Compiling simple-kbs v0.1.1 (/root/simple-kbs)
   Compiling tokio-util v0.7.3
   Compiling tokio-io-timeout v1.2.0
   Compiling tokio-util v0.6.10
   Compiling h2 v0.3.14
   Compiling tower v0.4.13
   Compiling serde_bytes v0.11.7
   Compiling bincode v1.3.3
   Compiling serde-big-array v0.5.1
   Compiling uuid v1.4.1
   Compiling sqlx-core v0.5.13
   Compiling hyper v0.14.20
   Compiling sqlx-macros v0.5.13
   Compiling hyper-timeout v0.4.1
   Compiling tonic v0.5.2
   Compiling sqlx v0.5.13
error[E0433]: failed to resolve: could not find `Chain` in `certs`
  --> src/sev_tools.rs:20:29
   |
20 |     let chain = sev::certs::Chain::decode(&mut bin_chain, ())
   |                             ^^^^^ could not find `Chain` in `certs`
   |
help: consider importing one of these items
   |
6  + use anyhow::Chain;
   |
6  + use core::iter::Chain;
   |
6  + use crate::Chain;
   |
6  + use sev::certs::sev::Chain;
   |
     and 6 other candidates

Steps to reproduce it:

git clone https://github.com/confidential-containers/simple-kbs.git
cd simple-kbs
cargo build --release