mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Found that pw was double encrypted
This commit is contained in:
parent
b8e6cdfb60
commit
82ea01814b
1 changed files with 6 additions and 0 deletions
|
@ -47,3 +47,9 @@ FillCredentials
|
|||
|
||||
# Write the certificate to a file
|
||||
[System.Convert]::FromBase64String($env:Certificate) | set-content "greenshot.pfx" -encoding byte
|
||||
# Import it
|
||||
Import-PfxCertificate -FilePath .\Greenshot.pfx -CertStoreLocation Cert:\CurrentUser\My -Password $env:CertificatePassword
|
||||
|
||||
# Alternative
|
||||
# $certutilArguments = @('-f','-p', $env:CertificatePassword, '-importpfx', "greenshot.pfx")
|
||||
# Start-Process -wait certutil -ArgumentList $certutilArguments -NoNewWindow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue