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

Added bypass for retrieving the turnstile secrets. #2531

Closed
wants to merge 1 commit into from

Conversation

joshuastegmaier
Copy link
Collaborator

Also a couple of changes I meant to make earlier:
Moved turnstile context processor to its own file.
Removed redundant/unused context processor

The try/except/pass block is a possible security issue because it can hide errors caused by an attack, but in this case I just bypassed the Bandit test for it since it is a temporary measure (and I believe with this usage it wouldn't actually be a potential security risk anyway). The fix would be catch the specific exceptions being raised, but those are just normal Exceptions anyway, so that would require rewriting the secrets code to raise different exceptions.

…ntext processor to its own file. Removed redundant/unused context processor
@joshuastegmaier joshuastegmaier marked this pull request as ready for review September 19, 2024 12:49
@joshuastegmaier
Copy link
Collaborator Author

We don't need this anymore since the secrets permissions have been updated.

@joshuastegmaier joshuastegmaier deleted the CONCD-934-jstegmaier-secret-skip branch September 25, 2024 17:33
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.

1 participant