mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-29 13:37:43 +00:00
[Tool] Delete export pfx function to remove use of hard coded password (#39144)
don't need export pfx functionality
This commit is contained in:
parent
ad974bd679
commit
9cb99be4e9
@ -153,7 +153,3 @@ function Export-CertificateFiles {
|
|||||||
Write-Warning "No output path specified. Nothing was exported."
|
Write-Warning "No output path specified. Nothing was exported."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$cert = EnsureCertificate
|
|
||||||
$pswd = ConvertTo-SecureString -String "MySecurePassword123!" -AsPlainText -Force
|
|
||||||
Export-CertificateFiles -Certificate $cert -CerPath "$env:TEMP\cert.cer" -PfxPath "$env:TEMP\cert.pfx" -PfxPassword $pswd
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user