From 1bb823e63e623a911317664c234c0dabfeb60e57 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Fri, 4 Oct 2024 12:47:11 +0200 Subject: [PATCH] fix: don't require a secret for http handler lol --- nyacme/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyacme/config.py b/nyacme/config.py index f251660..bdd7606 100644 --- a/nyacme/config.py +++ b/nyacme/config.py @@ -131,7 +131,7 @@ def read_config(path: str | None) -> Config: # fill default secrets for domain in c.domains: info = c.domains[domain] - if info.secret is None: + if info.secret is None and info.handler != "http": if info.handler not in secrets: raise KeyError(f'"{info.handler}" not in secrets') info.secret = secrets[info.handler]