A possible step toward integrity measurement for Fedora
A possible step toward integrity measurement for Fedora
Posted Jan 9, 2021 11:14 UTC (Sat) by smurf (subscriber, #17840)In reply to: A possible step toward integrity measurement for Fedora by rahulsundaram
Parent article: A possible step toward integrity measurement for Fedora
fs-verity uses a Merkle tree to verify contents on every read.
IMA uses, AFAICT from cursory reading of the docs, a single full-file hash, plus the inode version to check whether to re-verify a file. Not so good IMHO; this seems to imply that if I can gain block-level access to a file system (this is not at all difficult if it's on a DM-managed partition) I can modify a file behind IMA's back. Ugh.
Seems to me that adding a method to sign the file's fs-verity tree might be a better option.
