Include Algo generated password

I change a line to Include the Algo generated password so the users do not need to manually enter the password when installing on Windows 10 computers.
This commit is contained in:
Angel Montes de Oca 2018-12-26 13:33:54 -08:00 committed by GitHub
parent 5981bb9cad
commit c57f5efb96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ $CaCertificateBase64 = "{{ PayloadContentCA }}"
$UserPkcs12Base64 = "{{ item.1.stdout }}"
if ($PsCmdlet.ParameterSetName -eq "Add" -and -not $Pkcs12DecryptionPassword) {
$Pkcs12DecryptionPassword = Read-Host -AsSecureString -Prompt "Pkcs12DecryptionPassword"
$Pkcs12DecryptionPassword = ConvertTo-SecureString '{{ p12_export_password }}' -asplaintext -force
}
<#