File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check if UEFI revocation list is up-to-date
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - dasharo
7
+ pull_request :
8
+ branches :
9
+ - dasharo
10
+
11
+ jobs :
12
+ check :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout Code
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Check if DBX is up-to-date
20
+ run : |
21
+ echo 'Fetching DBX from uefi.org'
22
+ wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin -o /dev/null
23
+ if [ $? -ne 0 ]; then
24
+ echo 'Failed to fetch latest DBX.'
25
+ exit 1
26
+ fi
27
+ diff <(sha256sum x64_DBXUpdate.bin | awk '{ print $1 }') <(sha256sum UefiPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1 }')
28
+ if [ $? -ne 0 ]; then
29
+ echo 'UEFI DBX is out of date.'
30
+ exit 1
31
+ else
32
+ echo 'UEFI DBX is up-to-date.'
33
+ fi
You can’t perform that action at this time.
0 commit comments