Metadata-Version: 2.4
Name: cloud-integrity-check
Version: 0.1.0
Summary: Hash files into a manifest and verify their integrity after a cloud upload/download/sync — detect silent corruption, truncation or tampering. Standard-library only.
Project-URL: Homepage, https://priviy.com
Project-URL: Documentation, https://priviy.com
Author: Eric Gerard
License: MIT
License-File: LICENSE
Keywords: backup,checksum,cloud,integrity,manifest,sha256,tamper,verification
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Classifier: Topic :: System :: Archiving :: Backup
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# cloud-integrity-check

Hash your files into a manifest, then **verify they are byte-for-byte intact**
after a cloud upload, download or sync. Catches silent corruption, truncation
or tampering that you would otherwise not notice. **Standard library only**
(SHA-256 via `hashlib`) — no dependencies, no custom crypto.

## Install

```
pip install cloud-integrity-check
```

## Use

```
# Before uploading: snapshot the integrity of a file or folder
cloud-integrity-check create ~/Documents -o documents.json

# After downloading from your cloud: verify nothing changed
cloud-integrity-check verify documents.json ~/Documents
```

Output reports per-file `OK / CHANGED / MISSING / ADDED`, and exits non-zero if
anything changed or went missing — handy in scripts and CI.

## As a library

```python
from cloud_integrity_check import compute_manifest, verify

m = compute_manifest("/data")
report = verify(m, "/data")
print(report.intact, report.changed, report.missing)
```

## Why

End-to-end encrypted clouds protect *confidentiality*; this verifies
*integrity* — that what you get back is exactly what you stored. A practical
companion to a zero-knowledge backup. More on private, verifiable cloud storage:
**[priviy.com](https://priviy.com)**.

## License

MIT
