python3 integrity_checker.py --package bash vim --online
Result codes reminders:
dot (.) / trustlevel=4 verified against online hash
star (*) / trustlevel=3 verified against local hash in the system
star (-) / trustlevel=2 verified against local hash in the hashdb
plus (+) / trustlevel=1 not verified, probably new or changed file
exclamation mark (!) / trustlevel=0 verification failed, see integrity_checker.log for info/warning
START WORKING ON APT PACKAGES / FILES ------------------------------------
Entries read from /var/lib/dpkg/info: 15555
Total files in package bash 66
Number of new files in package bash 66
Total files in package vim 0
Number of new files in package vim 0
****..............................................................
66 changes to hashdb.
STATISTICS ON APT PACKAGES / FILES ---------
Total number of files analyzed: 66
Number of files with trustlevel = 4 : 62
Number of files with trustlevel = 3 : 4
Number of files with trustlevel = 2 : 0
Number of files with trustlevel = 1 : 0
Number of files with trustlevel = 0 : 0
No entries written to hashdb
cat integrity_checker.log | grep trustlevel=3
2020-06-30 20:16:58,272:INFO:/etc/bash.bashrc: trustlevel=3, package: bash
2020-06-30 20:16:58,273:INFO:/etc/skel/.bash_logout: trustlevel=3, package: bash
2020-06-30 20:16:58,275:INFO:/etc/skel/.bashrc: trustlevel=3, package: bash
2020-06-30 20:16:58,276:INFO:/etc/skel/.profile: trustlevel=3, package: bash