diff --git a/sigal/plugins/encrypt/encrypt.py b/sigal/plugins/encrypt/encrypt.py index bd94d47..2886400 100644 --- a/sigal/plugins/encrypt/encrypt.py +++ b/sigal/plugins/encrypt/encrypt.py @@ -85,7 +85,8 @@ def get_options(settings, cache): options = settings["encrypt_options"] table = str.maketrans({'"': r'\"', '\\': r'\\'}) - if "password" not in settings["encrypt_options"]: + if "password" not in settings["encrypt_options"] \ + or len(settings["encrypt_options"]["password"]) == 0: logger.error("Encrypt: no password provided") raise Abort else: