Skip to content

Commit

Permalink
.github/workflows/dbx.yml: Fix downloading DBX
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
  • Loading branch information
miczyg1 committed Jan 30, 2025
1 parent 17d395d commit e6e8326
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dbx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:

- name: Check if DBX is up-to-date
run: |
echo 'Fetching DBX from uefi.org'
wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin -o /dev/null
echo 'Fetching DBX from Microsoft Secure Boot GitHub repository'
wget https://github.com/microsoft/secureboot_objects/raw/refs/heads/main/PostSignedObjects/DBX/amd64/DBXUpdate.bin -o /dev/null
if [ $? -ne 0 ]; then
echo 'Failed to fetch latest DBX.'
exit 1
fi
diff <(sha256sum x64_DBXUpdate.bin | awk '{ print $1 }') <(sha256sum DasharoPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1 }')
diff <(sha256sum DBXUpdate.bin | awk '{ print $1 }') <(sha256sum DasharoPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1 }')
if [ $? -ne 0 ]; then
echo 'UEFI DBX is out of date.'
exit 1
Expand Down

0 comments on commit e6e8326

Please sign in to comment.