Originally Posted by
Rexilion
It's there, it's called debsums. Don't know if you need to install it seperately.
But these methods are not for data integrity. MD5 has collisions and so two different executables can be created with the same checksum.
This technology is about a checksum inside the programs 'physical' file which is probably signed/hashed/encrypted by some certificate (or key or whatever). Hence, it's possible to use the public (root) certificates to check this.
I find these integrity mechanisms flawed, as a vulnerable signed executable is still vulnerable. It gives a false sense of security. One might argue that you are reducing the attack surface but I would say that is not the case. Say, you exploit Java, which is relatively easy, and then root exploit into Linux. Simply place a python script and make it start at boot with a new entry into a boot script (both of which are not covered by this mechanism) and you are good to go.
And did I mention the fallacy's of Turktrust and Diginotar? Perfectly signed binaries ... now with trojans!