From 58ca68e88651d17f04c0fdef7690009bc403654f Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Fri, 18 Nov 2011 13:41:42 -0700 Subject: [PATCH] remove comment about using true key sizes, now that we are --- resources/static/shared/storage.js | 4 ++-- resources/static/shared/user.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/static/shared/storage.js b/resources/static/shared/storage.js index 53b1e041f..ea70112eb 100644 --- a/resources/static/shared/storage.js +++ b/resources/static/shared/storage.js @@ -62,7 +62,7 @@ BrowserID.Storage = (function() { return emails; } catch(e) { } - + // if we had a problem parsing or the emails are null clear(); return {}; @@ -146,7 +146,7 @@ BrowserID.Storage = (function() { try { var staged = JSON.parse(window.localStorage.stagedOnBehalfOf); - + if (staged) { if ((new Date() - new Date(staged.at)) > (5 * 60 * 1000)) throw "stale"; if (typeof(staged.origin) !== 'string') throw "malformed"; diff --git a/resources/static/shared/user.js b/resources/static/shared/user.js index 6c9a19077..f58d9b1f7 100644 --- a/resources/static/shared/user.js +++ b/resources/static/shared/user.js @@ -587,7 +587,6 @@ BrowserID.User = (function() { * @param {function} [onFailure] - Called on error. */ syncEmailKeypair: function(email, onSuccess, onFailure) { - // FIXME use true key sizes prepareDeps(); // FIXME: parameterize! var keysize = 256; -- GitLab