HTTP_AUTH - Allow auth for multiple subdomains
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- authentication
Research direction
Start in pkg/apk/auth/auth.go at the referenced lines and inspect how HTTP_AUTH host matching currently works. Determine the intended matching rule for aaa.domain.com and bbb.domain.com under one domain, then verify that authenticated pulls from both hosts work without weakening unrelated host checks.
Written by the indexing model from the issue text.
Description
Right now, the HTTP_AUTH environment variable can be used to provide authentication.
At present, it is of the form:
basic:<HOST>:<USER>:<TOKEN>
Since the check is a straight equality check against the full host value, I cannot pull from both of these host values with auth at the same time:
- aaa.domain.com
- bbb.domain.com
I'd like to be able to support pulling with auth from multiple subdomains under a given domain.
I'm also happy to contribute this, but wanted to ask for input / get a green light.
Thanks!
- Dominant language
- Go
- Stars
- 1.7k
- Forks
- 228
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 62
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from chainguard-dev/apko
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
chainguard-dev/apko#2496 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
chainguard-dev/apko#2495 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
chainguard-dev/apko#2494 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
chainguard-dev/apko#2484 ·
-
Difficulty 2/5 Half a day Newbie friendliness 76/100
chainguard-dev/apko#2483 ·
All issues in chainguard-dev/apko
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100