Merge pull request #6889 from duplicati/feature/default-aescrypt-v2

AESCrypt default v2
This commit is contained in:
Kenneth Skovhede
2026-05-04 17:23:34 +02:00
committed by GitHub
@@ -140,6 +140,10 @@ namespace Duplicati.Library.Encryption
InsertPlaceholder = false
};
// Until the next stable release, use version 2 by default
if (version == null)
version = 2;
if (version.HasValue)
encOpts = encOpts with { FileVersion = (byte)version.Value };
if (iterations.HasValue)