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

Secure communication with libssh #2

Open
kavon opened this issue Jul 17, 2019 · 0 comments
Open

Secure communication with libssh #2

kavon opened this issue Jul 17, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@kavon
Copy link
Member

kavon commented Jul 17, 2019

Obviously security is a major concern for Halo when operating over the Internet or some untrusted local network. It seems the most straightforward way to have both authentication and encryption is to switch over to communicating via libssh.

The tutorial for C code is here: http://api.libssh.org/master/libssh_tutor_forwarding.html

In particular, there's a pretty easy-to-use C++ wrapper which is summarized here (see the Channel class in particular): http://api.libssh.org/master/group__ssh__cpp.html

There is a way to make non-blocking reads and/or polling. This will may end up replacing all of the Boost.Asio code dealing with TCP/IP since the data will probably have to go through libssh's API.

@kavon kavon added the enhancement New feature or request label Jul 17, 2019
@kavon kavon changed the title Secure communication Secure communication with libssh Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant