Skip to content

Commit cc39c1f

Browse files
authored
Including omni-executor's SGX enclave signature info in the release notes (#3459)
* feat(scripts): add sigstruct info to release notes Include the output of `gramine-sgx-sigstruct-view` from the omni-executor Docker image in the generated release notes. This provides detailed sigstruct information for the enclave, including mrenclave value. * adjusting section name
1 parent 26844ca commit cc39c1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

parachain/scripts/generate-release-notes.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ if is_omni_executor_release; then
209209
WORKER_VERSION=$(grep '^version' tee-worker/omni-executor/executor-worker/Cargo.toml | head -n1 | sed -E 's/^version *= *["'\''](.*)["'\'']/\1/')
210210
WORKER_BIN=$(grep '^name' tee-worker/omni-executor/executor-worker/Cargo.toml | head -n1 | sed -E 's/^name *= *["'\''](.*)["'\'']/\1/')
211211
WORKER_RUSTC_VERSION=$(cd tee-worker/omni-executor && rustc --version)
212+
docker run --rm --entrypoint gramine-sgx-sigstruct-view -v /var/run/aesmd:/var/run/aesmd litentry/omni-executor:$OMNI_EXECUTOR_DOCKER_TAG omni-executor.sig > enclave-sigstruct.txt
213+
SIGSTRUCT=$(<enclave-sigstruct.txt)
212214
cat << EOF >> "$1"
213215
## Omni-Executor
214216
@@ -217,6 +219,8 @@ client version : $WORKER_VERSION
217219
client name : $WORKER_BIN
218220
rustc : $WORKER_RUSTC_VERSION
219221
docker image : litentry/omni-executor:$OMNI_EXECUTOR_DOCKER_TAG
222+
SGX enclave info
223+
$SIGSTRUCT
220224
<CODEBLOCK>
221225
222226
EOF

0 commit comments

Comments
 (0)