Skip to content

sdk_lib: add GPG signature verification for SDK downloads - #4206

Open
prayag0one4 wants to merge 1 commit into
flatcar:mainfrom
prayag0one4:fix-sdk-gpg-verification
Open

sdk_lib: add GPG signature verification for SDK downloads#4206
prayag0one4 wants to merge 1 commit into
flatcar:mainfrom
prayag0one4:fix-sdk-gpg-verification

Conversation

@prayag0one4

@prayag0one4 prayag0one4 commented Aug 10, 2026

Copy link
Copy Markdown

While looking through the SDK download logic in sdk_util.sh, I noticed there was a TODO left behind about downloading the .asc files and verifying the GPG signatures.

Right now, we only download the .DIGESTS file and use it to check the tarball's integrity. While that's great for catching corrupted downloads, it leaves the build pipeline vulnerable to a compromised mirror or a MitM attack, since a bad actor could easily swap out both the tarball and the digests file with malicious versions.

This PR addresses that by finishing up the TODO. I updated the script to grab the .DIGESTS.asc file alongside the tarball, and added a gpg --verify step before we actually trust the hashes. This ensures the SDK artifacts are authentic and helps lock down our supply chain security.

Signed-off-by: Prayag <rajprayag014@gmail.com>
@prayag0one4
prayag0one4 requested a review from a team as a code owner August 10, 2026 17:48
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