SSL Pinning with Faye Websockets
Opened this issue · 2 comments
I am aware that many websocket libraries in the client-side use faye-websockets to make use of its standards-compliant websocket behaviour. However, those libraries cannot be used to implement SSL pinning (e.g. sockjs-client). Is there any chance that users can implement SSL pinning with faye-websockets? If there is no such official approach, could you please provide any advise for developing such functionality for websockets?
@ashenwgt Could you explain to me what SSL pinning is and what kind of functionality you're looking for? It would help me to understand what changes might be necessary for us to support this.
I would add that the Client
class does accept a tls
option, which is passed directly through to the Node tls.connect()
function. See here: https://github.com/faye/faye-websocket-node#initialization-options
So, any options Node's tls
module supports are also supported by our Client
class.