Skip to content

wfe: block accounts from YAML config file#8797

Open
jsha wants to merge 2 commits into
mainfrom
blocked-accounts2
Open

wfe: block accounts from YAML config file#8797
jsha wants to merge 2 commits into
mainfrom
blocked-accounts2

Conversation

@jsha

@jsha jsha commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This allows us to configure a list of accounts to be blocked from newOrder requests, along with a custom message. The message users will see is "Account blocked :: ".

First commit is by @aarongable. I built on that with a light refactoring, addition of a custom error message, and a unittest.

This includes a sample config file that is loaded in test/config-next. However, since we don't have a way to know in advance which account IDs will be created during integration tests, we don't actually exercise the blocking code during integration testing, only in unittests.

@jsha jsha marked this pull request as ready for review June 12, 2026 21:33
@jsha jsha requested a review from a team as a code owner June 12, 2026 21:33
@jsha jsha requested a review from aarongable June 12, 2026 21:33
@github-actions

Copy link
Copy Markdown
Contributor

@jsha, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

@jsha, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@jsha

jsha commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the reminder, bot. I just filed it.

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