Closed cgwalters closed 3 months ago
Do we possibly want to be able to do the measurement computation in parallel for multiple files?
Do we possibly want to be able to do the measurement computation in parallel for multiple files?
That's easy to do though in e.g. Rust where there's tons of tooling for that.
I extended this with another small patch too to add a wrapper for the enable ioctl.
Add API+CLI to get fsverity digests efficiently
fsverity-utils
isn't installed everywhere, and also today composefs makes hard decisions (like using sha256) that that project doesn't do.Signed-off-by: Colin Walters walters@verbum.org
lib: Add a thin public API wrapper for
FS_IOC_ENABLE_VERITY
The main thing is this helps ensure that other external software using the library uses the same fsverity parameters. There's also the aspect that using ioctl() from some non-C languages is tricky.
Signed-off-by: Colin Walters walters@verbum.org