Protecting files with fs-verity
Protecting files with fs-verity
Posted Aug 31, 2018 1:38 UTC (Fri) by josh (subscriber, #17465)Parent article: Protecting files with fs-verity
fs-verity includes the hashes inline in the filesystem. What integrity properties does this provide that standard immutable files don't? If you can modify the filesystem, you can modify the hash tree. If you *can't* modify the filesystem, then you couldn't change an immutable file either. And I don't see anything about chaining those file-level hashes up to a higher-level hash provided elsewhere.
So I think I'm missing the threat model that fs-verity protects against.
Posted Aug 31, 2018 2:16 UTC (Fri)
by zyzzyva (guest, #107472)
[Link]
With just a regular immutable file there is no such file hash available. Of course, you can just hash the whole file, but that is slow on large files, and the contents could change when paged into memory again (which fs-verity detects, like dm-verity).
Posted Aug 31, 2018 4:00 UTC (Fri)
by TheJH (subscriber, #101155)
[Link]
Protecting files with fs-verity
Protecting files with fs-verity
