Skip to content

Add optional integrity verification#28

Open
0xdungki wants to merge 1 commit into
javelin-anticheat:mainfrom
0xdungki:feat-integrity-verification
Open

Add optional integrity verification#28
0xdungki wants to merge 1 commit into
javelin-anticheat:mainfrom
0xdungki:feat-integrity-verification

Conversation

@0xdungki
Copy link
Copy Markdown

Summary

  • Adds a Python anti-cheat guard with optional SHA-256 script integrity verification via JAVELIN_EXPECTED_SHA256.
  • Documents how to generate/set expected Python SHA-256 hashes and how to configure the C++ build-time CRC32 value.
  • Fixes the invalid C++ integrity failure return literal and keeps the existing CRC32 self-check flow guarded by JAVELIN_EXPECTED_CRC32.
  • Adds Python unit tests for skipped, matching, and mismatched integrity checks.

Verification

  • python3 -m unittest -v

Fixes #4

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add Integrity Verification (Hash of Executable/Script)

1 participant