We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f9b17 commit 9261164Copy full SHA for 9261164
1 file changed
attestation/configid-based/attest.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
# Configuration variables with default values
4
-IMAGE_VERSION="0.5.1"
+IMAGE_VERSION="0.5.2"
5
VCPU_COUNT="2"
6
MEM_SIZE="2048"
7
@@ -181,7 +181,7 @@ calc_mrs_command() {
181
# Calculate mr_config_id from app-compose.json and pad to 48 bytes (96 hex characters)
182
original_hash=$(sha256sum app-compose.json | cut -d' ' -f1)
183
# Pad with zeros if needed to reach 96 characters
184
- mr_config_id=$(printf "%-96s" "$original_hash" | tr ' ' '0')
+ mr_config_id=$(printf "01%-94s" "$original_hash" | tr ' ' '0')
185
echo "Using mr_config_id: $mr_config_id"
186
187
# Run dstack-mr with metadata.json from the image
0 commit comments