You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
composefs-info measure-file reports a wrong fs-verity digest for empty files #442
lcfs_fsverity_context_get_digest() computes a digest for zero-length input that disagrees with the kernel and with fsverity-utils and composefs-rs (composefs-rs's drop-in reimplementation of this very command).
Narrow in practice: composefs images don't reference empty backing objects, so image digests are unaffected. But composefs-info measure-file is useful as a conformance test for independent implementations, and there
it reports a digest the kernel can never produce; the same applies to any direct consumer of the lcfs_fsverity_context_* API with zero-length input.
Activity
lcfs-fsverity: fix root_hash for zero-length files