mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:19:11 +02:00
certbot: demote manual's preference for dns-persist-01
This'll avoid breaking things for users relying on http-01's most-preferred status.
This commit is contained in:
@@ -171,7 +171,7 @@ permitted by DNS standards.)
|
||||
|
||||
def get_chall_pref(self, identifier: str) -> Iterable[type[challenges.Challenge]]:
|
||||
# pylint: disable=unused-argument,missing-function-docstring
|
||||
return [challenges.DNSPersist01, challenges.HTTP01, challenges.DNS01]
|
||||
return [challenges.HTTP01, challenges.DNS01, challenges.DNSPersist01]
|
||||
|
||||
def perform(self, achalls: list[achallenges.AnnotatedChallenge]
|
||||
) -> list[challenges.ChallengeResponse]: # pylint: disable=missing-function-docstring
|
||||
|
||||
@@ -74,7 +74,7 @@ class AuthenticatorTest(test_util.TempDirTestCase):
|
||||
|
||||
def test_get_chall_pref(self):
|
||||
assert self.auth.get_chall_pref('example.org') == \
|
||||
[challenges.DNSPersist01, challenges.HTTP01, challenges.DNS01]
|
||||
[challenges.HTTP01, challenges.DNS01, challenges.DNSPersist01]
|
||||
|
||||
def test_script_perform(self):
|
||||
self.config.manual_auth_hook = (
|
||||
|
||||
Reference in New Issue
Block a user