Commit Graph
9636 Commits
Author SHA1 Message Date
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
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 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
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
Kenneth SkovhedeandGitHub 525ca8c613 Merge pull request #5458 from luixxiul/css2
Replace double slashes with single slashes and asterisks for vanilla CSS
2024-08-15 13:32:55 +02:00
Kenneth SkovhedeandGitHub 0dcbabf70a Merge pull request #5456 from duplicati/feature/consistent-env-arg-names
Added support for environment variables
2024-08-15 13:29:15 +02:00
Kenneth Skovhede 6ff4faf6f3 Merge remote-tracking branch 'origin/master' into feature/consistent-env-arg-names 2024-08-15 13:28:54 +02:00
Kenneth Skovhede 1dc03ea0cf Add Telegram reporting module. 2024-08-15 13:12:34 +02:00
Suguru Hirahara b4bfa06bbc Improve a11y of step buttons on restore pages
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 03:10:32 -04:00
Suguru Hirahara 54b9accdf3 Replace double slashes for comments with single slashes and asterisks for vanilla CSS
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-15 01:57:56 -04:00
Kenneth SkovhedeandGitHub 543ff1961f Merge pull request #5427 from duplicati/feature/add-option-to-disable-captcha
Added option to disable visual captcha from commandline.
2024-08-14 21:32:16 +02:00
Kenneth Skovhede cf757c5efb Merge remote-tracking branch 'origin/master' into feature/add-option-to-disable-captcha 2024-08-14 21:32:00 +02:00
Kenneth SkovhedeandGitHub d60bbeb215 Merge pull request #5428 from luixxiul/Strings.cs
Remove conjugation from Strings.cs files
2024-08-14 21:27:25 +02:00
Kenneth SkovhedeandGitHub f61af92a15 Merge pull request #5449 from luixxiul/commandline
Apply grid layout to the input class selector elements on command line page
2024-08-14 21:22:22 +02:00
Kenneth SkovhedeandGitHub 8922729896 Merge pull request #5450 from duplicati/feature/add-log-out
Add a log out button
2024-08-14 21:21:45 +02:00
Kenneth SkovhedeandGitHub 4ba5539eab Merge pull request #5448 from duplicati/feature/prevent-watchers
Prevent multiple watchers.
2024-08-14 21:21:28 +02:00
Kenneth Skovhede 06bdee0080 Added support for environment variables
This adds support for supplying the commandline settings via environment variables.
Rolled back the previous fix to support only a few variables.
Cleaned some types to use more consistent types.
This fixes #5453
2024-08-14 21:20:49 +02:00
Kenneth SkovhedeandGitHub b4b4cf281c Merge pull request #5447 from duplicati/feature/retain-exception-stack
When the server crashes, retain the original stack trace.
2024-08-14 17:01:06 +02:00
Kenneth Skovhede 9d95993c73 Add a log out button
This PR re-enables the logut button, and fixes the logout call to actually revoke the token in the database.
This fixes #5445
2024-08-14 16:59:03 +02:00
Suguru Hirahara 2654ba7711 Apply grid layout to the input class selector elements on command line page
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-14 10:38:59 -04:00
Kenneth Skovhede aa352a9a45 Prevent multiple watchers.
Setting content and web root explicitly should reduce the number of watchers being installed, if they occur.
Removed the use of appsettings.json config sources as they are unused and install watchers.
This may fix issue #5418
2024-08-14 16:33:44 +02:00
Kenneth Skovhede addb24a8ed When the server crashes, retain the original stack trace. 2024-08-14 16:09:29 +02:00