From c50f57fcfe423a5f1a32cf6dc977b05f0326781b Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 28 Nov 2012 15:38:21 +0100 Subject: [PATCH] new encryption policy --- README.md | 6 +++--- lib/options.js | 12 ++---------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f5f19c5..d7ba991 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,6 @@ Sockets have been introduced in Chromium 24. Therefore, it is required to have a ## Features -### Password encryption -Storing your socks password encrypted is a priority but is not available yet. Yes, the chromesoul dev version is unsafe; so is the official NetSoul server which doesn't store a hash but the password itself (it's required by the NetSoul protocol). - ### Messages At first, chromesoul's was only intended to provide an access to internet from the PIE and didn't supported messages. However, I changed my mind and decided to include this feature. Don't panic if you don't want to be disturbed, it's possible to turn it off. All you have to do is to go in your settings and uncheck the little box. @@ -45,6 +42,9 @@ Just like any other app: ### Do I really have to compile the version from beta channel? No, you can wait until it comes to stable. +### Are my data stored encrypted? +By default it's not encrypted, that's why you are strongly encouraged to configure Chrome to [encrypt all your synced data](http://support.google.com/chrome/bin/answer.py?hl=en&answer=1181035). Please note that it's true for every application you uses. + ### I found a bug, what should I do? Please [report it](https://github.com/TychoBrahe/chromesoul/issues) with as much details as you can. Thanks in advance. diff --git a/lib/options.js b/lib/options.js index 8e0ea31..db9fdd1 100644 --- a/lib/options.js +++ b/lib/options.js @@ -108,21 +108,13 @@ OptionsManager.prototype.getElemValue = function(elem) { val = this.types.get[type](elem); } - return this.encrypt(val); + return val; }; OptionsManager.prototype.setElemValue = function(elem, val) { var type = elem.getAttribute('type'); if (typeof this.types.set[type] !== "undefined") { - this.types.set[type](elem, this.decrypt(val)); + this.types.set[type](elem, val); } }; - -OptionsManager.prototype.encrypt = function(value) { - return value; -}; - -OptionsManager.prototype.decrypt = function(value) { - return value; -};