@DemiMarie I wonder whether packaging fsverity (Merkle tree) metadata into the 
rpm header would be an option for performant block-based hashing. It'd also 
bloat the rpm header, but may have the benefit of allowing the metadata to be 
reused for post-installation integrity and authenticity protection (assuming 
the files remain read-only and reside on ext4/btrfs).
For my specific `BTRFS_IOC_ENCODED_WRITE` use case, I didn't intend to 
implement it as a plug-in, but as part of core. The implementation doesn't 
require modifications to the existing on-disk format, and the only FS specific 
behaviour is the actual encoded write ioctl calls.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2057#discussioncomment-9280921
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/repo-discussions/2057/comments/9280...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to