jkuri/bore

[Feature Request] - Adding Password Authentication

Opened this issue · 1 comments

Hi @jkuri

I've been using bore self-hosted for a few days and I think it's a fantastic tool. Congratulation.

I would need to have an authorization mechanism to instantiate the tunnels. For example, a password that is defined on the server side (in the bore server configuration) and which is passed to the bore client to instantiate the tunnel.

For example:
Server side:

BORE_PASSWORD=mysecretpassword BORE_DOMAIN=bore.mydomain BORE_HTTPADDR=0.0.0.0:80 BORE_SSHADDR=0.0.0.0:2200 ./build/bore-server

Client side:

bore -s bore.mydomain -p 2200 -ls localhost -lp 6500 -pw mysecretpassword

Clearly working with the password should be optional (only if the environment variable is defined in the server)
It would be a great feature to have

Thank you.

jkuri commented

Hi @manprint,

thanks for the nice words. Currently I don't have time to implement authentication or any other new features but that might change in the future. If you'd like you can open a pull request with the desired behavior and I will accept it.

Nice regards, Jan