Description
Currently the tls
module doesn't have an implementation in chrome packaged app.
https://nodejs.org/api/tls.html
The best place to start this might be to take a copy of
https://github.com/feross/chrome-net
Then look at the https://developer.chrome.com/apps/sockets_tcp#method-secure
And try and implement secure sockets https://nodejs.org/api/tls.html#tls_class_tls_tlssocket
After that it might be worth while taking
https://github.com/Rise-Vision/chrome-app-tls-server and looking to see if that can be wrapped/deconstructed to map to the server implementation
https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener
Note tests can be taken from:
https://github.com/nodejs/node/tree/old-master/test/simple
adding @puzdrow how has been asking questions about this.
If anyone takes it on please post a link here