Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
shell: bash
run: |
set -euo pipefail
archive="$RUNNER_TEMP/go1.27.3.linux-amd64.tar.gz"
archive="$RUNNER_TEMP/go1.27.4.linux-amd64.tar.gz"
curl --proto '=https' --tlsv1.2 --fail --silent --show-error --location \
--output "$archive" https://go.dev/dl/go1.27.3.linux-amd64.tar.gz
--output "$archive" https://go.dev/dl/go1.27.4.linux-amd64.tar.gz
printf '%s %s\n' \
65efbc80fdc1fa2cd2631cad5b481777a68e8725f34e89f50fc6ac714e379b40 \
7226736c2339719cda28fbf3a54d71aa63bcefe376e98cef00034268dab24840 \
"$archive" | sha256sum -c -
tar -C "$RUNNER_TEMP" -xzf "$archive"
printf '%s\n' "$RUNNER_TEMP/go/bin" >> "$GITHUB_PATH"
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
artifact="dist/vsphere-cli-bundle-${version}-linux-amd64.tar.xz"
gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --verify-tag \
--title "vSphere CLI Bundle ${version}" \
--notes 'Deterministic Go 1.27.3 build from the pinned govmomi source coordinate, with pure numeric artifact versioning and checksummed provenance.' \
--notes 'Deterministic Go 1.27.4 build from the pinned govmomi source coordinate, with pure numeric artifact versioning and checksummed provenance.' \
"$artifact" dist/SHA256SUMS

- name: Clean generated files
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/repository-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
shell: bash
run: |
set -euo pipefail
archive="$RUNNER_TEMP/go1.27.3.linux-amd64.tar.gz"
archive="$RUNNER_TEMP/go1.27.4.linux-amd64.tar.gz"
curl --proto '=https' --tlsv1.2 --fail --silent --show-error --location \
--output "$archive" https://go.dev/dl/go1.27.3.linux-amd64.tar.gz
printf '%s %s\n' 65efbc80fdc1fa2cd2631cad5b481777a68e8725f34e89f50fc6ac714e379b40 "$archive" | sha256sum -c -
--output "$archive" https://go.dev/dl/go1.27.4.linux-amd64.tar.gz
printf '%s %s\n' 7226736c2339719cda28fbf3a54d71aa63bcefe376e98cef00034268dab24840 "$archive" | sha256sum -c -
tar -C "$RUNNER_TEMP" -xzf "$archive"
test "$("$RUNNER_TEMP/go/bin/go" env GOVERSION)" = go1.27.3
test "$("$RUNNER_TEMP/go/bin/go" env GOVERSION)" = go1.27.4
printf '%s\n' "$RUNNER_TEMP/go/bin" >> "$GITHUB_PATH"
- name: Verify the locked reproducible bundle and record build information
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion ORIGIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ The packaged `govc` executable is built from:
- License: Apache-2.0
- License file: `LICENSE.txt`

The pinned commit is an exact source coordinate, not represented as a direct descendant of the reference tag. The packaging recipe preserves every upstream Go source file and applies only an explicit `govc/go.mod` requirement plus official `govc/go.sum` checksum entries for `golang.org/x/text v0.41.0`, addressing [GO-2026-6629](https://pkg.go.dev/vuln/GO-2026-6629). It verifies the complete two-file change allowlist, exact dependency version and module checksums, and the upstream license SHA-256 before building pure numeric version `0.55.4` with Go 1.27.3.
The pinned commit is an exact source coordinate, not represented as a direct descendant of the reference tag. The packaging recipe preserves every upstream Go source file and applies only an explicit `govc/go.mod` requirement plus official `govc/go.sum` checksum entries for `golang.org/x/text v0.41.0`, addressing [GO-2026-6629](https://pkg.go.dev/vuln/GO-2026-6629). It verifies the complete two-file change allowlist, exact dependency version and module checksums, and the upstream license SHA-256 before building pure numeric version `0.55.5` with Go 1.27.4.

The root MIT license applies only to PastureStack-authored packaging code and documentation. The upstream copyright and Apache-2.0 terms remain intact and are reproduced in every release archive.
7 changes: 6 additions & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ if [ "$discovery" = 1 ]; then
printf 'Discovery only: no release archive produced\n'
exit 0
fi
printf '%s %s\n' "$GOVC_BINARY_SHA256" "$stage_dir/govc" | sha256sum -c -
actual_sha256=$(sha256sum "$stage_dir/govc")
actual_sha256=${actual_sha256%% *}
if [ "$actual_sha256" != "$GOVC_BINARY_SHA256" ]; then
printf 'govc SHA-256 mismatch: expected %s, built %s\n' "$GOVC_BINARY_SHA256" "$actual_sha256" >&2
exit 1
fi

{
printf 'PastureStack packaging recipe\n'
Expand Down
6 changes: 3 additions & 3 deletions sources.lock.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOVMOMI_VERSION=0.55.4
GOVMOMI_VERSION=0.55.5
GOVMOMI_REFERENCE_TAG=v0.55.1
GOVMOMI_COMMIT=a668d9c60399552ea96782b8751c956720a0b8fb
GOVMOMI_SHORT_COMMIT=a668d9c60399
Expand All @@ -11,5 +11,5 @@ GOVMOMI_X_TEXT_VERSION=0.41.0
GOVMOMI_X_TEXT_SUM=h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
GOVMOMI_X_TEXT_GO_MOD_SUM=h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
SOURCE_DATE_EPOCH=1783432935
BUILD_GO_VERSION=1.27.3
GOVC_BINARY_SHA256=8f43086cc85de88a93e510efe9375a1ff6e265ca12e764c1fc8ae4c35be69ded
BUILD_GO_VERSION=1.27.4
GOVC_BINARY_SHA256=7319102b997d19d3a1571b36485c52fd881a23338dfa0410546719b6d4719784
Loading