Preferences/__init__.py

changeset 1682
0eefcc28fa74
parent 1680
28e57079dab5
child 1695
7b115f986d48
--- a/Preferences/__init__.py	Sun Feb 26 19:43:27 2012 +0100
+++ b/Preferences/__init__.py	Mon Feb 27 19:33:51 2012 +0100
@@ -659,6 +659,7 @@
         "SyncUserAgents": True,
         "SyncEncryptData": False,
         "SyncEncryptionKey": "",
+        "SyncEncryptionKeyLength": 32,      # 16, 24 or 32
         "SyncType": 0,
         "SyncFtpServer": "",
         "SyncFtpUser": "",
@@ -2034,7 +2035,8 @@
                  "KeepCookiesUntil", "StartupBehavior", "HistoryLimit",
                  "OfflineStorageDatabaseQuota", "OfflineWebApplicationCacheQuota",
                  "CachePolicy", "DownloadManagerRemovePolicy",
-                 "SearchLanguage", "SyncType", "SyncFtpPort", "SyncFtpIdleTimeout"]:
+                 "SearchLanguage", "SyncType", "SyncFtpPort", "SyncFtpIdleTimeout",
+                 "SyncEncryptionKeyLength"]:
         return int(prefClass.settings.value("Help/" + key,
             prefClass.helpDefaults[key]))
     elif key in ["SingleHelpWindow", "SaveGeometry", "WebSearchSuggestions",

eric ide

mercurial