Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test sign installer #623

Merged
merged 1 commit into from
Aug 2, 2024
Merged

test sign installer #623

merged 1 commit into from
Aug 2, 2024

Conversation

mtfriesen
Copy link
Contributor

test sign the MSI with the same cert that signed xdp.sys, so that the MSI's cert can be extracted and installed prior to installing the MSI itself.

$CertFileName = 'xdp.cer'
Get-AuthenticodeSignature 'xdp.msi' | Select-Object -ExpandProperty SignerCertificate | Export-Certificate -Type CERT -FilePath $CertFileName
Import-Certificate -FilePath $CertFileName -CertStoreLocation 'cert:\localmachine\root'
Import-Certificate -FilePath $CertFileName -CertStoreLocation 'cert:\localmachine\trustedpublisher'

@mtfriesen mtfriesen added feature request New feature or request build Related to building/compiling the code labels Aug 2, 2024
@mtfriesen mtfriesen requested a review from a team as a code owner August 2, 2024 19:46
@mtfriesen mtfriesen added the tests automated test gaps and improvements label Aug 2, 2024
@mtfriesen mtfriesen enabled auto-merge (squash) August 2, 2024 19:50
@mtfriesen mtfriesen merged commit 86638e4 into main Aug 2, 2024
31 checks passed
@mtfriesen mtfriesen deleted the mtfriesen/test_sign_msi branch August 2, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building/compiling the code feature request New feature or request tests automated test gaps and improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants