From b0600483fd25e0c054713c324bfeddf106e7e98b Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 18 Apr 2017 18:18:56 +0000 Subject: [PATCH] interface: IConfig is missing fields used in client.py (#4453) Signed-off-by: Arthur Gautier --- certbot/interfaces.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/certbot/interfaces.py b/certbot/interfaces.py index 213992993..b75c2a44f 100644 --- a/certbot/interfaces.py +++ b/certbot/interfaces.py @@ -235,6 +235,22 @@ class IConfig(zope.interface.Interface): "This only affects the port Certbot listens on. " "A conforming ACME server will still attempt to connect on port 80.") + pref_challs = zope.interface.Attribute( + "Sorted user specified preferred challenges" + "type strings with the most preferred challenge listed first") + + allow_subset_of_names = zope.interface.Attribute( + "When performing domain validation, do not consider it a failure " + "if authorizations can not be obtained for a strict subset of " + "the requested domains. This may be useful for allowing renewals for " + "multiple domains to succeed even if some domains no longer point " + "at this system. This is a boolean") + + strict_permissions = zope.interface.Attribute( + "Require that all configuration files are owned by the current " + "user; only needed if your config is somewhere unsafe like /tmp/." + "This is a boolean") + class IInstaller(IPlugin): """Generic Certbot Installer Interface.