Validate keyring type config parameter on daemon startup

This commit is contained in:
Piotr F. Mieszkowski 2023-10-27 23:53:17 +02:00
parent 3dd6913599
commit 02edb4cc96

View file

@ -20,7 +20,8 @@ MANDATORY_CONFIG_ITEMS = [("relay", "host"),
("relay", "port"), ("relay", "port"),
("daemon", "host"), ("daemon", "host"),
("daemon", "port"), ("daemon", "port"),
("gpg", "keyhome")] ("gpg", "keyhome"),
("keyring", "type")]
# Global dict to keep configuration parameters. It's hidden behind several # Global dict to keep configuration parameters. It's hidden behind several
# utility functions to make it easy to replace it with ConfigParser object in # utility functions to make it easy to replace it with ConfigParser object in