Skip to content

feat: add integrity verification guards - #36

Open
NightVibes33 wants to merge 1 commit into
javelin-anticheat:mainfrom
NightVibes33:nightvibes/integrity-verification-4
Open

feat: add integrity verification guards#36
NightVibes33 wants to merge 1 commit into
javelin-anticheat:mainfrom
NightVibes33:nightvibes/integrity-verification-4

Conversation

@NightVibes33

Copy link
Copy Markdown

/claim #4

Summary

  • replace the invalid native integrity exit path with named guarded exit codes
  • add a C++ --print-integrity-crc32 helper plus normalized expected-CRC comparison for build-time integrity checks
  • add anti_cheat.py with optional JAVELIN_EXPECTED_SHA256 script integrity verification
  • document how to compute and set expected values for both implementations
  • add focused Python regression coverage for missing, matching, malformed, mismatched, and tampered hashes

Verification

  • python3 -m unittest discover -s tests -> 7 tests passed
  • python3 -m py_compile anti_cheat.py tests/test_anti_cheat.py
  • python3 anti_cheat.py -> [Javelin AntiCheat] All clear. Continue.
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant