Skip to content

Add optional integrity verification#33

Open
NguyenTienDat-GTR wants to merge 1 commit into
javelin-anticheat:mainfrom
NguyenTienDat-GTR:codex/issue-4-integrity-verification
Open

Add optional integrity verification#33
NguyenTienDat-GTR wants to merge 1 commit into
javelin-anticheat:mainfrom
NguyenTienDat-GTR:codex/issue-4-integrity-verification

Conversation

@NguyenTienDat-GTR

Copy link
Copy Markdown

Closes #4

Summary:

  • Add optional CRC32 self-integrity enforcement for the Windows C++ executable via JAVELIN_EXPECTED_CRC32.
  • Add a Python guard that checks the running script SHA-256 against JAVELIN_EXPECTED_SHA256.
  • Return guarded exit codes for integrity, debugger, and suspicious-process failures.
  • Document how to compute and set expected integrity values.

Verification:

  • uv run python -m unittest -v
    • Ran 7 tests: OK

Note:

  • C++ compile verification was not run locally because no cl, g++, or clang++ compiler was available in this environment.

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