moxie0 / Convergence

An agile, distributed, and secure alternative to the Certificate Authority system.
http://convergence.io
623 stars 127 forks source link

JS Related problems on FF 7.0.1 #102

Closed E3V3A closed 12 years ago

E3V3A commented 12 years ago

Convergence causes several JavaScript related problems on Firefox 7.0.1 running on Windows XP SP3. The result of the errors are multiple Master Password questions appearing, before browser opening, even when no tabs are used. Problem can be seen by launching FF in CMD with a console window:

c:\Mozilla Firefox\firefox.exe -console

Then you'll see several JS errors/failures. Problems started after FF update from 7.0.0 to 7.0.1.

Solution is to disable Convergence.

Other plugins used at the time:

Adblock Plus BetterPrivacy HTTPS-Everywhere InFormEnter Java Quick Starter NoScript selectivecookiedelete Status-4-Evar

Thanks.

moxie0 commented 12 years ago

Correct, Convergence will have to prompt you for your PSM password at startup in order to get the Convergence certificates in/out of the PSM. Are you experiencing any other problems?

ewanm89 commented 12 years ago

@moxie0 you mean: "This is a feature, not a bug".

Yeah, we don't like doing this, but it was needed else master pasword screws convergence up good and proper, But the master password box should only come up once.

E3V3A commented 12 years ago

@moxie0:

Well, I suppose these are some problems: 1) This was not a problem/case before FF was updated. FF did not ask for Master Password, before loading browser including Convergence. (What changed?) 2) Why does it ask for password more than once? 3) What are all those other JS related Errors appearing in console? 4) This is not a feature, just very annoying!

E3V3A commented 12 years ago

Essentially, when using "-console" flag, after a number of statements like this:

Loading: C:\Documents and Settings\xxxxxx\Application Data\Mozilla\Firefox\Profiles\xxxxxx.default\extensions\convergence@extension.thoughtcrime.org\components\DatabaseHelper.js Loaded!

I get this:

Settings loaded threshold: majority Configuring cache... Found existing certificate! Configuring cache... Found existing certificate!

Initializing error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPK11Token.login]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Mozilla/Firefox/Profiles/xxxxxx.default/extensions/convergence@extension.thoughtcrime.org/components/Convergence.js -> file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Mozilla/Firefox/Profiles/xxxxxx.default/extensions/convergence@extension.thoughtcrime.org/chrome/content/ssl/CertificateManager.js :: :: line 248" data: no] , undefined

Hope this helps...

moxie0 commented 12 years ago

@ocosteau, if the PSM passphrase on startup thing is all you're seeing, unfortunately there's nothing we can do. Given the little that we have to work with in terms of APIs from Mozilla, this unfortunately just how it is. If they ever provide us with sane certificate validation APIs, this would disappear (along with 90% of the codebase).