From 0f4b319ea17f6dd986a80dcba162ea92c47fad1c Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 15 Jan 2019 16:59:12 -0500 Subject: [PATCH] added a couple of information messages --- citadel-image/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/citadel-image/src/main.rs b/citadel-image/src/main.rs index da41bee..be644e3 100644 --- a/citadel-image/src/main.rs +++ b/citadel-image/src/main.rs @@ -160,9 +160,12 @@ fn install_rootfs(arg_matches: &ArgMatches) -> Result<()> { } let img = load_image(arg_matches)?; + + info!("Verifying header signature"); img.header().verify_signature()?; if !arg_matches.is_present("skip-sha") { + info!("Verifying sha256 hash of image"); let shasum = img.generate_shasum()?; if shasum != img.metainfo().shasum() { bail!("image file does not have expected sha256 value");