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 tokens arg hardening #161

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Auth tokens arg hardening #161

merged 2 commits into from
Jan 12, 2024

Conversation

stigok
Copy link
Collaborator

@stigok stigok commented Dec 23, 2023

Reduce chance of inadvertenly exposing a private registry.

@stigok stigok force-pushed the auth-tokens-arg-hardening branch from 9981774 to 22aa47f Compare December 23, 2023 00:21
@stigok stigok force-pushed the auth-tokens-arg-hardening branch 2 times, most recently from f332c60 to f8ea97e Compare January 11, 2024 15:37
@stigok stigok requested a review from Foxboron January 11, 2024 15:38
@stigok stigok marked this pull request as ready for review January 11, 2024 15:38
@stigok stigok requested a review from a team as a code owner January 11, 2024 15:38
@stigok stigok requested review from djbuster, siljekristensen and arott and removed request for a team January 11, 2024 15:38
Having authentication enabled without any valid credentials is probably
not intended. Additionally, this would previously still attempt to watch
the empty file path, printing errors on regular intervals.
The log messages printed when the auth token file has been reloaded and
read is now the same whether the amount of tokens is 0 or if its >0.
However, if it's 0, a warning level message will be printed instead of
an info level.
@stigok stigok force-pushed the auth-tokens-arg-hardening branch from f8ea97e to 0d15e5c Compare January 12, 2024 09:08
@stigok stigok merged commit 03bc360 into main Jan 12, 2024
10 checks passed
@stigok stigok deleted the auth-tokens-arg-hardening branch January 12, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants