From ac4f16fe0c2462994b8371a9259804e151ef9cff Mon Sep 17 00:00:00 2001 From: Ryan Fu Date: Mon, 30 Oct 2023 17:24:57 -0700 Subject: [PATCH] remove ps script --- src/WingetCreatePackage/generate_self_sign_cert.ps1 | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 src/WingetCreatePackage/generate_self_sign_cert.ps1 diff --git a/src/WingetCreatePackage/generate_self_sign_cert.ps1 b/src/WingetCreatePackage/generate_self_sign_cert.ps1 deleted file mode 100644 index 2df9804c..00000000 --- a/src/WingetCreatePackage/generate_self_sign_cert.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -$expirationDate = { Get-Date }.Invoke().AddYears(5) -$pass = ConvertTo-SecureString -String "12345" -Force -AsPlainText -$thumbprint = (New-SelfSignedCertificate -Type Custom -NotAfter $expirationDate -Subject "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" -KeyUsage DigitalSignature -FriendlyName "WingetCreate Test" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")).Thumbprint -Export-PfxCertificate -Cert cert:\CurrentUser\My\$thumbprint -FilePath WingetCreatePackage_TemporaryKey.pfx -Password $pass -Import-PfxCertificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath WingetCreatePackage_TemporaryKey.pfx -Password $pass