mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 08:03:36 +00:00
upstream/build.sh checked linux-$KV.tar.xz only against sha256sums.asc fetched from the same host, grepping the whole file and never checking its signature. upstream/verify-kernel-src.sh now requires both: - the autosigner's clearsigned sha256sums.asc (gpgv --output: only the signed text is searched), with exactly one line matching the tarball's SHA-256; - the releaser's linux-$KV.tar.sign over the uncompressed tar (Linus, Greg, Sasha). Each against its own keyring committed in upstream/keys/ (fingerprints from WKD and the git.kernel.org pgpkeys repo, cross-checked with signature.html), with gpgv's VALIDSIG primary fingerprint pinned in keys/*.fpr. Any failure, or no gpgv, stops the build and deletes the download; the tree unpacks beside /src and is moved into place last. CI and release builds run build.sh, so they are covered as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
12 lines
382 B
Plaintext
12 lines
382 B
Plaintext
# Everything here runs on the device, whose shells take a CR for part of a word ("do\r"): text files are checked
|
|
# out with LF on every system, Windows included (issue #7). install.ps1 and build-boot-image.py also convert what
|
|
# they send, for clones made before this file.
|
|
* text=auto eol=lf
|
|
*.img binary
|
|
*.bin binary
|
|
*.gz binary
|
|
*.tar binary
|
|
*.lz4 binary
|
|
*.ko binary
|
|
*.gpg binary
|