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
1 changed files with 2 additions and 1 deletions

View File

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