Skip to content

Commit

Permalink
chore(SiteConfig): clarify settings scoped to the Source Interface
Browse files Browse the repository at this point in the history
- #7175 (comment)
- #7175 (comment)

(cherry picked from commit b253e16)
  • Loading branch information
cfm authored and zenmonkeykstop committed Jun 13, 2024
1 parent ed554f6 commit c266ff2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin/securedrop_admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ def __init__(self, args: argparse.Namespace) -> None:
"securedrop_app_pow_on_source_interface",
True,
bool,
"Whether Tor proof of work should be enabled on Source Interface",
"Enable Tor's proof-of-work defense against denial-of-service attacks for the "
"Source Interface?",
SiteConfig.ValidateYesNo(),
lambda x: x.lower() == "yes",
lambda config: True,
Expand All @@ -388,7 +389,7 @@ def __init__(self, args: argparse.Namespace) -> None:
"securedrop_app_https_on_source_interface",
False,
bool,
"Whether HTTPS should be enabled on " + "Source Interface (requires EV cert)",
"Enable HTTPS for the Source Interface (requires EV certificate)?",
SiteConfig.ValidateYesNo(),
lambda x: x.lower() == "yes",
lambda config: True,
Expand Down

0 comments on commit c266ff2

Please sign in to comment.