envoyproxy.io: verified-vendor bottle (GPG-signed official binary) - #13961
Draft
tannevaled wants to merge 1 commit into
Draft
envoyproxy.io: verified-vendor bottle (GPG-signed official binary)#13961tannevaled wants to merge 1 commit into
tannevaled wants to merge 1 commit into
Conversation
An alternative to the ~18h-per-arch from-source build (pkgxdev#13046): package Envoy's official standalone release binary, but only after verifying a full chain of trust rather than blindly vendoring a URL: Envoy maintainers' GPG key (pinned fingerprint, embedded) -> gpg --verify checksums.txt.asc (SHA256 of every release asset) -> match the downloaded binary's SHA256 against the trusted checksum So the bottle is provably the official release artifact, and the recipe is re-verified on every build. The pattern generalizes to any project shipping signed release binaries/tarballs. Verified end to end (key import -> Good signature -> checksum match on envoy-1.39.0-linux-aarch_64). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A verified-vendor recipe for Envoy — the middle-ground @jhheider suggested in #13958 as an alternative to the ~18h-per-arch from-source build (#13046).
Instead of blindly vendoring a URL, it packages Envoy's official standalone binary only after verifying a full chain of trust:
So the bottle is provably the official release artifact, and — unlike a blind vendor — the recipe is exercised on every build (it re-verifies the chain). The key is embedded (base64), so there's no keyserver dependency at build time; the pinned fingerprint is the trust anchor.
Verified
The full chain was checked end to end:
gpg --verify checksums.txt.asc→ Good signature from "Envoy maintainers";envoy-1.39.0-linux-aarch_64→ its SHA256 matches the signed checksum byte-for-byte.Recipe parses and is schema-valid.
Notes
test:(envoy --version) runs only on Linux, so it isn't exercised in my macOS check — but the binary is the verified official release, so it will run.Closes the toolchain/measurement thread on #13958.
🤖 Generated with Claude Code