switch to enum type to store cipher policy setting

This commit is contained in:
Romuald du Song 2019-02-14 22:49:13 +01:00
parent ec52ded777
commit e8eff87297

View file

@ -39,7 +39,7 @@ DEFAULTS = OrderedDict([
("security.password.admin.strength", {"type": "int", "default": 1}), ("security.password.admin.strength", {"type": "int", "default": 1}),
("security.password.user.strength", {"type": "int", "default": 1}), ("security.password.user.strength", {"type": "int", "default": 1}),
("service.ssh.allow_deprecated_dsa_hostkey", {"type": "bool", "default": False}), ("service.ssh.allow_deprecated_dsa_hostkey", {"type": "bool", "default": False}),
("security.ciphers.compatibility", {"type": "string", "default": "intermediate"}), ("security.ciphers.compatibility", {"type": "enum", "choices": "intermediate", "modern"}),
]) ])