Move to a firefox XPI plugin using JS-Ctypes instead of NPAPI.
authorMark Donnelly <mark@painless-security.com>
Sun, 22 Dec 2013 18:12:33 +0000 (13:12 -0500)
committerMark Donnelly <mark@painless-security.com>
Sun, 22 Dec 2013 18:12:33 +0000 (13:12 -0500)
commitcb76e829885810d7e7343d1192828c49cc632f4f
treed014786118382e99f7fb854df2e8a245fe2d2ba7
parent07f4bb30c79dceaedd3d7193d6d5b7513d1f9e2e
Move to a firefox XPI plugin using JS-Ctypes instead of NPAPI.

JS-Ctypes is intended to make simple calls out to dynamic libraries much simpler to develop than either NPAPI or XPCOMM.  Using this, generate calls to the code contained in ../gssapi_utils and the GSS-API calls themselves to call out to the requisite functionality.

This first commit contains working code that calls out to both libgssapi_krb5 and libgssapi_utils, leading up to a call to create the context token from a call to gss_init_sec_context.  Well, it is "working" in the sense that the calls all succeed in crossing the boundary between JavaScript and dynamic shared object libraries; it fails to invoke the function well enough for the function to succeed.
xpi/README.md [new file with mode: 0644]
xpi/chrome.manifest [new file with mode: 0644]
xpi/doc/main.md [new file with mode: 0644]
xpi/lib/main.js [new file with mode: 0644]
xpi/package.json [new file with mode: 0644]
xpi/test/test-main.js [new file with mode: 0644]