File tree Expand file tree Collapse file tree
test-suites/full-stack-compose/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 748748
749749 jq -e '
750750 .kms_enabled == true and .gateway_enabled == true
751- and .manifest_version == "3"
752- and . requirements.tdx_measure_acpi_tables == true
751+ and .manifest_version == 2
752+ and (has(" requirements") | not)
753753 ' " $WORK_DIR /legacy.app-compose.json" > /dev/null \
754- || die " legacy app manifest did not force the legacy TDX verifier "
754+ || die " v0.5.11 app manifest is not legacy-compatible "
755755 jq -e '
756756 .kms_enabled == true and .gateway_enabled == true
757757 and .manifest_version == "3"
761761
762762 jq -e --arg id " $GATEWAY_APP_ID " \
763763 --arg device " $ATTESTED_DEVICE_ID " \
764+ --arg current_image " $OS_IMAGE_HASH " \
765+ --arg old_image " $OLD_OS_IMAGE_HASH " \
764766 ' .gatewayAppId == $id and .gatewayAppId != "any"
765- and (.osImages | length) == 1
767+ and (.osImages | sort == ([$current_image, $old_image] | sort))
766768 and (.kms.mrAggregated | length) == 2
767769 and (.kms.allowAnyDevice == false)
768770 and (.kms.devices == [$device])
You can’t perform that action at this time.
0 commit comments