Skip to content

Start-AWSTest: check if MSI signature is valid before installation#24

Open
uddr wants to merge 1 commit intomasterfrom
yuriy/check-signature
Open

Start-AWSTest: check if MSI signature is valid before installation#24
uddr wants to merge 1 commit intomasterfrom
yuriy/check-signature

Conversation

@uddr
Copy link
Copy Markdown

@uddr uddr commented Feb 20, 2026

It might happen during the build that installer is not signed
And it is hard to detect because of huge build output
This check helps detect missing or not valid MSI signature

It might happen during the build that installer is not signed
And it is hard to detect because of huge build output
This check helps detect missing or not valid MSI signature

Signed-off-by: Yuriy Darnobyt <yura.darnobyt@openvpn.net>
Comment thread Start-AWSTest.ps1
$msiFileName = Split-Path "$MSI_PATH" -leaf
Invoke-Command -Session $Sess -ArgumentList $msiFileName -ScriptBlock {
$sig = Get-AuthenticodeSignature -FilePath "$HOME\$args"
if ($sig.Status -ne 'Valid') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might break the GHA execution of these tests? I don't think we sign all the installers we test?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my thoughts exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants