diff --git a/backupBitwarden.ps1 b/backupBitwarden.ps1 index 5bfaeb0..8d6bb06 100644 --- a/backupBitwarden.ps1 +++ b/backupBitwarden.ps1 @@ -81,7 +81,7 @@ if ($zip -or $encrypt) { sdelete64.exe -s -p 5 $PSScriptRoot\*.csv $PSScriptRoot\*.json $PSScriptRoot\attachments if ($encrypt) { Write-Host "Encrypting the backup zip with your bitwarden password..." - gpg.exe --batch --passphrase "$password" --symmetric --cipher-algo AES256 --digest-algo SHA512 --output "$PSScriptRoot\$zipFilename.gpg" "$PSScriptRoot\$zipFilename" + gpg.exe --batch --passphrase "$password" --symmetric --cipher-algo AES256 --digest-algo SHA512 --compression-algo Uncompressed --output "$PSScriptRoot\$zipFilename.gpg" "$PSScriptRoot\$zipFilename" Write-Host "Securely deleting the zip file..." sdelete64.exe -p 5 "$PSScriptRoot\$zipFilename" }