iso-8583-socket-queue icon indicating copy to clipboard operation
iso-8583-socket-queue copied to clipboard

Socket Queue cryptographic keys exchange

Open scalpovich opened this issue 7 years ago • 4 comments

Hi Igor, Hope you're doing well. i use SQ now it's really amazing. Thanks How can i implement a connection module to an HSM for the exchange of cryptographic keys to secure online transactions in currently architecture?

scalpovich avatar May 17 '18 13:05 scalpovich

Hi!

You can develop a new module, then add some event-based communnication with it. If you expect these keys to be used for upstream exchange encryption, check the following file where it is implemented:

https://github.com/juks/SocketQueue/blob/master/lib/socketServer/lib/upstream.js

Module example:

https://github.com/juks/SocketQueue/blob/master/lib/socketServer/lib/clientHttpServer.js

juks avatar May 17 '18 15:05 juks

thanks for your revert ... i will try and get you back.

scalpovich avatar May 17 '18 18:05 scalpovich

Hi @noecodjo

Did you ever try this out? (I mean the key exchange module). I am trying to do that also... But not done anything yet. @juks Nice library, but I am having issue with passing JSON data over HTTP. Keep getting * HTTP client error emitted at server object: Error: Parse Error* , I am pretty sure the JSON correct.

michelkal avatar Feb 24 '19 08:02 michelkal

Hi!

This kind of error is emitted by Node.js HTTP library (https://github.com/juks/SocketQueue/blob/7fc6ed98866e235e1b8b585779c2bc35cfcac8ab/lib/socketServer/lib/clientHttpServer.js#L171). So please have some patience to debug it.

juks avatar Feb 25 '19 17:02 juks