Launcher test suite: trusted build identity for executables it runs, and run the suite in CI
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read the launcher test suite and run_launcher_tests.py, then trace how testing builds are identified and how CI builds and runs the launcher tests. The issue names the guarded launch paths and integration checks to cover, but the trusted identity mechanism and CI changes span multiple components. Done means changed or mixed executables are refused on every guarded path and the default stand-in payload suite cases run in CI with failures failing the job.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The launcher test suite only runs programs it can identify as testing builds, and it refuses non-testing programs before they start (PR #253). Two hardening steps were deliberately left out of 0.6.5 and are tracked here.
1. Trusted build identity for executables the suite runs
Today a program counts as a testing build when it carries the testing-only named resource, the testing hook strings inside its sections, and a matching PE checksum. That rejects release builds, modified copies and the runnable canaries. It is not a provenance proof: the PE checksum is unkeyed, so a binary crafted on purpose could carry the same resource, strings and a recomputed checksum.
Proposal: have the testing build write an identity the suite can verify independently of the file itself, such as a build manifest with the full SHA-256 of each executable produced in that build (launcher, restorer, uninstaller, canaries), checked before every launch, or a keyed marker. Mixed or changed images should fail. Add a negative control with a runnable canary that carries the resource, the strings and a valid recomputed checksum, and show that it is refused on every guarded launch path.
2. Run the launcher suite in CI
CI builds the testing launcher and runs the core tests, but it does not run run_launcher_tests.py. The suite's integration checks can regress while CI stays green: the runnable-canary refusals on each entry point, the inherited-override stripping, the helper-permission negative control, and the edition/junction temp-folder checks.
Proposal: run the default launcher-suite cases on the stand-in payload in CI, including both launcher entry points (--launcher and --no-direct-launcher) and the helper and temp integration checks, with failures failing the job.
- Lingua principale
- C++
- Stelle
- 12
- Fork
- 2
- Merge medio
- 3h 10m
- PR unite (30g)
- 171
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di phantoslayer21/wronggpu
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
phantoslayer21/wronggpu#275 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
phantoslayer21/wronggpu#274 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
phantoslayer21/wronggpu#241 ·
I maintainer di solito rispondono entro 1 giorno
-
bug build
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
phantoslayer21/wronggpu#234 ·
I maintainer di solito rispondono entro 1 giorno
-
Launcher tests: "an older record: update available" fakes a version newer than the test buildApertabug build
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
phantoslayer21/wronggpu#233 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di phantoslayer21/wronggpu
Issue simili
-
ai_p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ClickHouse/ClickHouse#132519 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: VST3 getMidiControllerAssignment reads past midiControllerToParameter for program changeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
juce-framework/JUCE#1810 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
petercorke/robotics-toolbox-python#952 ·
I maintainer di solito rispondono entro 1 giorno
-
NatronRenderer: a Python error in the script (-t / project script) doesn't change the exit statusApertafunc:engine type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NatronGitHub/Natron#1276 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno