mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 20:44:14 -04:00
Prefill PCR[11], PCR[12], PCR[13], PCR[15]
This commit is contained in:
parent
3b6ee703f5
commit
26fdfa4bee
2 changed files with 8 additions and 1 deletions
3
.github/workflows/build-os-image.yml
vendored
3
.github/workflows/build-os-image.yml
vendored
|
@ -358,7 +358,8 @@ jobs:
|
||||||
./precalculate_pcr_4.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-4-${{ matrix.csp }}.json >> $GITHUB_STEP_SUMMARY
|
./precalculate_pcr_4.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-4-${{ matrix.csp }}.json >> $GITHUB_STEP_SUMMARY
|
||||||
./precalculate_pcr_8.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-8-${{ matrix.csp }}.json ${{ matrix.csp }} >> $GITHUB_STEP_SUMMARY
|
./precalculate_pcr_8.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-8-${{ matrix.csp }}.json ${{ matrix.csp }} >> $GITHUB_STEP_SUMMARY
|
||||||
./precalculate_pcr_9.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-9-${{ matrix.csp }}.json >> $GITHUB_STEP_SUMMARY
|
./precalculate_pcr_9.sh ${{ github.workspace }}/image.raw ${{ github.workspace }}/pcr-9-${{ matrix.csp }}.json >> $GITHUB_STEP_SUMMARY
|
||||||
jq --sort-keys -s '.[0] * .[1] * .[2]' ${{ github.workspace }}/pcr-* > ${{ github.workspace }}/pcrs-${{ matrix.csp }}.json
|
cp pcr-stable.json ${{ github.workspace }}/
|
||||||
|
jq --sort-keys -s '.[0] * .[1] * .[2] * .[3]' ${{ github.workspace }}/pcr-* > ${{ github.workspace }}/pcrs-${{ matrix.csp }}.json
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
working-directory: ${{ github.workspace }}/image/mkosi/measured-boot
|
working-directory: ${{ github.workspace }}/image/mkosi/measured-boot
|
||||||
|
|
||||||
|
|
6
image/mkosi/measured-boot/pcr-stable.json
Executable file
6
image/mkosi/measured-boot/pcr-stable.json
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"pcr11": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"pcr12": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"pcr13": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"pcr15": "0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue