Commit Graph
24 Commits
Author SHA1 Message Date
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 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
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 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 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
Kenneth Skovhede 9ecb3a0f17 Added option to disable visual captcha from commandline.
This fixes #5098
2024-08-13 13:50:21 +02:00
Kenneth Skovhede 60a41f467b Purged tardigrade from codebase 2024-07-26 20:24:14 +02:00
Suguru Hirahara ae57dee0f0 Remove redundant space characters from *.cs and *.html 2024-07-26 00:10:31 -04:00
Kenneth Skovhede 44a45fcd04 Only generate signin token if password is autogenerated 2024-07-07 10:36:11 +02:00
Kenneth Skovhede 3487f2fdf4 Make sure we do not log out users who upgrade 2024-06-20 12:24:14 +02:00
Kenneth Skovhede 3f29642f6c Implemented JWT tokens.
Added auth requirement on all endpoints.
Added SignIn-, Access- and Refresh-Tokens based on JWT.
Upgraded stored password to be based on PBKDF2.
Added default password assignment.
Updated logic to support auth-header and re-sign-in for tray-icon and web-ui.
2024-06-19 13:54:10 +02:00
Kenneth Skovhede 25bb4f3701 Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-06-09 21:54:02 +02:00
Kenneth Skovhede ca425808c5 Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-06-09 21:23:59 +02:00
Kenneth Skovhede 9f79025744 Removed HttpServer.
Re-implemented everything using ASP.NET.
Changed some requests to use JSON instead of FORM data.
Some work towards deleting the FIXMEGlobal instance.
Auth is missing, XSRF does not work correctly.
2024-06-07 15:56:43 +02:00
Kenneth Skovhede 12fb0d36ea Removed unused Signer.exe program
Updated some licenses that snuck in LGPL text from the Kestrel merge.
2024-06-05 11:02:56 +02:00
Jojo-1000 917e2cd0c4 Remove obsolete custom platform detection. 2024-05-30 02:14:05 +02:00
natan f9f6dfee6b Merge branch 'refs/heads/feature/kestrel-avalonia-upgrade' into feature/http-server-modernization
# Conflicts:
#	Duplicati.Library.RestAPI/UpdatePollThread.cs
#	Duplicati/Server/Program.cs
#	Duplicati/Server/webroot/ngax/scripts/services/ServerStatus.js
#	Duplicati/WebserverCore/DuplicatiWebserver.cs
2024-04-22 09:35:53 +02:00
Kenneth Skovhede 49fb45859c Fixed some incorrectly quoted literals in SQL statements 2024-04-15 08:24:01 +02:00
natan 5d53eddb32 WIP 2024-03-26 18:32:56 +01:00
Kenneth Skovhede 473c6cbbb8 Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade 2024-03-04 12:21:53 +01:00
Thomas Suckow 235568dade First pass at introducing kestrel and refactoring to make the RESTAPI be its own package. 2022-12-30 10:59:29 -08:00