[foaf-protocols] WebID via JavaScript TLS + WebSockets

Dave Longley dlongley at digitalbazaar.com
Tue May 10 00:02:40 CEST 2011


A quick update on the Forge library: There is now an implementation for 
both client and server TLS in JavaScript. Some minor changes were made 
to the Forge library to allow it to run in node.js as well as in the 
browser.

In addition to this, WebSockets are now supported as an option for doing 
WebID authentication in the 
webid.digitalbazaar.com+payswarm.com/webid-demo. If your browser 
supports WebSockets, you should see a button for using them when 
selecting a WebID to login with. The demo establishes a WebSocket 
connection with the server and then does JavaScript TLS on top of that 
using your selected WebID's client-certificate. This establishes a 
pure-JavaScript (No Flash) implementation.

The source:
Forge: https://github.com/digitalbazaar/forge
WebID Demo: https://github.com/digitalbazaar/webid-demo

-Dave

-- 
Dave Longley
CTO
Digital Bazaar, Inc.



More information about the foaf-protocols mailing list