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 — Bind fixed crypto policy to native consumer and runtime checks (#575) · PastureStack/server@8c4c264

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • server
    • Dockerfile.web-compose-release
    • build-api-explorer-patch-image.sh
    • security
      • test_scan_coverage.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎server/Dockerfile.web-compose-release‎

Copy file name to clipboardExpand all lines: server/Dockerfile.web-compose-release
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,10 @@ RUN set -eux; \
520520
install -m 0755 /out/usage-telemetry-agent/usage-telemetry-agent /out/runtime-bin/usage-telemetry-agent; \
521521
install -m 0755 /out/machine-driver-bundle/docker-machine /out/runtime-bin/docker-machine; \
522522
install -m 0755 /out/machine-driver-bundle/docker-machine-driver-packet /out/runtime-bin/docker-machine-driver-packet; \
523+
for ssh_binary in /out/runtime-bin/host-provisioner.real /out/runtime-bin/compose-executor.real; do \
524+
metadata="$(go version -m "${ssh_binary}")"; \
525+
printf '%s\n' "${metadata}" | grep -F "$(printf 'dep\tgolang.org/x/crypto\tv0.59.0\t')" >/dev/null; \
526+
done; \
523527
cp -a /out/machine-driver-bundle/licenses /out/runtime-licenses/machine-driver-bundle; \
524528
cp -a /out/catalog-service-licenses /out/runtime-licenses/catalog-service; \
525529
cp -a /out/host-provisioner-licenses /out/runtime-licenses/host-provisioner; \
Collapse file

‎server/build-api-explorer-patch-image.sh‎

Copy file name to clipboardExpand all lines: server/build-api-explorer-patch-image.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ EOF
928928
test "$(/usr/bin/compose-executor.real --version)" = \
929929
"pasturestack-compose version ${PASTURESTACK_COMPOSE_EXECUTOR_VERSION}"
930930
for ssh_binary in /usr/bin/host-provisioner.real /usr/bin/compose-executor.real; do
931-
grep -aF "$(printf "dep\tgolang.org/x/crypto\tv0.56.0\t")" "${ssh_binary}" >/dev/null
931+
grep -aF "$(printf "dep\tgolang.org/x/crypto\tv0.59.0\t")" "${ssh_binary}" >/dev/null
932932
done
933933
test "$(/usr/bin/catalog-service.real --version)" = "v${PASTURESTACK_CATALOG_SERVICE_VERSION}"
934934
test "$(/usr/bin/catalog-service-sqlite --version)" = "v${PASTURESTACK_CATALOG_SERVICE_VERSION}"
Collapse file

‎server/security/test_scan_coverage.py‎

Copy file name to clipboardExpand all lines: server/security/test_scan_coverage.py
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ def test_upstream_fixed_consumers_retire_only_exact_legacy_exceptions(self):
140140
self.assertEqual(review['newVexExceptionsAdded'], 0)
141141
self.assertTrue(review['splitOpenpgpModuleStillUnsafe'])
142142
recipe = (root.parent / 'Dockerfile.web-compose-release').read_text(encoding='utf-8')
143+
build = (root.parent / 'build-api-explorer-patch-image.sh').read_text(encoding='utf-8')
144+
# The fixed-module decision must reach both native producer adoption
145+
# and the assembled runtime readback, not only the VEX/recipe pins.
146+
self.assertIn('for ssh_binary in /out/runtime-bin/host-provisioner.real /out/runtime-bin/compose-executor.real;', recipe)
147+
self.assertIn("dep\\tgolang.org/x/crypto\\tv0.59.0\\t", recipe)
148+
self.assertIn('for ssh_binary in /usr/bin/host-provisioner.real /usr/bin/compose-executor.real;', build)
149+
self.assertRegex(build, r'(?m)^ grep -aF .*dep\\tgolang.org/x/crypto\\tv0\.59\.0\\t.* "\$\{ssh_binary\}" >/dev/null$')
150+
self.assertNotIn('golang.org/x/crypto\\tv0.56.0', recipe)
151+
self.assertNotIn('golang.org/x/crypto\\tv0.56.0', build)
143152
self.assertEqual(set(review['subjects']), {'usr/bin/compose-executor.real', 'usr/bin/host-provisioner.real'})
144153
for target, subject in review['subjects'].items():
145154
self.assertNotIn(target, OPENPGP_VEX_BINARY_SHA256)

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.