moxie0 / Convergence

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

recentbadcerts undefined (Firefox 22.0) #176

Open diracdeltas opened 10 years ago

diracdeltas commented 10 years ago

In FF 22.0, I get:

Error: TypeError: Components.classes['@mozilla.org/security/recentbadcerts;1'] is undefined Source File: chrome://convergence/content/CertificateStatus.js Line: 34

using master at https://github.com/derekelkins/Convergence, which applies a fix for FF18 and above.

I found that nsIRecentBadCertService is no longer a global service via https://developer.mozilla.org/en-US/docs/Updating_addons_broken_by_private_browsing_changes, which suggests:

nsIRecentBadCertsService: this is no longer a global service, and has been renamed to nsIRecentBadCerts. To obtain this, acquire the nsIX509CertDB service, and use the new getRecentBadCerts method, passing a boolean indicating whether the private bad certificates or public ones are desired.

tlaundal commented 10 years ago

Hope a fix for this will come, I have the same error on 23.0 with the derekelkins master

diracdeltas commented 10 years ago

This is indeed fixed at https://github.com/mk-fg/convergence/blob/master/client/chrome/content/CertificateStatus.js#L40. No errors in FF23 when installing and running from that fork, but I am unable to connect to the default notaries.

https://github.com/mk-fg/convergence/ is the best-maintained fork that I've found so far.