Giter Club home page Giter Club logo

convergence's People

Contributors

axtl avatar chrisglass avatar derekelkins avatar ebfe avatar jackofmosttrades avatar jeremyrand avatar mavam avatar mirko796 avatar mk-fg avatar moxie0 avatar pesco avatar scm2342 avatar secyoure avatar shammash avatar sid77 avatar svetlyak40wt avatar uberbrady avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

convergence's Issues

getRecentBadCerts not found

With Firefox >= 33 I get the following error: TypeError: certDB.getRecentBadCerts is not a function

We experienced the same issue in Perspectives, see:
danwent/Perspectives#143

Our current workaround was to fetch the certificate in ProgressListener.onSecurityChange

XULRunner port?

Hi,

Would you be interested in merging a PR that allows Convergence to be built as a XULRunner application which exposes an HTTPS proxy? This would allow any application which supports HTTPS proxies to use Convergence. The code is basically working now in the Namecoin fork of Convergence; it wouldn't be hard to backport it to your codebase.

Cheers,
-Jeremy

Notary Connectivity Failure on Windows Client

Notaries work fine for me from a Linux client, but when I run the client in Windows 8, I frequently get "Connectivity Failure" reported by Firefox. In cases where this happens, the notary server's debug output says that it received no connections. Often it works for a particular site after I refresh about 10 times (in which case the cert is cached, the server does report a connection, and that site works until I clear the client cert cache).

Any idea what might cause this?

Question on DNS Hijacking

The readme says:

"Send IP along with hostname (for e.g. SNI and cert validation) and port, because same name can be resolved to different hosts in case of CDNs or round-robin-dns mirrors, which can have unrelated certificates."

From glancing at the server code, it looks like if an IP is received from the end user, the server connects to that IP (I could be misreading though). Does this introduce security problems if the end user's DNS has been hijacked by the same attacker that is doing a MITM attack?

UI broken on Firefox 33+ in Windows (ctypes symbol missing)

Seems the Convergence UI is broken on Firefox 33 and higher on Windows. On affected systems, the logo in the toolbar button is blank, and when I go into the options dialog, all options are blank and the OK button has no effect. Linux seems to be unaffected.

Here is the output with logging enabled via about:config; looks like a ctypes symbol is missing.

Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\util\ConvergenceUtil.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ctypes\NSPR.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ctypes\NSS.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ctypes\SSL.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ctypes\SQLITE.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\sockets\ConvergenceListenSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\sockets\ConvergenceClientSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\sockets\ConvergenceServerSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ctypes\Serialization.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ssl\CertificateManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ssl\CertificateInfo.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\proxy\HttpProxyServer.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\proxy\PatternList.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\components\Loc
alProxy.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ssl\PhysicalNotary.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ssl\Notary.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\components\Set
tingsManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\components\Con
nectionManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\ssl\NativeCertificateCache.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\components\Dat
abaseHelper.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\1mcdivng.default\extensions\[email protected]\chrome\content
\util\ConvergenceUtil.js
Convergence.core: Loaded!
Convergence.core: Using fallback (nss3) for lib nspr4: C:\Program Files (x86)\Mo
zilla Firefox\nss3.dll
Convergence.core: Using fallback (nss3) for lib ssl3: C:\Program Files (x86)\Moz
illa Firefox\nss3.dll
Convergence.core: Using fallback (nss3) for lib mozsqlite3: C:\Program Files (x8
6)\Mozilla Firefox\nss3.dll
Convergence.core: |
Error initializing ctypes - Exception: Error: couldn't find function symbol in
library
0: NSS.initialize@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/P rofiles/1mcdivng.default/extensions/[email protected]/components /Convergence.js -> file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profi les/1mcdivng.default/extensions/[email protected]/chrome/content /ctypes/NSS.js:241:26' 1:Convergence.prototype.initializeCtypes@file:///C:/Users/Jeremy/AppData/R
oaming/Mozilla/Firefox/Profiles/1mcdivng.default/extensions/convergence@extensio
n.fraggod.net/components/Convergence.js:110:7'
2: Convergence@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Prof iles/1mcdivng.default/extensions/[email protected]/components/Co nvergence.js:34:5' 3:XPCOMUtils__getFactory/factory.createInstance@resource://gre/modules/XPC
OMUtils.jsm:292:19'
4: ConvergenceContentPolicy@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla /Firefox/Profiles/1mcdivng.default/extensions/[email protected]/ components/ConvergenceContentPolicy.js:31:29' 5:XPCOMUtils__getFactory/factory.createInstance@resource://gre/modules/XPC
OMUtils.jsm:292:19'
Convergence.core: |
Convergence init error - Exception: Error: couldn't find function symbol in li
brary
0: NSS.initialize@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/P rofiles/1mcdivng.default/extensions/[email protected]/components /Convergence.js -> file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profi les/1mcdivng.default/extensions/[email protected]/chrome/content /ctypes/NSS.js:241:26' 1:Convergence.prototype.initializeCtypes@file:///C:/Users/Jeremy/AppData/R
oaming/Mozilla/Firefox/Profiles/1mcdivng.default/extensions/convergence@extensio
n.fraggod.net/components/Convergence.js:110:7'
2: Convergence@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Prof iles/1mcdivng.default/extensions/[email protected]/components/Co nvergence.js:34:5' 3:XPCOMUtils__getFactory/factory.createInstance@resource://gre/modules/XPC
OMUtils.jsm:292:19'
4: ConvergenceContentPolicy@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla /Firefox/Profiles/1mcdivng.default/extensions/[email protected]/ components/ConvergenceContentPolicy.js:31:29' 5:XPCOMUtils__getFactory/factory.createInstance@resource://gre/modules/XPC
OMUtils.jsm:292:19'

