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

Auth credentials inside vlc addon nginx config #1873

Closed
olegshilov opened this issue Feb 18, 2021 · 4 comments
Closed

Auth credentials inside vlc addon nginx config #1873

olegshilov opened this issue Feb 18, 2021 · 4 comments

Comments

@olegshilov
Copy link

I think this is not a place to store credentials

proxy_set_header Authorization "Basic OklOR1JFU1M=";

@joelmoses
Copy link

joelmoses commented Feb 23, 2021

The actual exposure is limited because the same nginx.conf file locks the port access to the supervisor's docker internal IP. But I agree that it's not good practice to hardcode this.

Looks like the implementer is merely trying to lock VLC to the NGINX HA ingress mode for the VLC WebUI. This is clumsy, especially considering they're also generating a telnet secret elsewhere and using it for configuring "cvlc". All it would take is a base64 encoding of the secret prefixed by ":" and passing that value to be written to the resulting file.

@joelmoses
Copy link

My stab at a fix is here: #1878

@tofuSCHNITZEL
Copy link

I'm wondering... Does this even matter? The vlc port is not exposed outside the container so the only way to access it is via the ingress port of the nginx which is "protected" behind the Home Assistant login...

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

4 participants