Skip to content

Commit 853d068

Browse files
committed
main: print measurements when build is successful
Like the nitro-cli tool, print the measurements when the EIF file is successfully built. This allows users to use those PCR values for reference values during attestation. Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
1 parent 80bc8ce commit 853d068

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ pub mod build {
217217
.open(args.path)
218218
.context("failed to create output file")?;
219219

220-
build.write_to(&mut output);
220+
let measurements = build.write_to(&mut output);
221+
println!("{:#?}", measurements);
221222

222223
Ok(())
223224
}

0 commit comments

Comments
 (0)