Bug 126434 - RFE: Facility for documenting changes to installed binaries
Summary: RFE: Facility for documenting changes to installed binaries
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2004-06-21 16:31 UTC by Josh Rollyson
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2004-06-21 19:23:43 UTC

Attachments (Terms of Use)

Description Josh Rollyson 2004-06-21 16:31:52 UTC
126395 was closed without an acceptable resolution.

I realize that invalidating signed headers is a problem. So store
additional information OUTSIDE of the signed headers, or allow
"supplemental" headers signed by the administrator.

 Opened by Josh Rollyson (jrollyson@2mbit.com) on 2004-06-21 03:41

Certian utilities in common use make changes to installed files, which
are reported by rpm when verifying installed files.

As many administrators use the verification features of RPM for
integrity checking, it would be useful if a facility for updating MD5
and SHA1 sums was provided. This would require storing the checksum
from the time of installation, a checksum of a modification, and a
documented reason for modiification (ie "automated prelink run -

rpm could then be instructed to either not report "authorized"
modifications, or to clearly indicate in a verification report when a
package matches the "installed" checksum rather than the "packaged"

------- Additional Comment #1 From Jeff Johnson (jbj@redhat.com) on
2004-06-21 09:33 -------

rpm goes beyond simple digest checks on modified files
already, signatures are checked whenever headers which
contain file md5 digests are read.

Permitting modifications to files to be reflected
in the md5 digests within a signed header weakens
the security check by voiding the package signature.

Use aide or tripwire instead if you want to modify
file md5 digests.

Comment 1 Jeff Johnson 2004-06-21 19:23:43 UTC
Legacy compatibility prevents attempting. Changing the
way that rpm handles signatures takes a lot of legacy
engineering, and creates Yet Another complexity to
installing packages. The cost outweighs the benefit by
several oreders of magnitude imho.

Try tripwire or aide instead.

Note You need to log in before you can comment on or make changes to this bug.