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

Feature request : hauth check #123

Open
dnsBlah opened this issue Oct 2, 2024 · 1 comment
Open

Feature request : hauth check #123

dnsBlah opened this issue Oct 2, 2024 · 1 comment

Comments

@dnsBlah
Copy link

dnsBlah commented Oct 2, 2024

Please add a conditional check and 2 variables in the configuration for hauth (a static prod, and a "test/scan" variable)
if set, on the access_tinfoil_shop() first check if http_hauth IS the value from configuration.
if not set, update the test/scan variable with the http_hauth that was given.

if hauth has been set in the config, but the check fails > just give a http 400 response

This way admins can lock their index from being downloaded without knowing the actual hauth key.

@a1ex4
Copy link
Owner

a1ex4 commented Oct 6, 2024

What's hauth and how is it configured / used with Tinfoil?

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

2 participants