This is not yet my official 0.1 release for the NetworkManager Web Authentication I'm working on, but is what I will be releasing for it. I haven't blogged about it for awhile, and figured posting some progress might be in order. The G-Zipped file can be grabbed from here.
Since it uses binary components for the XPCOM/DBus stuff, there is an x86 and x86_64 version at present, and is Linux-only. To test it, do the following:
- Install the appropriate extension (autologin-x86.xpi or autologin-x86_64.xpi) into Firefox
- Run the dbus executable (compiled on 32-bit, been tested on both).
- ./dbus receive to receive signals sent by the extension
- ./dbus send "message" to send signals to the bus to be picked up by the extension
- When you start Firefox, a series of prompts will pop up, telling you what to do, This includes signals to be send from the dbus exec from #2
- When"done" has been both sent and received, the prompts will end. (WARNING: These will pop up the next time you run Firefox with it installed/enabled)
There are still a few things I want to fix up before I officially release it tomorrow (today?), namely updating the wiki page, and making the action of building it into an extension easier, It's post-midnight right now, and I'm running on little sleep, making this not very productive time. However, I do have a contribution opporunity...
Contribution Opportunity
When I put my source into srcdir/extentions/nmautologin it compiles to objdir/dist/bin/extensions/ This e-mail address is being protected from spambots. You need JavaScript enabled to view it . It puts the compiled objects into components/ and I have been able to get my Javascript XPCOM into there as well. The problem is, I also have chrome/content/autoLogin.xul in my source I want to export to it, but when I try, it negates the directory path, and just puts it in objdir/dist/bin/extensions/ This e-mail address is being protected from spambots. You need JavaScript enabled to view it .
I am currently exporting these files over using DIST_FILES = autoLogin.xul in my Makefile. If anybody knows how to keep the directory structure intact (my chrome.manifest references it relative to itself) the build process would be a lot easier, and I would be much appreciative.






Why Firefox as a dependency? NM itself is only a backend with many frontends and I think also this extension should work even if only the console is available using a lightweight browser like w3m or similar.