Commit Graph
25 Commits
Author SHA1 Message Date
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 a2c6b7c0a5 Added a license tab to the options dialog to ensure compliance with thirdparty licenses.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@496 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 16:53:33 +00:00
kenneth.skovhede@gmail.com d9f65414ca Added a checkbox to hide the donate button.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@447 59da171f-624f-0410-aa54-27559c288bec
2010-07-08 18:31:18 +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 ee4197a0ad Fixed issue #186
git-svn-id: https://duplicati.googlecode.com/svn/trunk@403 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 11:13:45 +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 e43553f608 Fixed issue #10.
Fixed issue #69.
Fixed issue #142.
I finally got the time to complete the pause and throttle options.
It required a minor rewrite, so I also fixed issue #142.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@310 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:46:58 +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 b35bc97757 Fixed issue with LightDataModel not compiling anymore
git-svn-id: https://duplicati.googlecode.com/svn/trunk@268 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:07:39 +00:00
kenneth.skovhede@gmail.com 084b878a11 Fixed an issue when selecting English language, reported in issue #85.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@238 59da171f-624f-0410-aa54-27559c288bec
2009-07-20 20:28:33 +00:00
kenneth.skovhede@gmail.com f218f18c35 Minor adjustment to how language changes work.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@223 59da171f-624f-0410-aa54-27559c288bec
2009-07-15 16:02:19 +00:00
kenneth.skovhede@gmail.com 72c92dd78b Made the LocalizationTool more SDK version independant.
Updated some sub-projects to VS 2008, fixed .Net 3.5 dependencies to 2.0.
Added a language selection option to the settings dialog.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@222 59da171f-624f-0410-aa54-27559c288bec
2009-07-14 22:26:22 +00:00
kenneth.skovhede@gmail.com 8bc0ad764a Removed unused components, and added some of the translation code.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@185 59da171f-624f-0410-aa54-27559c288bec
2009-06-11 17:22:38 +00:00
kenneth.skovhede@gmail.com fefdd87d30 Fixed issue #55.
Fixed issue #62.
Fixed issue #63.
All open issues for 1.0 are now complete (except #49 which is missing feedback).
This will likely be RC2, I will test it for a while before posting RC2.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@174 59da171f-624f-0410-aa54-27559c288bec
2009-05-12 21:05:45 +00:00
kenneth.skovhede@gmail.com aa8fcdb6a0 Fixed issue #59 (SSH backend on Linux)
A full rewrite of the SSH backend, and a simple C# version of expect.
Fixed issues with similar named files on the same backend.
Fixed an issue where files were not deleted.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@172 59da171f-624f-0410-aa54-27559c288bec
2009-05-11 18:56:21 +00:00
kenneth.skovhede@gmail.com c8e8ec0e47 Added the "View log" option to the status context menu.
Fixed various icons to use the one from resources.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@140 59da171f-624f-0410-aa54-27559c288bec
2009-04-01 13:28:04 +00:00
kenneth.skovhede@gmail.com 6124b79774 Fixed the PurgeSignatureCache function to only remove Duplicati files.
Added a button to purge the cache from the settings menu.
Added a size label to show the size of the signature cache.
Made the ListBackupFiles abort the current action when closed.
Made the ListBackupFiles available from the status window.
Fixed a small problem where all folders were marked as deleted in the previous commit (would only result in missing empty folders on restore).
Changed the name of the "Setup" menu to be "Wizard ..." for issue #13, and changed the icon.
Added Mono compatible SQLite dll's.
Updated the SQLite dll's to version 1.0.60.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@139 59da171f-624f-0410-aa54-27559c288bec
2009-04-01 08:30:14 +00:00
kenneth.skovhede@gmail.com 5e8fe893d5 Fixed #8, modified files count as added.
Fixed #12, signature cache, which is now enabled pr. default.
Added a cache for the S3 redirect tests, which should limit the number of calls.
Added some GC.Collect calls for the S3 backend, as it appears to be leaking HttpWebRequest objects for some reason.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@111 59da171f-624f-0410-aa54-27559c288bec
2009-03-09 21:09:27 +00:00
kenneth.skovhede@gmail.com 0cd20a6127 Minor fixes to the way the filter is generated.
Added an option to store a common password for all backups.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@90 59da171f-624f-0410-aa54-27559c288bec
2009-02-17 22:23:49 +00:00
kenneth.skovhede@gmail.com fd422ef4b4 Added option to set the temp folder.
Added code to restore the setup from a backup.
Removed the unused RDiffWrapper.
Added events to the main interface.
The beta for 1.0 is now completed, but the installer is missing.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@89 59da171f-624f-0410-aa54-27559c288bec
2009-02-15 23:27:14 +00:00
kenneth.skovhede@gmail.com 8babf1d616 Updated license notices.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@85 59da171f-624f-0410-aa54-27559c288bec
2009-02-10 23:36:15 +00:00
kenneth.skovhede@gmail.com 2ddd10a1af Added a standalone decryption app, in case something breaks later on.
Updated the wizard to allow GPGEncryption.
Settings now reflect the actual paths required.
Completely reworked the way differential updates are read and written,
which gives a much cleaner code, a heavy performance boost and a
highly reduced number of temporary files.
Removed duplicated code for streamwrapping.
Updated SharpZipLib to the latest release.
Removed unused compression code.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@84 59da171f-624f-0410-aa54-27559c288bec
2009-02-10 23:29:01 +00:00
kenneth.skovhede@gmail.com 135caf4164 All projects are now signed.
Updated to the newest version of LightDataModel.
Switched from duplicity to duplicati, this runs a bit faster.
Now supports authentication on network shares (windows only).

git-svn-id: https://duplicati.googlecode.com/svn/trunk@66 59da171f-624f-0410-aa54-27559c288bec
2009-01-15 19:42:14 +00:00
kenneth.skovhede@gmail.com 8360b1dc92 Moved everything in the GUI into the Duplicati.GUI namespace.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@38 59da171f-624f-0410-aa54-27559c288bec
2008-09-13 16:32:45 +00:00
kenneth.skovhede@gmail.com 2eccd19469 Initial work towards a python free implementation.
There were too many problems porting pexpect to windows for that to work.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@37 59da171f-624f-0410-aa54-27559c288bec
2008-09-13 16:24:43 +00:00