Commit Graph
89 Commits
Author SHA1 Message Date
kenneth.skovhede@gmail.com 62242bb04b Fixed a critical bug with the S3 backend that would cause deletion of backup volumes.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@511 59da171f-624f-0410-aa54-27559c288bec
2010-09-12 21:46:24 +00:00
kenneth.skovhede@gmail.com effdba0558 Update issue #134
Status: Fixed

I have now implemented a password protection control.
You can now only view passwords when you enter them.
After this, you may reset the passwords, by entering a
new one, but you cannot read the existing passwords.

To protect against people reading the database,
which contains the passwords in clear text, the
database is now encrypted by using the standard 
SQLite encryption method. This is different
than what I proposed, but is a much stronger
protection than merely scrambling the passwords,
and also protects all information (servername, etc).

It works by setting an environment variable
called DUPLICATI_DB_KEY. When no password
is set, Duplicati will use the key "Duplicati_Key_42",
ensuring that all databases are encrypted by default.

Using a pre-defined publicly known key is obviously
not a strong protection, but it protects from casual
users attempting to browse the database, and it also
protects from string scanners that scan a harddisk
for possible passwords.

On the first startup, Duplicati will encrypt the database,
using the mentioned key. You may want to delete any backup
databases that are placed in the same folder as the database.

Should you wish to decrypt the database, you can start 
Duplicati.exe with the commandline option "--unencrypted-database".
This will use the current key to decrypt the database, and save it
without encryption.

Should you wish to change the database password, simply decrypt the
database, then change the password via the environment variable,
and start Duplicati.exe as normal.

The SQLite documentation for the feature is here:
http://www.hwaci.com/sw/sqlite/see.html

Unfortunately, it does not seem as if any
of the free SQLite tools supports this.

The SQLite library found on Ubuntu
does not support encryption, so I have disabled 
this feature by default on Linux.

If a user has a special compiled version
of SQLite, they may use the environment
variables as mentioned above.

I will write this information into a wiki
page as soon asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@498 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 21:39:22 +00:00
kenneth.skovhede@gmail.com 9de3be0ddd Update issue #256
Status: Fixed

I have now fixed it so the UI sets the required option automatically.

I also fixed a minor typo "sfpt" -> "sftp".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@486 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:15:42 +00:00
kenneth.skovhede@gmail.com 92829fa393 Fixed issue #242.
Corrected a lot of avalible -> available and recieve -> receive spelling errors.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@462 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:37:15 +00:00
kenneth.skovhede@gmail.com 1153d097fc Fixed various version information
git-svn-id: https://duplicati.googlecode.com/svn/trunk@460 59da171f-624f-0410-aa54-27559c288bec
2010-08-11 07:23:34 +00:00
kenneth.skovhede@gmail.com 1fc9d9b907 Fixed a typo in r440.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@441 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 07:57:02 +00:00
kenneth.skovhede@gmail.com ef47b8b413 Fixed issue #225.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@440 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 07:33:28 +00:00
kenneth.skovhede@gmail.com 7edf074cbd An S3 issue fix.
Fixed issue #215.
If the user chooses EU buckets, bucketnames that are not valid hostname labels will be rejected.
If the user does not choose EU buckets, a warning is displayed for bucketnames that are not valid hostname labels, and the setup is switched to the path-style calling method.

Fixed issue #214.
There were multiple issues with entering a bucket/folder type path, those should now be resolved.

