java - checksum detection of changes -
i'm trying figure out easy way utilize checksums check if executable has been tampered with.
i know checksums not foolproof. not looking solution needed against dedicated (malicious) adversary.
my situation is: in environment "wild west" coding idioms take place people sense free modify / recompile things supposedly "releases". want able tell if phone call release x same when made. way if "mysteriously" breaks can either point bad sofware practices, or definatively rule them out , concentrate on bugs.
i know checksum should observe alterations in code compiled. don't know if observe code depends on (like library) has been changed....
i'm dealing c++ code there's java code too. checksums observe not alterations code code depends on? if not there relatively easy solution doing so?
a checksum allow know if alter made file, can tell changes files run checksum against. can maintain list of files , original checksum , write script compare checksums of each. might modify build scripts update version (build count) on every build - perchance recording user name of person running build - , introduce version function in executables display info , it's libraries.
good luck fighting natives!
java c++ checksum
No comments:
Post a Comment