-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Woodpecker agent tokens should only be valid for one time usage #3297
Comments
Maybe I completely misunderstand this, but what about this case:
Maybe you could also fix your problem with #3199? |
Maybe the token should be exchanged for another token, which is saved in the agent config. |
@anbraten @6543 This is a security issue since it seems like some people are using the woodpecker autoscaler in a way that makes the token available to jobs (I say that because woodpecker-ci/autoscaler#15 (comment) is merged). |
So sth like this?
|
Something in the database will need to indicate that it is invalid. |
Clear and concise description of the problem
Woodpecker token is available to jobs woodpecker-ci/autoscaler#91
Suggested solution
Agent tokens should be invalidated after first usage.
Alternative
No response
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: