Commit Graph
10149 Commits
Author SHA1 Message Date
Kenneth Skovhede 538f6a88de Add support for multi-sink logging in server 2024-08-27 15:44:41 +02:00
Kenneth Skovhede 2a817fe093 Implemented support for setting the Windows Service description 2024-08-27 14:08:52 +02:00
Kenneth Skovhede 6a9d37ad9e Fixed responding to stop signals.
This fixes #5478
2024-08-27 11:33:52 +02:00
Kenneth Skovhede 60da34d0de Fixed probing for free port which broke with Kestrel update due to wrapped exceptions.
Re-implemented the logic that would use the last working port when multiple options are possible.
This fixes #5477
2024-08-27 10:38:21 +02:00
Kenneth SkovhedeandGitHub c10fd170fd Merge pull request #5484 from duplicati/feature/move-restapi-into-place
Fix the Duplicati.Library.RestAPI path
2024-08-27 10:00:00 +02:00
Kenneth SkovhedeandGitHub 7a770ab65d Merge pull request #5485 from duplicati/feature/add-deviceid-library-to-licenses
Added `DeviceId` to list of libraries
2024-08-27 09:59:45 +02:00
Kenneth Skovhede 1f79f88839 Added a dialog for changing the server passphrase.
This fixes #5479
2024-08-27 09:59:12 +02:00
Kenneth Skovhede de008b8588 Added DeviceId to list of libraries 2024-08-27 08:41:09 +02:00
Kenneth Skovhede d1008bc7a2 Fix the Duplicati.Library.RestAPI path.
It was previously located in the root, but placed correctly in the solution file.
2024-08-27 08:30:26 +02:00
Kenneth Skovhede 735b4020eb Implemented duplicati-server-util for sending various commands to a running server.
This tool replaces `ConfigurationImporter` and partially replaces `duplicati_client`.
This fixes #5474
2024-08-26 20:00:13 +02:00
Kenneth Skovhede 8810e90af1 Clarified variables and headers, as it is not returning HTML 2024-08-26 18:00:18 +02:00
Kenneth Skovhede 0b76d28d1e Default to using project-relative folders to store data for debug builds (instead of system folders) 2024-08-26 17:59:47 +02:00
Kenneth SkovhedeandGitHub 9d6232e1dd Merge pull request #5472 from marceloduplicati/feature/settingsencryption5420
Feature/settingsencryption5420
2024-08-26 14:15:35 +02:00
Kenneth SkovhedeandGitHub 65a4aabf9d Merge pull request #5481 from duplicati/feature/common-datafolder-location
Made the database locator and server-database location code the same.
2024-08-26 12:58:24 +02:00
Kenneth Skovhede bc4e9a1c77 Made the database locator and server-database location code the same. 2024-08-23 17:53:17 +02:00
marceloduplicatiandGitHub 412e513e22 Merge pull request #2 from duplicati/feature/settingsencryption/update2 2024-08-21 16:33:33 -03:00
Kenneth SkovhedeandGitHub c79f8a6687 Merge branch 'feature/settingsencryption5420' into feature/settingsencryption/update2 2024-08-21 21:05:23 +02:00
Kenneth Skovhede efd30a06bf Fixed tests by allowing test code to pass a custom key for encryption 2024-08-21 21:02:42 +02:00
Marcelo Ceccon 9632999bb6 Merge branch 'feature/settingsencryption5420' of https://github.com/marceloduplicati/duplicati into feature/settingsencryption5420 2024-08-21 11:43:14 -03:00
Marcelo Ceccon dc59d83701 Changes to the unit testing after new encryption prefix
Encrypted sample had different key, new template now for tests
2024-08-21 11:39:06 -03:00
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