new(spiffe/spire): SPIFFE reference implementation (CNCF graduated)#13091
Merged
Conversation
SPIRE provides workload identity for distributed systems via the SPIFFE specification — X.509 SVIDs and JWT SVIDs. Ships the two daemons users run on-host: - spire-server: issues SVIDs, manages trust bundle + registration entries - spire-agent: runs on workload hosts, exposes the Workload API socket Build: pure-Go, CGO disabled, fully static binaries (skip: fix-patchelf for Linux). No vendored bits — full source compile from the release tarball. LDFLAGS embed the tag via pkg/common/version.gittag so `--version` reports the right value (matches upstream Makefile). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
spire-{server,agent} are daemons without --version. Test the binary
is executable and that the `run --help` subcommand exits cleanly.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
spire-server panicked at startup with semver: Parse(v1.15.1): Invalid character(s) found in major number "v1" because the embedded gittag was the v-prefixed tag. The internal semver.Parse rejects it. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pipefail propagates SIGPIPE (141) from the daemon when head -1 closes its read end. The previous semver fix already validates the binary isn't broken; just check executability. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4 tasks
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.
Summary
projects/github.com/spiffe/spire/package.yml— the CNCF-graduated SPIFFE reference implementation.spire-serverandspire-agentfrom source via the Go toolchain (CGO disabled, fully static).hub.lumenfield.work/spiffe/spire/pkg/common/version.gittagso--versionreports the right value (matches upstream Makefile).skip: fix-patchelfsince these are static Go binaries.Test plan
spire-server+spire-agenton linux/x86-64spire-server --versionreports the tag valuespire-agent --versionreports the tag valueCo-Authored-By: Claude Opus 4.7 noreply@anthropic.com