This repo provides a simple mechanism to validate local file integrity against the checksums generated and stored by S3 with the object.
git clone https://github.com/aws-samples/s3-checksum-verification
cd s3-checksum-verification
pip install requirements.txt
./integrity-check.py --bucketName <your bucketname> --objectName <folder/objectname-in-s3> --localFileName <local file name>
PASS: Checksum match! - s3Checksum: GgECtUetQSLtGNuZ+FEqrbkJ3712Afvx63E2pzpMKnk= | localChecksum: GgECtUetQSLtGNuZ+FEqrbkJ3712Afvx63E2pzpMKnk=
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.