We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cfb4be commit d03feb2Copy full SHA for d03feb2
1 file changed
lib/src/cli.rs
@@ -17,7 +17,7 @@ use fn_error_context::context;
17
use indoc::indoc;
18
use ostree::gio;
19
use ostree_container::store::PrepareResult;
20
-use ostree_ext::composefs::fsverity;
+use ostree_ext::composefs::fsverity::{self, FsVerityHashValue};
21
use ostree_ext::container as ostree_container;
22
use ostree_ext::container_utils::ostree_booted;
23
use ostree_ext::keyfileext::KeyFileExt;
@@ -1199,7 +1199,7 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
1199
let fd =
1200
std::fs::File::open(&path).with_context(|| format!("Reading {path}"))?;
1201
let digest: fsverity::Sha256HashValue = fsverity::measure_verity(&fd)?;
1202
- let digest = hex::encode(digest);
+ let digest = digest.to_hex();
1203
println!("{digest}");
1204
Ok(())
1205
}
0 commit comments