Local Key Exchange Server
Quick follow up on the last post. I managed to build the server and have it running. Changing
about:config indeed does direct Firefox to the custom key exchange server. The bad news is that I've only managed to get Error 503 responses when trying to re-setup sync in the browser.
I ended up creating a PKGBUILD for it. Unpack that tarball, run
makepkg -si in the folder and you should end up with
/opt/mozilla-key-exchange-server. In there, just run
./bin/paster serve ./etc/development.ini and the server should start listening for requests on port 5000.
I'll have a closer look at it soon.