|
|
|
@ -38,6 +38,11 @@ if (-not (Test-Path -Path "$env:userprofile\.ssh" -PathType Container)) { |
|
|
|
curl -UseBasicParsing https://git.axel.tripier.fr/GoFish/boxstarter-win10/raw/branch/master/windows_to_go_ssh_pass_ed25519.asc | gpg -d > "$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" |
|
|
|
curl -UseBasicParsing https://git.axel.tripier.fr/GoFish/boxstarter-win10/raw/branch/master/windows_to_go_ssh_pass_ed25519.asc | gpg -d > "$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Delete empty QtPass default password-store |
|
|
|
|
|
|
|
if (Test-Path -Path "$env:userprofile\password-store\*") { |
|
|
|
|
|
|
|
rm -r "$env:userprofile\password-store" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Clone pass repo for QtPass |
|
|
|
# Clone pass repo for QtPass |
|
|
|
set GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i $env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" |
|
|
|
set GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i $env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519" |
|
|
|
if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) { |
|
|
|
if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) { |
|
|
|
|