How to verify Heads integrity

At compilation and under CircleCI, a file named hashes.txt contains the hashes of all individual files that were packed.

Under CircleCI, each board compiled for a commit also prints all the hashes of the files that were contained in the firmware in an individual step, which should stay there forever.

So if you downloaded your ROM from CircleCI, you could go under Heads Options->“System Information” to get your ROM’s commit ID and find relative hashes.txt file for initrd contained files packed in the firmware under CircleCI’s commit ID’s board build’s “Output hashes” step.
Exemple:


If you are talking about taking a backup of the firmware, and are willing/searching for ways to unpack its content for inspection against hashes, that will be another subject and a really long one…