Skip to content

Commit 04f048f

Browse files
Bump composefs-rs
Get exported `read_file` function Use `enable_verity_raw` Signed-off-by: Johan-Liebert1 <[email protected]>
1 parent 620df74 commit 04f048f

File tree

5 files changed

+114
-83
lines changed

5 files changed

+114
-83
lines changed

Cargo.lock

Lines changed: 88 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/lib/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
13491349
FsverityOpts::Enable { path } => {
13501350
let fd =
13511351
std::fs::File::open(&path).with_context(|| format!("Reading {path}"))?;
1352-
fsverity::enable_verity::<fsverity::Sha256HashValue>(&fd)?;
1352+
fsverity::enable_verity_raw::<fsverity::Sha256HashValue>(&fd)?;
13531353
Ok(())
13541354
}
13551355
},

0 commit comments

Comments
 (0)