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

connect through TLS with authenticationinfo #44

Open
gibran opened this issue Aug 17, 2018 · 1 comment
Open

connect through TLS with authenticationinfo #44

gibran opened this issue Aug 17, 2018 · 1 comment

Comments

@gibran
Copy link

gibran commented Aug 17, 2018

I didn't see if it is possible use node-capnp to connect through RPC over TLS.
I need to set my authentication info to handshake negotiate, but I'm not getting to do it.

I'm using this .capnp https://github.com/Internet-of-People/mercury-rust/tree/develop/home-protocol/protocol. The server was writing in Rust and I'm trying to create a client in node.

There is some possibility to use this package?

Thanks

@kentonv
Copy link
Member

kentonv commented Aug 17, 2018

Hi Gibran,

Unfortunately this isn't directly supported in the library. For now, what you will need to do is use a loopback connection (e.g. back to the same process), and then arrange to proxy data over a TLS connection from there.

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

2 participants