GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Verify real security producer archives before Server publication (#573) · PastureStack/server@a38edc3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • verify-current-component-inputs.yml
  • scripts
    • check-server-api-explorer-patch.sh
    • test-current-server-packaging-contract.py
  • server
    • Dockerfile.web-compose-release
    • artifacts
      • verify-runtime-producer.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/verify-current-component-inputs.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/verify-current-component-inputs.yml
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ jobs:
3636
python server/security/test_scan_coverage.py
3737
python scripts/test-render-server-release-notes.py
3838
bash scripts/check-server-source-gates.sh
39+
- name: Verify original published component archives
40+
shell: bash
41+
run: |
42+
set -euo pipefail
43+
docker build --target release_artifacts \
44+
--build-arg SOURCE_DATE_EPOCH="$(git show -s --format=%ct HEAD)" \
45+
--tag "local/pasturestack/verified-components:${{ github.sha }}" \
46+
--file server/Dockerfile.web-compose-release server
Collapse file

‎scripts/check-server-api-explorer-patch.sh‎

Copy file name to clipboardExpand all lines: scripts/check-server-api-explorer-patch.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ for incremental_producer_runtime_marker in \
790790
'/usr/bin/host-provisioner.real -v | grep -F "${HOST_PROVISIONER_VERSION}" >/dev/null;' \
791791
'test -s /usr/share/licenses/pasturestack/host-provisioner/LICENSE;' \
792792
'test -s /usr/share/licenses/pasturestack/host-provisioner/ORIGIN.md;' \
793-
'test "$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)" -eq 35;' \
793+
'test "$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)" -eq 36;' \
794794
'echo "${SECRET_DELIVERY_API_BINARY_SHA256} /usr/bin/secret-delivery-api" | sha256sum -c -;' \
795795
'/usr/bin/secret-delivery-api --version | grep -F "v${SECRET_DELIVERY_API_VERSION}" >/dev/null;' \
796796
'test "$(readlink -f /usr/bin/secrets-api)" = /usr/bin/secret-delivery-api;' \
Collapse file

‎scripts/test-current-server-packaging-contract.py‎

Copy file name to clipboardExpand all lines: scripts/test-current-server-packaging-contract.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"/usr/bin/host-provisioner.real -v | grep -F \"${HOST_PROVISIONER_VERSION}\" >/dev/null;",
201201
"test -s /usr/share/licenses/pasturestack/host-provisioner/LICENSE;",
202202
"test -s /usr/share/licenses/pasturestack/host-provisioner/ORIGIN.md;",
203-
"test \"$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)\" -eq 35;",
203+
"test \"$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)\" -eq 36;",
204204
"echo \"${SECRET_DELIVERY_API_BINARY_SHA256} /usr/bin/secret-delivery-api\" | sha256sum -c -;",
205205
"/usr/bin/secret-delivery-api --version | grep -F \"v${SECRET_DELIVERY_API_VERSION}\" >/dev/null;",
206206
"test \"$(readlink -f /usr/bin/secrets-api)\" = /usr/bin/secret-delivery-api;",
@@ -1178,7 +1178,9 @@ def test_producer_helper_keeps_original_package_metadata_and_legal_boundaries(se
11781178
'tar --no-same-owner --no-same-permissions --strip-components=1 -xJf "$archive"',
11791179
'[[ "$output" == "/out/$type" && ! -e "$output" ]]',
11801180
'grep -Fx "Release source commit: $commit"',
1181-
'test "$(find "$output/licenses" -type f | wc -l)" -eq 35',
1181+
'test "$(find "$output/licenses" -type f | wc -l)" -eq 36',
1182+
'test -s "$output/licenses/golang.org/x/net/LICENSE"',
1183+
'test -s "$output/licenses/golang.org/x/crypto/LICENSE"',
11821184
'"$type-PRIVACY.md"',
11831185
'SERVER-PRODUCER-SOURCES.txt',
11841186
'if [[ "${entry##*/}" != "$type" ]]',
Collapse file

‎server/Dockerfile.web-compose-release‎

Copy file name to clipboardExpand all lines: server/Dockerfile.web-compose-release
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ RUN set -eux; \
13891389
/usr/bin/host-provisioner.real -v | grep -F "${HOST_PROVISIONER_VERSION}" >/dev/null; \
13901390
test -s /usr/share/licenses/pasturestack/host-provisioner/LICENSE; \
13911391
test -s /usr/share/licenses/pasturestack/host-provisioner/ORIGIN.md; \
1392-
test "$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)" -eq 35; \
1392+
test "$(find /usr/share/licenses/pasturestack/host-provisioner/licenses -type f | wc -l)" -eq 36; \
13931393
echo "${SECRET_DELIVERY_API_BINARY_SHA256} /usr/bin/secret-delivery-api" | sha256sum -c -; \
13941394
/usr/bin/secret-delivery-api --version | grep -F "v${SECRET_DELIVERY_API_VERSION}" >/dev/null; \
13951395
ln -sfn secret-delivery-api /usr/bin/secrets-api; \
Collapse file

‎server/artifacts/verify-runtime-producer.sh‎

Copy file name to clipboardExpand all lines: server/artifacts/verify-runtime-producer.sh
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ case "$type" in
3131
mkdir -p "$output"
3232
tar --no-same-owner --no-same-permissions --strip-components=1 -xJf "$archive" -C "$output"
3333
test -s "$output/LICENSE" && test -s "$output/ORIGIN.md"
34-
test "$(find "$output/licenses" -type f | wc -l)" -eq 35
34+
test "$(find "$output/licenses" -type f | wc -l)" -eq 36
35+
test -s "$output/licenses/golang.org/x/net/LICENSE"
36+
test -s "$output/licenses/golang.org/x/crypto/LICENSE"
3537
version_flag=-v
3638
;;
3739
secret-delivery-api|usage-telemetry-agent)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.