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
379 lines
14 KiB
C#
379 lines
14 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:2.0.50727.4952
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Duplicati.GUI.Properties {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
|
/// </summary>
|
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
|
// class via a tool like ResGen or Visual Studio.
|
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
|
// with the /str option, or rebuild your VS project.
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
internal class Resources {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal Resources() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns the cached ResourceManager instance used by this class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Duplicati.GUI.Properties.Resources", typeof(Resources).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Overrides the current thread's CurrentUICulture property for all
|
|
/// resource lookups using this strongly typed resource class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap AddedFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("AddedFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap AddedFolder {
|
|
get {
|
|
object obj = ResourceManager.GetObject("AddedFolder", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap AddedOrModifiedFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("AddedOrModifiedFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Clock05 {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Clock05", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Clock15 {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Clock15", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Clock30 {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Clock30", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Clock60 {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Clock60", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap CloseMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("CloseMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap ControlFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("ControlFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Delay {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Delay", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap DeletedFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("DeletedFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap DeletedFolder {
|
|
get {
|
|
object obj = ResourceManager.GetObject("DeletedFolder", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap donate_button {
|
|
get {
|
|
object obj = ResourceManager.GetObject("donate_button", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Duplicati {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Duplicati", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap ErrorStatusIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("ErrorStatusIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap ExamineMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("ExamineMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap FolderOpen {
|
|
get {
|
|
object obj = ResourceManager.GetObject("FolderOpen", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap FullBackup {
|
|
get {
|
|
object obj = ResourceManager.GetObject("FullBackup", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap help {
|
|
get {
|
|
object obj = ResourceManager.GetObject("help", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap IncompleteFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("IncompleteFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap LogMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("LogMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon LogViewer {
|
|
get {
|
|
object obj = ResourceManager.GetObject("LogViewer", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap ModifiedFile {
|
|
get {
|
|
object obj = ResourceManager.GetObject("ModifiedFile", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap OKStatusIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("OKStatusIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap PartialBackup {
|
|
get {
|
|
object obj = ResourceManager.GetObject("PartialBackup", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap PartialStatusIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("PartialStatusIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Pause {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Pause", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Play {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Play", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap SettingsMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("SettingsMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap SmallLogo {
|
|
get {
|
|
object obj = ResourceManager.GetObject("SmallLogo", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Status_OK {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Status_OK", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Status_pause {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Status_pause", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Status_Working {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Status_Working", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap StatusMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("StatusMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Stop {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Stop", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Throttle {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Throttle", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon ThrottleIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("ThrottleIcon", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Trash {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Trash", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon TrayNormal {
|
|
get {
|
|
object obj = ResourceManager.GetObject("TrayNormal", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon TrayNormalPause {
|
|
get {
|
|
object obj = ResourceManager.GetObject("TrayNormalPause", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon TrayWorking {
|
|
get {
|
|
object obj = ResourceManager.GetObject("TrayWorking", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Icon TrayWorkingPause {
|
|
get {
|
|
object obj = ResourceManager.GetObject("TrayWorkingPause", resourceCulture);
|
|
return ((System.Drawing.Icon)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap WarningStatusIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("WarningStatusIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap Wizard {
|
|
get {
|
|
object obj = ResourceManager.GetObject("Wizard", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
|
|
internal static System.Drawing.Bitmap WizardMenuIcon {
|
|
get {
|
|
object obj = ResourceManager.GetObject("WizardMenuIcon", resourceCulture);
|
|
return ((System.Drawing.Bitmap)(obj));
|
|
}
|
|
}
|
|
}
|
|
}
|