Errors on Windows

Testing with Firefox 24 on Windows 8 (latest code from master), the Settings dialog shows no notaries, all checkboxes are unchecked, and clicking OK doesn't close the dialog. Firefox 23 on Linux Mint 15 works fine. The following debug output is displayed under Windows.

*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\util\ConvergenceUtil.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ctypes\NSPR.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ctypes\NSS.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ctypes\SSL.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ctypes\SQLITE.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\sockets\ConvergenceListenSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\sockets\ConvergenceClientSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\sockets\ConvergenceServerSocket.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ctypes\Serialization.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ssl\CertificateManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ssl\CertificateInfo.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\proxy\HttpProxyServer.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\proxy\PatternList.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\component
s\LocalProxy.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ssl\PhysicalNotary.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ssl\Notary.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\component
s\SettingsManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\component
s\ConnectionManager.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\ssl\NativeCertificateCache.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\component
s\DatabaseHelper.js
Convergence.core: Loaded!
Convergence.core: Loading: C:\Users\Jeremy\AppData\Roaming\Mozilla\Firefox\Profi
les\wp22l9tm.default\extensions\[email protected]\chrome\co
ntent\util\ConvergenceUtil.js
Convergence.core: Loaded!
Convergence.core: Failed to find nspr4 in installed directory, checking system p
aths.
Convergence.core: Failed to find nspr4 in system paths, trying explicit FreeBSD
path.
Convergence.core: |
Error initializing ctypes: Error: couldn't open library /usr/local/lib/libnspr
4.so, @file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9tm
.default/extensions/[email protected]/components/Convergenc
e.js -> file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9t
m.default/extensions/[email protected]/chrome/content/ctype
s/NSPR.js:40
@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9tm.def
ault/extensions/[email protected]/components/Convergence.js
:87
Convergence@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/w
p22l9tm.default/extensions/[email protected]/components/Con
vergence.js:33
@resource://gre/modules/XPCOMUtils.jsm:271
ConvergenceContentPolicy@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firef
ox/Profiles/wp22l9tm.default/extensions/[email protected]/c
omponents/ConvergenceContentPolicy.js:31
@resource://gre/modules/XPCOMUtils.jsm:271
Convergence.core: |
Initializing error: Error: couldn't open library /usr/local/lib/libnspr4.so ,
@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9tm.defau
lt/extensions/[email protected]/components/Convergence.js -

file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9tm.defa
ult/extensions/[email protected]/chrome/content/ctypes/NSPR
.js:40
@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/wp22l9tm.def
ault/extensions/[email protected]/components/Convergence.js
:87
Convergence@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firefox/Profiles/w
p22l9tm.default/extensions/[email protected]/components/Con
vergence.js:33
@resource://gre/modules/XPCOMUtils.jsm:271
ConvergenceContentPolicy@file:///C:/Users/Jeremy/AppData/Roaming/Mozilla/Firef
ox/Profiles/wp22l9tm.default/extensions/[email protected]/c
omponents/ConvergenceContentPolicy.js:31
@resource://gre/modules/XPCOMUtils.jsm:271
Convergence.ui: CertificateStatus constructor called : C:\Program Files (x86)\Mo
zilla Firefox\nss3.dll
Convergence.ui: Constructed!
Convergence.ui: Getting current tab status...

A quick Google suggested this:

https://blog.mozilla.org/addons/2013/06/03/compatibility-for-firefox-22/

"Fold NSPR and NSS into mozjs (for Windows) or libxul (for other platforms). If your add-on has binary components or you build against Mozilla code for other reasons, this is possibly important. I’ve already been contacted a couple of times about failed builds because of this."

Not sure if this is related, but it might be a place to start.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.