Re: [PATCH, RESEND 08/12] ima: added parser for RPM data type
From: Christoph Hellwig
Date: Tue Aug 01 2017 - 06:27:18 EST
On Tue, Aug 01, 2017 at 12:20:36PM +0200, Roberto Sassu wrote:
> This patch introduces a parser for RPM packages. It extracts the digests
> from the RPMTAG_FILEDIGESTS header section and converts them to binary data
> before adding them to the hash table.
> The advantage of this data type is that verifiers can determine who
> produced that data, as headers are signed by Linux distributions vendors.
> RPM headers signatures can be provided as digest list metadata.
Err, parsing arbitrary file formats has no business in the kernel.