add Authenticode SHA-256 digest tool #2491

Closed
KelboLive wants to merge 1 commit from upstream-pr/2499 into main
KelboLive commented 2026-11-25 18:37:50 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-25T18:37:50Z.


Adds a tool to compute Authenticode SHA-256 digests along with unit and oracle checks.

Files:

  • README.md (+2/-1)
  • tests/pe_authentihash_check.py (+362)
  • tests/pe_authentihash_oracle_check.py (+117)
  • tools/pe_authentihash.py (+133)

Run: Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev
Start 852: pe_authentihash
1/2 Test #852: pe_authentihash .................. Passed 0.26 sec
Start 853: pe_authentihash_oracle
2/2 Test #853: pe_authentihash_oracle ........... Passed 0.11 sec

100% tests passed out of 2

Total Test time (real) = 0.40 sec

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6611203214 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2499). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-25T18:37:50Z. --- Adds a tool to compute Authenticode SHA-256 digests along with unit and oracle checks. **Files:** - README.md (+2/-1) - tests/pe_authentihash_check.py (+362) - tests/pe_authentihash_oracle_check.py (+117) - tools/pe_authentihash.py (+133) Run: Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev Start 852: pe_authentihash 1/2 Test #852: pe_authentihash .................. Passed 0.26 sec Start 853: pe_authentihash_oracle 2/2 Test #853: pe_authentihash_oracle ........... Passed 0.11 sec 100% tests passed out of 2 Total Test time (real) = 0.40 sec
MasterDomino commented 2026-11-25 20:04:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T19:20:55Z.


This duplicates work that is already on main. #1911 (@Makto94, "tooling: add a read-only Authenticode SHA-256 digest tool") merged on 2026-11-24. Its tool and checks match this PR's: git diff main <this head> -- tools/pe_authentihash.py tests/pe_authentihash_check.py tests/pe_authentihash_oracle_check.py is empty. Against its merge base the PR "adds" those files, but main already has them with the same content, so merging would change nothing.

Unless I've missed something this PR adds beyond #1911, I suggest closing it. If there is something extra, please rebase onto current main so that only that change remains in the diff.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172170486 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2499#issuecomment-7172170486). Originally posted by [MasterDomino](https://github.com/MasterDomino) on 2026-11-25T19:20:55Z. --- This duplicates work that is already on `main`. #1911 (@Makto94, "tooling: add a read-only Authenticode SHA-256 digest tool") merged on 2026-11-24. Its tool and checks match this PR's: `git diff main <this head> -- tools/pe_authentihash.py tests/pe_authentihash_check.py tests/pe_authentihash_oracle_check.py` is empty. Against its merge base the PR "adds" those files, but `main` already has them with the same content, so merging would change nothing. Unless I've missed something this PR adds beyond #1911, I suggest closing it. If there is something extra, please rebase onto current `main` so that only that change remains in the diff. AI-assisted.
upstream-sync closed this pull request 2026-11-25 21:01:10 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2491
No description provided.