From d7e716c102acfdaa36c7b8951868d0d9e35c75f2 Mon Sep 17 00:00:00 2001 From: Ryan <69221034+ryfu-msft@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:41:54 -0700 Subject: [PATCH] remove ps script (#469) --- 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