Commit Graph
9975 Commits
Author SHA1 Message Date
Kenneth Skovhede 776b127f73 Added test to check that URL replacement is done correctly 2024-11-04 16:03:51 +01:00
Kenneth Skovhede 8250a5befa Refactored SecretProviderHelper to replace in Uri instances instead of raw string.
This fixes some issues with URL encoding/decoding.
Due to the legacy class `Duplicati.Library.Utility.Uri` there are two replacements done.
2024-11-04 15:57:56 +01:00
Kenneth Skovhede e37f0cd741 Exposed secret providers as modules 2024-11-04 14:59:35 +01:00
Kenneth Skovhede e9a516e717 Merge branch 'feature/add-secret-provider' of github.com:duplicati/duplicati into feature/add-secret-provider 2024-11-04 13:21:35 +01:00
Kenneth Skovhede d98186e1eb Implemented secret provider on the remoteoperation and webmodules calls 2024-11-04 13:20:23 +01:00
Kenneth Skovhede c99e819d70 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-11-01 08:49:52 +01:00
Kenneth Skovhede 76b175905d Fixed setting the default pattern if none was provided by the user 2024-11-01 08:47:36 +01:00
Kenneth SkovhedeandGitHub 5a32fe4e8f Merge pull request #5454 from luixxiul/stylelint
Add stylelint and edit README.md
2024-11-01 08:33:08 +01:00
Kenneth SkovhedeandGitHub 089eeaea77 Merge pull request #5614 from duplicati/feature/allow-disable-cert-hash-detection
Made the auto-cert detection disabled if the user supplied the cert h…
2024-11-01 08:30:30 +01:00
Kenneth SkovhedeandGitHub 61a04d34ab Merge pull request #5604 from duplicati/feature/exclude-sqlite-journal-file
Added detection of the SQLite journal file for the active database.
2024-10-31 12:05:15 +01:00
Kenneth Skovhede 3833f7abf5 Made the auto-cert detection disabled if the user supplied the cert hashes. 2024-10-31 12:04:24 +01:00
Kenneth SkovhedeandGitHub 7631b921b4 Merge pull request #5608 from duplicati/feature/support-ec-certificates
Feature/support ec certificates
2024-10-31 09:56:41 +01:00
Kenneth SkovhedeandGitHub c9f94578b5 Merge pull request #5612 from duplicati/feature/improve-test-error-messages
Added better error reporting for the test/cerate operations
2024-10-30 16:41:58 +01:00
Kenneth Skovhede df449f9cae Added better error reporting for the test/cerate operations 2024-10-30 15:26:25 +01:00
Kenneth Skovhede d9953852ad Fixed compile errors on Windows 2024-10-30 10:51:32 +01:00
Kenneth Skovhede aca02f0801 Fixed upgrade path with insecure passwords 2024-10-30 10:39:48 +01:00
Kenneth Skovhede ff25d91663 Simplified code a bit.
Added support for multiple cert-hashes.
Made `server-util` auto-detect hashes as well.
2024-10-29 14:38:23 +01:00
Kenneth Skovhede 18c531205a Also clear password when clearing certificate 2024-10-29 14:08:11 +01:00
Kenneth Skovhede 7f79a2e515 Minor renaming 2024-10-29 14:03:59 +01:00
Kenneth Skovhede d8a98049eb Added safeguard to avoid leaking the server key 2024-10-29 14:01:07 +01:00
Kenneth Skovhede 56816abed8 Reverted to not storing the certificate as a file, since the x509Certificate loader was the broken part, not Kestrel. 2024-10-29 13:55:12 +01:00
Kenneth Skovhede e914794b30 Simplified running TrayIcon with self-signed certificate.
Added workaround method to avoid loading certificate directly as that crashes .NET with EC-based keys.
2024-10-29 13:28:44 +01:00
Kenneth Skovhede b9f2d16df6 Fixed incorrect reference 2024-10-29 12:24:49 +01:00
Kenneth Skovhede 7841a6026f Implemented API endpoint to update the SSL certificate via the API 2024-10-29 12:03:10 +01:00
Kenneth Skovhede ed4d8bc6a6 Encapsulated the updating of the SSL certificate into a single method, to prevent wrong updates. 2024-10-29 12:02:42 +01:00
Kenneth Skovhede 4783050d53 Simplified logic by having an option to disable https.
Simplified checks for https by having a single property that unifies the logic.
2024-10-29 11:15:06 +01:00
Kenneth Skovhede f9154137a3 Merge remote-tracking branch 'origin/master' into feature/ex-certificates 2024-10-29 09:24:53 +01:00
Kenneth SkovhedeandGitHub 760c2902e4 Merge pull request #5606 from duplicati/feature/dont-rollback-after-connection-dispose
Moved the transaction abort up so it happens before the connection is disposed
2024-10-29 08:22:26 +01:00
Kenneth Skovhede 372b06cfee Moved the transaction abort up so it happens before the connection is disposed.
This fixes #5585
2024-10-28 21:30:18 +01:00
Kenneth Skovhede 300752652f Added detection of the SQLite journal file for the active database.
This fixes #5603
2024-10-28 09:00:40 +01:00
Kenneth Skovhede e690364a47 Added licenses 2024-10-28 08:08:29 +01:00
Kenneth Skovhede f23c5def61 Re-implemented the libsecret provider from scratch. 2024-10-28 00:22:33 +01:00
Kenneth Skovhede 3c484477a7 Added missing dependency 2024-10-26 09:49:36 +02:00
Kenneth Skovhede 9a89ca5a15 Cleaned up the use of the default pattern to use a single const value.
Added support for inheriting the secret pattern as it is more logical that all settings are carried through to the application.
2024-10-26 08:37:26 +02:00
Kenneth Skovhede 7bbdb9afac Fixed Windows compile errors 2024-10-25 23:46:43 +02:00
Kenneth Skovhede 7772658326 Implemented tests for the SecretProviderHelper code 2024-10-25 23:13:38 +02:00
Kenneth Skovhede 83bab97699 Adde option to register agent, then exit 2024-10-25 15:03:01 +02:00
Kenneth Skovhede 010793828f Fixed an unfortuante typo 2024-10-25 14:26:14 +02:00
Kenneth Skovhede 8f3945b605 Added support for libsecret on Linux 2024-10-25 09:17:04 +02:00
Kenneth Skovhede d641b3cb68 Added support for pass-type keys 2024-10-25 08:00:53 +02:00
Kenneth Skovhede 8d06c08e1f Implemented support for Windows Credential storage 2024-10-24 21:58:15 +02:00
Kenneth Skovhede 1c640c8924 Added support for pass on Linux 2024-10-24 21:39:54 +02:00
Kenneth Skovhede f372bc9008 Added MacOS KeyChain support 2024-10-24 21:24:27 +02:00
Kenneth Skovhede 1a48cf0fd9 Improved error messages from secret providers 2024-10-24 21:23:58 +02:00
Kenneth Skovhede 352e049b84 Improved exception messages 2024-10-24 21:20:02 +02:00
Kenneth Skovhede 1ac26d7600 Added support for secret provider in server-util 2024-10-24 16:52:44 +02:00
Kenneth Skovhede f7e473e67e Fixed signature and nullability issues 2024-10-24 16:52:09 +02:00
Kenneth Skovhede 4b84135622 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-10-24 16:11:41 +02:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +02:00
Kenneth SkovhedeandGitHub 433fa8b6ca Merge pull request #5597 from carljohnsen/performance/sharpaes_bump
Performance/bumped the version of SharpAESCrypt
2024-10-24 15:03:50 +02:00