artefactual/archivematica-storage-service — pull request #13 by mistydemeo (2014-05-08 00:20:10+00:00)
Title: Package: add support for checking fixity

This teaches Packages how to check their own fixity, and report the results. This is currently only supported for bags (which have a record of their own fixity), e.g. AICs or AIPs.

This also adds a new API call which allows external services to request fixity scans and receive a report of the results. The URL is in the format /file//check_fixity/

Note that this fixity scan isn't intended to be 100% authoritative against tampering (since it depends on a manifest file in the same physical location as the files it documents that is not signed), just against data integrity.

refs #6567