Fixed issue #212.
The UI and commandline now supports Reduced Redundancy Storage.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@430 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 23:29:47 +00:00
kenneth.skovhede@gmail.com d46706337c Updated copyright headers.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@428 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:17:33 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 8296404414 Changed WEBDAV to send an empty body with a PROPFIND request.
Fixed issue #217.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@426 59da171f-624f-0410-aa54-27559c288bec
2010-06-16 15:07:45 +00:00
kenneth.skovhede@gmail.com 7579199350 Possible fix to the FTP backend for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@425 59da171f-624f-0410-aa54-27559c288bec
2010-06-09 10:54:58 +00:00
kenneth.skovhede@gmail.com a91397ddfc Possible fix for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@420 59da171f-624f-0410-aa54-27559c288bec
2010-05-27 19:37:14 +00:00
kenneth.skovhede@gmail.com 70708fc454 Fixed issue #136.
Fixed issue #182.
Fixed an error with the commandline version reported in the forum.
Added improved error output.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@417 59da171f-624f-0410-aa54-27559c288bec
2010-05-24 09:00:03 +00:00
kenneth.skovhede@gmail.com 474e15e975 Fixed issue #127.
I am unable to reproduce the error with the "test connection" that you describe.
Was it with a particular bucket/folder name?
I have also added some logic to ensure that it does not repeatedly ask to prefix the username.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@406 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 18:21:42 +00:00
kenneth.skovhede@gmail.com 5b6283995d Fixed an issue with cloudfiles and names with spaces (similar to issue #127).
Also changed the default url behavior to use api.mosso.com as the hostname to avoid problems with container names that are not valid hostnames.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@405 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 18:10:09 +00:00
kenneth.skovhede@gmail.com 8989bb5c98 Fixed issue #192.
Added a warning and auto-fix method to remove leading slashes from the path part of the WEBDAV UI.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@396 59da171f-624f-0410-aa54-27559c288bec
2010-04-27 17:59:00 +00:00
kenneth.skovhede@gmail.com 66ea524105 Fixed issue #202.
This was a timeout bug that was triggered after 100 seconds.
Also added a timeout control to the WEBDAV and FTP backends, in case they have the same bug.
Made a few string localizable in the CloudFiles backend.
Added the code to do local MD5 generation, but commented it out as there are issues with this.
Added Duplicati version string to the WEBDAV backend user agent identification.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@394 59da171f-624f-0410-aa54-27559c288bec
2010-04-23 16:34:22 +00:00
kenneth.skovhede@gmail.com e9f8ac065f Fixed issue #192.
Fixed an issue with + in filenames.
Added spaces and + to the ExtendedChars of the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@390 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 20:11:38 +00:00
kenneth.skovhede@gmail.com 21f503318c Added option to compile as x86, to support 64bit debugging, see:
http://www.slickit.ca/2009/06/fixing-visual-studios-edit-and-continue.html

git-svn-id: https://duplicati.googlecode.com/svn/trunk@387 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:09:28 +00:00
kenneth.skovhede@gmail.com 9e636f4cb1 Fixed issue #179.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@378 59da171f-624f-0410-aa54-27559c288bec
2010-03-04 21:52:53 +00:00
kenneth.skovhede@gmail.com c7f9668840 Fixed n issue with the unmanaged SSH backend (sftp/psftp based).
I belive this is the correct fix for issue #126.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@373 59da171f-624f-0410-aa54-27559c288bec
2010-02-15 19:47:42 +00:00
kenneth.skovhede@gmail.com c094073aa0 Fixed issue #166.
Fixed various items where ".Peek() < 0" was used instead of ".EndOfStream".
Added transfer time to the SSH List command, to support larger lists.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@372 59da171f-624f-0410-aa54-27559c288bec
2010-02-14 22:27:51 +00:00
kenneth.skovhede@gmail.com e421cabf67 Fixed bug with FTP after introduction of SSL support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@369 59da171f-624f-0410-aa54-27559c288bec
2010-02-12 19:44:02 +00:00
kenneth.skovhede@gmail.com 20fdd52df8 Fixed issue #170.
It is not well tested, but it is basically a copy of the WEBDAV SSL code.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@361 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 20:44:48 +00:00
kenneth.skovhede@gmail.com afcecabcbb Moved the SSL code into Core, so other backends can use it.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@360 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 20:43:24 +00:00
kenneth.skovhede@gmail.com e2d5c0c095 Fixed issue #121, SSL support for WEBDAV.
Also updated the code to use the CreateFolder method that the other providers use.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@358 59da171f-624f-0410-aa54-27559c288bec
2010-02-09 23:37:51 +00:00
kenneth.skovhede@gmail.com f21d2d4af8 Fixed issue #122.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@342 59da171f-624f-0410-aa54-27559c288bec
2010-01-18 19:41:34 +00:00
kenneth.skovhede@gmail.com 52924703bc Support for CreateFolder in FTP and WEBDAV backends.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@338 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:22:14 +00:00
kenneth.skovhede@gmail.com 1f87e01fc7 Fixed issue #129.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@337 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:21:08 +00:00
kenneth.skovhede@gmail.com 1ca632088e Fixed issue #140.
Also fixed various UI problems that were found.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@322 59da171f-624f-0410-aa54-27559c288bec
2010-01-15 22:25:26 +00:00
kenneth.skovhede@gmail.com 2ef98b1806 Fixed a bug with a .Net 2.0 without service packs.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@315 59da171f-624f-0410-aa54-27559c288bec
2010-01-05 21:16:29 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com edd1eb31c6 Fixes for issue #126, and a proposed workaround for issue #59.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@299 59da171f-624f-0410-aa54-27559c288bec
2009-11-01 21:14:52 +00:00
kenneth.skovhede@gmail.com 5010e4f094 Fixed issue #96.
Added a small application to fix future issues with embedded escape codes.
Also fixed some encoding issues with the pt-BR files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@298 59da171f-624f-0410-aa54-27559c288bec
2009-09-26 09:43:02 +00:00
kenneth.skovhede@gmail.com 5a75ae0ef6 Fixed issue #43, CloudFiles backend is now added and has a GUI.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@297 59da171f-624f-0410-aa54-27559c288bec
2009-09-23 16:49:56 +00:00
kenneth.skovhede@gmail.com 68a3e16f7f Extra fixes to issue #101 the Mono version was read incorrectly, and a file was missing.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@296 59da171f-624f-0410-aa54-27559c288bec
2009-09-23 16:42:45 +00:00
kenneth.skovhede@gmail.com 0614f55fac Fixed issue #101 the S3 Backend under Linux.
Work on issue #102 folder support for backends.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@294 59da171f-624f-0410-aa54-27559c288bec
2009-09-22 21:12:08 +00:00
kenneth.skovhede@gmail.com 6eb7159069 Fixed issue #114, removed the extra property in the IStreamingBackend interface.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@289 59da171f-624f-0410-aa54-27559c288bec
2009-09-21 20:15:29 +00:00
kenneth.skovhede@gmail.com 293311b68f All backends are now ported, needs a lot of testing before it can go into trunk
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@286 59da171f-624f-0410-aa54-27559c288bec
2009-09-20 20:58:49 +00:00
kenneth.skovhede@gmail.com 08280e0c42 Converted the S3 backend for issue 77.
Still have the SSH and WebDAV left.

git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@285 59da171f-624f-0410-aa54-27559c288bec
2009-09-18 16:36:40 +00:00
kenneth.skovhede@gmail.com 1c4153b8d8 Implemented the FTP UI for issue 77.
Fixed various bugs with the 77 implementation.

git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@284 59da171f-624f-0410-aa54-27559c288bec
2009-09-17 17:44:59 +00:00
kenneth.skovhede@gmail.com 6d34aa7919 Work on issue #77
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@280 59da171f-624f-0410-aa54-27559c288bec
2009-09-16 19:41:49 +00:00
kenneth.skovhede@gmail.com f64e7ad8d7 Build r276
git-svn-id: https://duplicati.googlecode.com/svn/trunk@276 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:23:46 +00:00
kenneth.skovhede@gmail.com 205ccdbbb0 Work on for issue #59, the timeout should now be obeyed correctly.
Slight modification for the printout in the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@275 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:15:04 +00:00
kenneth.skovhede@gmail.com 0b82b67d38 Adjusted install build procedure to work with a clean checkout and a release build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@272 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 21:18:18 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00
kenneth.skovhede@gmail.com 18cf1549e6 Fixes for the S3 backend under Linux.
Also cleaned up the backend, and removed the Wrapper which was unused.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@266 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 17:53:19 +00:00
kenneth.skovhede@gmail.com 36ff6e736d Updated license texts and bumped version numbers
git-svn-id: https://duplicati.googlecode.com/svn/trunk@261 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 20:54:43 +00:00
kenneth.skovhede@gmail.com c6fe80a805 Added option to switch temp folder for the backend tester
git-svn-id: https://duplicati.googlecode.com/svn/trunk@256 59da171f-624f-0410-aa54-27559c288bec
2009-08-10 20:54:13 +00:00