From a157b3fb781c050de94dbce466335b84fdd12064 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sun, 26 May 2024 12:40:50 +0100 Subject: [PATCH] Don't add to trusted publisher store --- .github/workflows/continuous-integration.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9449023..f578622 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -15,8 +15,9 @@ jobs: # Sign the driver with the self-signed certificate we just made. - run: 'signtool sign /v /fd SHA256 /f ScreamCertificate.pfx Scream\Install\driver\x64\Scream.cat' # Tell Windows to trust the self-signed certificate we just made. + # (For some reason it has to be added to both stores for it to work.) - run: 'Import-Certificate -FilePath ScreamCertificate.cer -CertStoreLocation Cert:\LocalMachine\root' - - run: 'Import-Certificate -FilePath ScreamCertificate.cer -CertStoreLocation Cert:\LocalMachine\TrustedPublisher' + # - run: 'Import-Certificate -FilePath ScreamCertificate.cer -CertStoreLocation Cert:\LocalMachine\TrustedPublisher' # Finally, install the driver. - run: 'Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream' continue-on-error: true