Commit Graph
10886 Commits
Author SHA1 Message Date
Marcelo Ceccon 29404f8dd6 Changes to the unit testing after new encryption prefix 2024-08-21 09:49:12 -03:00
Kenneth Skovhede 4a5ccb623e Added a cersion bump of the DB schema to prevent failed downgrades. 2024-08-21 11:59:52 +02:00
Kenneth Skovhede 1573a8c86b Version bump to v2.0.9.104-2.0.9.104_canary_2024-08-21
You can download this build from:

Binaries: https://updates.duplicati.com/canary/

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.9.104_canary_2024-08-21.signatures.zip
v2.0.9.104-2.0.9.104_canary_2024-08-21
2024-08-21 11:21:06 +02:00
Kenneth SkovhedeandGitHub 5bbc66665d Merge pull request #5471 from duplicati/feature/custom-hostname-validation
Add custom hostname validation
v2.0.9.104_canary_2024-08-21
2024-08-21 08:40:33 +02:00
Kenneth SkovhedeandGitHub be0b67f229 Merge pull request #5473 from duplicati/feature/fix-detached-tray-icon
Fix detached tray icon
2024-08-21 08:40:12 +02:00
marceloduplicatiandGitHub 15014de80a Merge pull request #1 from duplicati/feature/settingsencryption/update
Feature/settingsencryption/update
2024-08-20 19:06:23 -03:00
Kenneth Skovhede b114380547 Improved error handling on crashes to avoid obscuring the actual error message 2024-08-20 21:11:59 +02:00
Kenneth Skovhede f844f8c04f Re-added PBKDF config, although it should be safe to shared 2024-08-20 21:11:31 +02:00
Kenneth Skovhede 26ae10bbff Made fields readonly 2024-08-20 21:10:54 +02:00
Kenneth Skovhede d53357f4e7 Fixed decrypt/re-encrypt toggling 2024-08-20 21:10:15 +02:00
Kenneth Skovhede 3c1a4b5d94 Encryption uses StringBuilder instead of stream to minimize byte[] use. 2024-08-20 21:09:14 +02:00
Kenneth Skovhede 7b66271ad4 Enabled minimal header 2024-08-20 21:08:36 +02:00
Kenneth Skovhede ff196eb284 Implemented support for enabling/disabling encryption 2024-08-20 17:10:34 +02:00
Kenneth Skovhede ae6d5112f8 Reworked encryption of fields to only affect code inside Connection.cs 2024-08-20 17:08:55 +02:00
Kenneth Skovhede 12d196194b Optimizations to avoid repeated calculations on the same data (DeviceId + KeyHash) 2024-08-20 17:01:21 +02:00
Kenneth Skovhede 5dd937bcc2 Updated AES Crypt to support creating encrypted blob with a smaller header. 2024-08-20 16:52:26 +02:00
Kenneth SkovhedeandGitHub 1690ad4b41 Merge pull request #5470 from duplicati/feature/support-swagger-for-debug-builds
Add Swagger UI and metadata
2024-08-20 12:42:06 +02:00
Kenneth Skovhede 06531695ab Fixed a case where settings were null 2024-08-20 12:41:49 +02:00
Kenneth Skovhede 3e3985b164 Added detection for invalid setup.
Added help message if an invalid detached configuration is provided.
This fixes #5468
2024-08-20 12:17:04 +02:00
Kenneth Skovhede d0b35dbeee Fixed a case where an exception stack trace was lost 2024-08-20 12:16:11 +02:00
Kenneth Skovhede b12c4d4945 Allow specifying port only for tray-icon 2024-08-20 12:15:46 +02:00
Kenneth Skovhede 5b0e22843c Fix detached tray-icon
This fixes a logic issue that prevents a detached tray-icon from obtaining a connection to a non-hosted server.
2024-08-20 12:15:18 +02:00
Kenneth Skovhede c687b93738 Added additional name to list of always allowed 2024-08-20 11:44:31 +02:00
Marcelo Ceccon d4b5ed3723 Make it case insensitive and implicit the list contains distinct fields
https://github.com/duplicati/duplicati/pull/5466#discussion_r1721733126
2024-08-19 13:53:39 -03:00
Marcelo Ceccon a9ecff7b60 Removing unused reference to Win32.Registry of DeviceId
https://github.com/duplicati/duplicati/pull/5466#discussion_r1721727267
2024-08-19 13:53:35 -03:00
Marcelo Ceccon b797637f77 Change to void invisible typecast
https://github.com/duplicati/duplicati/pull/5466#discussion_r1721734208
2024-08-19 13:53:29 -03:00
Marcelo Ceccon 71dcde30b0 Fix for inner reference not being updated 2024-08-19 13:52:44 -03:00
Marcelo Ceccon b23a1b1995 Fix to the UnitTest of AESEncryption
Parameters were with inverse order
2024-08-19 13:52:18 -03:00
Marcelo Ceccon 67a7df45c8 Implementation of settings field encryption
With this change, TargetURL (where credentials of storage destinations were stored in plaintext), the backups passphrases as well as JWT tokens are not stored encrypted.

