Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket Queue cryptographic keys exchange #30

Open
scalpovich opened this issue May 17, 2018 · 4 comments
Open

Socket Queue cryptographic keys exchange #30

scalpovich opened this issue May 17, 2018 · 4 comments

Comments

@scalpovich
Copy link

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?

@juks
Copy link
Owner

juks commented May 17, 2018

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

@scalpovich
Copy link
Author

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

@michelkal
Copy link

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.

@juks
Copy link
Owner

juks commented Feb 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants