Commit Graph
20 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 49243eeaa8 Merge branch 'master' into features/upgrade-aescrypt-v3 2026-04-17 12:34:49 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede e98c48e078 Update SharpAESCrypt to v3
This PR updates SharpAESCrypt to version 3.0.0.

With this change the written format for encrypted fields in the database and the remote encrypted files will be changed to Stream Format v3, which improves the key deriviation function and includes additional safeguards regarding content length.

The library still supports reading v2 files, but will write all new files as v3.

Environment variables, as well as module options, can toggle this behavior.

# Environment variable overview
- `DUPLICATI__AES_VERSION`: The file format version, either 3 (default) or 2
-`DUPLICATI__AES_V3_ITERATIONS`: The number of Pbkdf iterations to apply (default 300k)
- `DUPLICATI__AES_MINIMAL_HEADER`: Writes AES files with a minimal header (saves ~100 bytes per file)
- `DUPLICATI__AES_IGNORE_PADDING_BYTES`: Legacy setting for reading files written by the mainline AESCrypt tool

# A note on iterations
The iterations protect a weak key by adding additional computational overhead, but only adds overhead if the key is already providing at least 256 bits of high entropy.

For low-power devices, such as 32-bit RPI, this can be set as low as 10k, which will lower encryption and decryption time.  Beware that setting a low iteration count reduces security if the key is not sufficiently strong.
2026-03-13 17:20:33 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede 025dc5aa1e Fixed tests 2024-09-01 10:48:47 +02:00
Kenneth Skovhede d8c8ce7988 Removed the use of DeviceId due to lack of sufficient key material.
Kept the infrastructure to allow re-introducing it later if a better source for a device key is found.
Added support for not having any valid settings encryption key.
Added warnings if the user is running without a settings encryption key.
Added additional checks during startup to help with troubleshooting and configuring a setup with a settings encryption key.
Docker builds will now warn if no encryption key is set.
This fixes #5518
2024-08-31 11:02:14 +02:00
Suguru Hirahara 0a9425b944 Remove remaining conjugation 2024-08-13 10:16:20 -04:00
Suguru Hirahara 7e97764387 Use the common expression for AessetthreadlevelDeprecated 2024-08-05 04:23:54 -04:00
Suguru Hirahara c24d235eeb Add periods to strings on Encryption/Strings.cs 2024-07-29 23:26:11 -04:00
Suguru Hirahara 1a3c0ef495 Set strings for options in a consistent way 2024-07-29 11:31:31 -04:00
Suguru Hirahara 8e85c10754 Set arguments for strings 2024-07-29 11:30:43 -04:00
Kenneth SkovhedeandGitHub 002a47bd1e Merge pull request #5219 from duplicati/feature/update-sharp-aes-crypt
Updated to SharpAESCrypt 2.0
2024-06-27 09:00:25 +02:00
Kenneth Skovhede 95cb6b4e71 Updated to SharpAESCrypt 2.0 2024-06-04 17:27:18 +02:00
Kenneth Skovhede 7dab2f5935 Removed bundled GPG binaries for Windows.
Improved search logic for finding GPG executable on all operating systems.
This also removes the `win-tools` folder.
2024-06-04 15:21:22 +02:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
BlueBlock 08a1e9998a initial upgrade to framework 4.6.2
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
verhoek 1efad4902b Added error logging in case GPG cannot be executed correctly. 2018-11-19 16:32:32 +01:00
agrajaghh ac169e2257 fix source string 2017-03-14 19:22:10 +01:00
FootStark c3bf75dde3 Options to set AES threadlevel 2016-03-03 09:24:29 +01:00
Kenneth Skovhede 16c791f0b5 Removed all resx files, now using Duplicati.Library.Localization exclusively 2015-01-20 21:07:24 +01:00