verity-hash

Crates.ioverity-hash
lib.rsverity-hash
version
sourcesrc
created_at2024-12-08 17:16:35.227082
updated_at2024-12-08 17:16:35.227082
descriptiondm-verity hash image verifier
homepage
repositoryhttps://github.com/losfair/verity-hash
max_upload_size
id1476453
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Heyang Zhou (losfair)

documentation

README

verity-hash

dm-verity hash image verifier.

Usage

CLI:

$ dd if=/dev/urandom of=data.img bs=1M count=10
$ veritysetup format --root-hash-file root_hash.txt data.img hash.img
$ cargo run --release data.img hash.img

Library:

let root_hash = verify_and_calculate_sha256_root_hash(&mut data_file, &mut hash_file)?;
Commit count: 2

cargo fmt