From f779ce276ab3b49422dde7d32b9d331712e384f4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 6 Aug 2020 15:45:44 +0200 Subject: [PATCH] 'keypass' is not required in config if using a HSM --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 2118992a..1f3a483c 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -409,7 +409,7 @@ def assert_config_keystore(config): if 'keystorepass' not in config: nosigningkey = True logging.critical(_("'keystorepass' not found in config.py!")) - if 'keypass' not in config: + if 'keypass' not in config and config.get('keystore') != 'NONE': nosigningkey = True logging.critical(_("'keypass' not found in config.py!")) if nosigningkey: