Skip to content

R06: restore same-publisher Authenticode proof with fail-closed regressions - #228

Merged
Oleksii-debug merged 35 commits into
r06-compose-packaged-app-update-verify-0911from
r06-repair-app-update-authenticode-0913-sol
Sep 27, 2026
Merged

Oleksii-debug merged 35 commits into
r06-compose-packaged-app-update-verify-0911from
r06-repair-app-update-authenticode-0913-sol

Conversation

@Oleksii-debug

@Oleksii-debug Oleksii-debug commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Exact lineage

Canonical packaged authority at final intake bind: r06-compose-packaged-app-update-verify-0911@4b5d61919a86cb76588ca8ffe1b6d78be34dbd18.
Canonical candidate: r06-repair-app-update-authenticode-0913-sol@bb6cf48a314f1653d2d35c5dfd4755827cd81609.

Direct package → candidate is BEHIND 0, merge-base exact package, with exactly four lasting paths:

  • frontend/application-update.js;
  • new desktop_host/authenticode.py;
  • desktop_host/update_application.py;
  • tests/test_packaged_application_update.py.

Product boundary

The native update verification path still performs no download, install, execute, replace, stage, or rollback action. Existing exact manifest/name/size/SHA-256 verification remains independently required.

The added authenticity signal returns positive only when Windows Authenticode reports both the running executable and selected candidate as Valid with the same certificate thumbprint. The native path resolves System32 through Win32, invokes the fixed system Windows PowerShell executable with a static script, resets PSModulePath to the fixed system module tree, and passes current/candidate paths only through native-owned environment variables rather than interpolating them into script text.

After a positive signature result, exact local artifact verification is repeated. Candidate mutation after signature inspection therefore fails the whole request closed rather than returning stale verified=true.

Unsigned, unavailable, malformed, signer-mismatched or non-Windows cases remain not_proven_by_local_hash_verification.

Qualified defect repairs

Hosted qualification exposed and repaired two candidate-local defects without weakening assertions:

  1. preserve already-concrete native Path objects instead of re-dispatching pathlib.Path under a mocked os.name;
  2. use the correct single PowerShell module-qualification separator for Microsoft.PowerShell.Security\Get-AuthenticodeSignature.

Final governed evidence

Exact candidate bb6cf48a...:

  • Library/Search run 36337677911: Ubuntu + Windows SUCCESS; inspected Windows log confirms exact candidate checkout and six real response-level regressions;
  • DEV1 run 36337677917: Linux + Windows SUCCESS; both jobs report Confirm exact source checkout=SUCCESS before source reconstruction/composed qualification;
  • DEV10 run 36337677936: SUCCESS;
  • independent different-worker static QA found no blocker in path ownership, native path confidentiality, System32/PowerShell hardening, strict parser, same-signer requirement, or post-signature exact-byte re-verification;
  • direct current-package compare remains BEHIND 0 / four paths;
  • review threads are empty.

READY_FOR_INTEGRATION=YES for exact bb6cf48a314f1653d2d35c5dfd4755827cd81609 into the canonical package branch only.

Nonclaims

This does not create a production signing identity or private key and does not finish application apply/rollback. A real signed current release remains the trust anchor required for positive same-publisher proof. No canonical Scripture source/content/grading/main mutation, physical Windows 11/WebView2, HUMAN_NVDA, or final-release acceptance is claimed.

Related coordination: #78.

Copy link
Copy Markdown
Owner Author

HOSTED QUALIFICATION PARTIAL UPDATE — exact bb6cf48a314f1653d2d35c5dfd4755827cd81609

Library/Search run 36337677911 is terminal SUCCESS on both Ubuntu and Windows. Windows job 108671551929 explicitly checked out ref: bb6cf48a..., then reports Library/Search qualification PASS: exact candidate checkout, pinned canonical FINALPREP02 DEV1 base hash/CRC, overlay fidelity, and six real response-level regressions.

This strengthens exact-head evidence but does not complete intake: DEV1 36337677917 and DEV10 36337677936 are still queued. Existing static different-worker QA found no blocker. READY_FOR_INTEGRATION=NO remains until all required exact-head gates terminalize green and live package/head truth is rebound.

@Oleksii-debug
Oleksii-debug marked this pull request as ready for review September 27, 2026 18:03
@Oleksii-debug
Oleksii-debug merged commit a2be16a into r06-compose-packaged-app-update-verify-0911 Sep 27, 2026
7 checks passed
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.

1 participant