-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
It is time to add this last piece to fully do everything that hashdeep does. Thoughts and ideas below.
- Should maintain 100% compatibility with hashdeep output. This allows for independent verification. Having 2 tools that can verify is great for the paranoid, and it serves as a implementation verifier as well.
- This will mean accepting the hashdeep output format as an input for verification.
- We want the verifier to scale, to levels that hashdeep cannot, or where there is a RAM limited environment, as loading a 20 GB verification file might not be possible in some situations.
- Having an output format for verification that is not dependant on hashdeep should be supported as well. I propose using SQLite for this. This would allow for other scripts and processes to connect and verify without needing to build their own custom parsers of the format.
Hashdeep can verify files like so,
$ hashit --format hashdeep processor > audit.txt && hashdeep -l -r -a -v -k audit.txt processor
hashdeep: Audit passed
Files matched: 9
Files partially matched: 0
Files moved: 0
New files found: 0
Known files not found: 0
Note that you have ensure that the output does not land in the thing being verified which affects the verification, hence doing it on the processor folder in the above.
Hashdeep is doing a few things here.
- Confirming that all the files in the audit exist.
- Confirming if any of the files have changed
- Confirming if any of the files have moved
- Notifying about any new files
- Reporting any missing files
In effect it works with what could be two options.
- Tell me if the files I have seen previously are still here, moved or modified.
- Tell me if this matches my previous audit exactly.
Both seem like they could be options to include, but having a by default hashdeep compatible layer would be a good idea.
I propose, having the following
- Like for like output as per what we see with hashdeep. Need to confirm all output types for it when doing this however.
- Have an option to do the "Tell me if the files I have seen previously are still here, moved or modified."
- Have an option to do the "Tell me if this matches my previous audit exactly."
Arnie97, engelhro and lispstudentArnie97 and engelhro
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request