The encryption key is derived from the system's motherboard serial number, or can be set manually via environment variable.
2024-08-19 13:51:14 -03:00
Marcelo Ceccon 89ca5fb1b5 Adding library level functionality to encrypt settings
This commit only adds the functionality to the library to encrypt settings fields in the sqlite database.

Unit Tests are included in this commit.
2024-08-19 13:50:09 -03:00
Marcelo Ceccon da4c2f91b9 Version change necessary to be compatible with referenced assemblies
To use deviceID library, this has to be upgraded.
2024-08-19 13:49:43 -03:00
Kenneth Skovhede 2b55b3449d Add custom hostname validation
This adds a manually implemented hostname check that is applied as an endpoint filter.
With the implemented filter, the validation rules are similar to those before Kestrel was introduced.
This fixes #5469
2024-08-19 14:07:48 +02:00
Kenneth SkovhedeandGitHub 1bbc88fe68 Merge pull request #5463 from luixxiul/steps
Update style rules of buttons in steps on adding/restoring task
2024-08-19 10:00:50 +02:00
Kenneth SkovhedeandGitHub 20d3d040e2 Merge pull request #5464 from luixxiul/localization
Update files for localization
2024-08-19 10:00:21 +02:00
Kenneth SkovhedeandGitHub 90ec880e9a Merge pull request #5467 from marceloduplicati/feature/minorrefactoring
Feature/minorrefactoring
2024-08-19 09:59:49 +02:00
Kenneth Skovhede e832c1d2af Add Swagger UI and metadata
This PR adds swagger UI and swagger metadata for API exploration and integration.
2024-08-19 09:59:08 +02:00
Suguru Hirahara 891065128b Update files for localization
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 21:58:13 -04:00
marceloduplicatiandGitHub fb98ca4acb Merge branch 'duplicati:master' into feature/minorrefactoring 2024-08-15 19:07:47 -03:00
Marcelo Ceccon d4d31f25fc Removing console.log from scripts. 2024-08-15 12:24:26 -03:00
Kenneth Skovhede 11c9e946c7 Version bump to v2.0.9.103-2.0.9.103_canary_2024-08-15
You can download this build from:

Binaries: https://updates.duplicati.com/canary/

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.9.103_canary_2024-08-15.signatures.zip
v2.0.9.103-2.0.9.103_canary_2024-08-15
2024-08-15 16:56:39 +02:00
Kenneth SkovhedeandGitHub ab2269906c Merge pull request #5460 from duplicati/feature/telegram-reporting-module
Add Telegram reporting module.
v2.0.9.103_canary_2024-08-15
2024-08-15 15:49:34 +02:00
Kenneth SkovhedeandGitHub 862289f5c7 Merge pull request #5462 from duplicati/feature/fix-updater-error-messages
Feature/fix updater error messages
2024-08-15 15:49:13 +02:00
Suguru Hirahara e26eb66abb Add div for non-clickable steps on restore pages
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 09:42:48 -04:00
Suguru Hirahara d50c248191 Generate CSS files
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 09:17:33 -04:00
Suguru Hirahara f88c67c6e4 Update style rules of buttons in steps on adding/restoring task: span element for button number
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 09:17:12 -04:00
Suguru Hirahara fca353f7b2 Update style rules of buttons in steps on adding/restoring task: use button type selector
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 09:16:05 -04:00
87c6767f66 Update Duplicati/Library/Modules/Builtin/Strings.cs
Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 15:05:09 +02:00
Kenneth Skovhede 2b61e30add Clean up usings 2024-08-15 14:51:03 +02:00
Kenneth Skovhede 28c53ab9f6 Fixed error message reading update version.
This fixes #5434
2024-08-15 14:50:31 +02:00
Kenneth SkovhedeandGitHub 92b320bed0 Merge pull request #5459 from luixxiul/steps
Improve accessibility of step buttons on restore pages
2024-08-15 13:33:25 +02:00