upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorExopus <230622659+Exopus-0x65f7ad0@users.noreply.github.com>2026-11-23 00:17:34 +0100
committerExopus <230622659+Exopus-0x65f7ad0@users.noreply.github.com>2026-11-23 00:17:34 +0100
commitf03dcbdeb558b61878df0a881d594f41a003dd49 (patch)
tree914e3e1c7d859499267732f4aa46cbad1ba1cfc9 /runtime/src/pe_loader.cpp
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
ci: check the WineHQ and apt.llvm.org signing keys' fingerprints
The wine job wrote https://dl.winehq.org/wine-builds/winehq.key straight into /etc/apt/keyrings and the translator-tests job piped https://apt.llvm.org/llvm-snapshot.gpg.key into gpg --dearmor, so apt trusted whatever key those URLs served that day. Every other download in CI is pinned (actions by commit, glslang by SHA-256, the Vulkan headers by commit). scripts/check_apt_key.py (standard library, gpg --show-keys) requires the downloaded file to hold exactly one primary key with the given fingerprint; both steps now download to a temporary file, check it against the fingerprint each project publishes (WineHQ D43F6401...672F, apt.llvm.org 6084F3CF...7421) and only then install it. tests/test_check_apt_key.py: the parser and the check with a stand-in gpg (the key, another key, two primary keys, subkeys, an unreadable file, no gpg), the command line, and a scan of .github/workflows that fails for a key download not checked right after (both of today's downloads fail it on the old workflows). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions