Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
4 changes: 4 additions & 0 deletions scripts/check-installer-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ readonly -a OPENSHELL_RELEASE_MANIFEST_ALLOWLIST=(
"0.0.103|openshell-checksums-sha256.txt|1a9016cfb9219ad6ea3dc623b3dfd517dbce062cba9484964a8ca9175c7d1c9d"
"0.0.103|openshell-gateway-checksums-sha256.txt|800f8501329b27b79d260f21de088d8aea36de45021eaa3d29d189c433fc04b5"
"0.0.103|openshell-sandbox-checksums-sha256.txt|ab7c77fe40e93b293e4d34e892824ed0cb131e8b973ba2660b155cdd0fa0f604"
"0.0.106|openshell-checksums-sha256.txt|7421aaf9d5550dc15aa33b523fa3dfe78571811e4ddf76f9f6c29576438bdb27"
"0.0.106|openshell-gateway-checksums-sha256.txt|26e4345449e02475e27a7c59cd0cf39199dd6c91b0aa635fbb8cb834835f4b39"
"0.0.106|openshell-sandbox-checksums-sha256.txt|88bc98ffdc915fb7598f39df84ab37a1a31e40e33e4125b37ed13adecd447dbb"
)

# OpenShell's Homebrew formula is a release asset but is not included in any
Expand All @@ -63,6 +66,7 @@ readonly -a OPENSHELL_RELEASE_FORMULA_ALLOWLIST=(
"0.0.99|openshell.rb|https://github.com/NVIDIA/OpenShell/releases/download/v0.0.99/openshell.rb|8dd34fc17ee9a30327664a18c9509c8a765cb010de38cda8e22841bddbe92713"
"0.0.101|openshell.rb|https://github.com/NVIDIA/OpenShell/releases/download/v0.0.101/openshell.rb|87fadc7b0c854aa44f71d5b3a206865070117cd27825d59c61da252a99f402a2"
"0.0.103|openshell.rb|https://github.com/NVIDIA/OpenShell/releases/download/v0.0.103/openshell.rb|95a290f0e0e2f57d7d46ba9171fca6e99e5226875cd12e12391b7338f6c219f9"
"0.0.106|openshell.rb|https://github.com/NVIDIA/OpenShell/releases/download/v0.0.106/openshell.rb|f0f86519e227b3b326431410058ba690b1a7b83e5af7384014e4b96283d3a642"
)

case "${1:-}" in
Expand Down
19 changes: 19 additions & 0 deletions scripts/checks/extract-installer-pins.mts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ const MAX_INSTALLER_INPUT_BYTES = 1024 * 1024;
// and removes that temporary trust after success or failure.
const TRUSTED_INSTALLER_TEMPLATE_SHA256_ALLOWLIST = [
"6226811887cc5c1a721a96fbf062f5ce5f75b09d3a8a1de49ed4dadc3236eb0c",
"5d4cdb2db60df7539193b486ac15bb9be96ec1d40fc0f739a94d4d2f0bf597a0",
"cd1adf3073dd9c2fb70ff517c2002099db58ef3c2757c45b4b5979f474652b2e",
] as const;
const TRUSTED_BREV_TEMPLATE_SHA256_ALLOWLIST = [
"c0a4ddf25a02a9fe02b2df53a60942ea887610f04d4ce16a121b6e79a5aeff1a",
"56fc6482d1508b73604099e6fd6c16daea16275cf36cc25c1c5366c82a4394e3",
Comment thread
cv marked this conversation as resolved.
Resolved
] as const;
const EXPECTED_INSTALLER_ASSETS = [
"openshell-x86_64-unknown-linux-musl.tar.gz",
Expand Down Expand Up @@ -144,6 +147,16 @@ const TRUSTED_SANDBOX_BUILD_PINS: readonly TrustedSandboxBuildPin[] = [
sha256: "fc1454705fad9cc0890297a84d2b7869670a364d01d5398685e3c987d2b6c123",
version: "0.0.103",
},
{
required: false,
sha256: "0031c6b257a23ecc1a2333153918324f3af0005e68abde388858d682ec646c55",
version: "0.0.106",
},
{
required: false,
sha256: "019301ec8618abbed8135e8d39dde7bea47e5e92813bbc17768550de34db59f8",
version: "0.0.106",
},
] as const;
const OPENSHELL_SUPERVISOR_IMAGE = "ghcr.io/nvidia/openshell/supervisor";
// These are the reviewed OCI index identities for the OpenShell supervisor
Expand Down Expand Up @@ -176,6 +189,12 @@ const TRUSTED_SUPERVISOR_MANIFEST_PINS: readonly TrustedSupervisorManifestPin[]
required: false,
version: "0.0.103",
},
{
image: OPENSHELL_SUPERVISOR_IMAGE,
manifestDigest: "sha256:722f44669722961b7f432b0b81de25b91a58f34a61d6403bef967acaf2b3af01",
required: false,
version: "0.0.106",
},
] as const;
const TRUSTED_SUPERVISOR_RUNTIME_TEMPLATE_SHA256_ALLOWLIST: readonly string[] = [
"c1922eaa4f73c1a05aa8bccf50fc40208d7f71db0e6c110dcd09d0372d1aa068",
Expand Down
Loading