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
  • Loading branch information
cfm committed Jun 11, 2024
1 parent 9fd6f7e commit f298448
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",
"On the Source Interface, enable Tor's proof-of-work defense against "
"denial-of-service attacks?",
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)",
"On the Source Interface, enable HTTPS? (Requires EV certificate.)",
SiteConfig.ValidateYesNo(),
lambda x: x.lower() == "yes",
lambda config: True,
Expand Down

0 comments on commit f298448

Please sign in to comment.