Post-install SHA-256 file integrity verification with auto-restore.
Operates under Gifted Install Tech ID — not MEARVK LLC Installer Tech ID. Verifies software against trusted GitHub commits. Restores corrupted files automatically.
- Cron runs every 2 days (
0 6 */2 * *) viacron/integrity-check.sh - Self-integrity first — verifies its own scripts
- Full SHA-256 + MD5 scan of all git-tracked files
- Compares against stored digest database
- Corruption (same commit, different hash) → auto-restore from GitHub
- Update (different commit) → preserve originals in
integrity/history/ - Non-blocking — concerns logged, program continues
- Detects MySQL on main drive vs
/mnt/blockstorageviascripts/detect-mysql.sh - Logs write to
/mnt/blockstorage/nwe/logs/when mounted (keeps main drive free) - Fallback: local
logging/directory
| File | Purpose |
|---|---|
integrity/post-install-integrity-check.sh |
Main integrity script |
integrity/integrity-schema.sql |
MySQL schema (nwe_integrity) |
cron/integrity-check.sh |
Cron wrapper |
scripts/detect-mysql.sh |
MySQL location detection |
| Module | Script | Purpose |
|---|---|---|
| BMA | install/verify-integrity.sh |
Verify INTEGRITY.manifest |
| BMA | install/generate-integrity.sh |
Regenerate manifest |
| BMA | install/test-jdbc.sh |
MySQL location + JDBC + config check |
| Futures | bash/integrity.sh |
39-file embedded SHA-256 baseline |
honor_oath— read-only after insertfile_digests— SELECT, INSERT, limited UPDATEfile_digests_history— append-onlyintegrity_concerns— append-onlyscan_history— append-only
No DELETE. No UPDATE on history/concerns.
github.com/mearvk/Java.Web.Server.Telnet.Front.Java.21(primary)github.com/ElisabethHarkins5509(secondary)
| Preset | Max/file | Rotations | Total (nwe-main.log) |
|---|---|---|---|
| 1 large | 2 GB | 5 | 10 GB |
| 2 medium | 512 MB | 4 | 2 GB |
| 3 small | 64 MB | 3 | 192 MB |
Block storage enabled by default for logs.
mysql < integrity/integrity-schema.sql
bash integrity/post-install-integrity-check.sh
sudo bash cron/install-cron.sh
bash modules/black/presidential/Brarner.M.Alete/install/test-jdbc.sh