Skip to content

Commit

Permalink
Add signature verification step
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbalinov committed Oct 31, 2024
1 parent 02a9288 commit ab9023d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pkg_msi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ jobs:
with:
name: msi-${{ matrix.arch }}
path: dist
- name: Verify signature is valid
run: |
curl --retry 10 --retry-delay 60 -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o smtools-windows-x64.msi
msiexec /i smtools-windows-x64.msi /quiet /qn
cd dist
signtool.exe verify /pa /hash SHA56 /all mondoo_${{ matrix.arch }}.msi
- name: Install artifact
run: |
cd dist
Expand Down

0 comments on commit ab9023d

Please sign in to comment.