'keypass' is not required in config if using a HSM

This commit is contained in:
Hans-Christoph Steiner 2020-08-06 15:45:44 +02:00
parent d213c8b37c
commit f779ce276a
1 changed files with 1 additions and 1 deletions

View File

@ -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: