Home
last modified time | relevance | path

Searched refs:achalls (Results 1 – 20 of 20) sorted by relevance

/dports/security/py-certbot-apache/certbot-apache-1.22.0/tests/
H A Dhttp_01_test.py38 self.achalls.append(
93 achalls = [
109 achalls = [
120 achalls = [
131 achalls = [
141 for achall in self.achalls:
166 achalls = [
181 achalls = self.achalls[:num_achalls]
190 for achall in achalls:
201 for achall in achalls:
[all …]
H A Dconfigurator_test.py759 account_key, achalls = self.get_key_and_achalls()
761 expected = [achall.response(account_key) for achall in achalls]
764 responses = self.config.perform(achalls)
775 _, achalls = self.get_key_and_achalls()
777 for achall in achalls:
780 for i, achall in enumerate(achalls):
782 if i == len(achalls) - 1:
791 _, achalls = self.get_key_and_achalls()
794 for achall in achalls:
797 self.config.cleanup([achalls[-1]])
[all …]
/dports/security/py-certbot/certbot-1.22.0/tests/plugins/
H A Dmanual_test.py31 self.achalls = [self.http_achall, self.dns_achall, self.dns_achall_2]
79 ','.join(achall.domain for achall in self.achalls),
80 len(self.achalls) - self.achalls.index(self.dns_achall) - 1)
84 ','.join(achall.domain for achall in self.achalls),
85 len(self.achalls) - self.achalls.index(self.http_achall) - 1)
88 self.auth.perform(self.achalls),
89 [achall.response(achall.account_key) for achall in self.achalls])
105 self.auth.perform(self.achalls),
110 achall = self.achalls[i]
118 self.auth.perform(self.achalls)
[all …]
H A Dstandalone_test.py102 achalls = self._get_achalls()
103 response = self.auth.perform(achalls)
105 expected = [achall.response(achall.account_key) for achall in achalls]
H A Dcommon_test.py288 self.assertEqual(1, len(self.performer.achalls))
/dports/security/py-certbot/certbot-1.22.0/certbot/_internal/
H A Dauth_handler.py77 achalls = self._choose_challenges(authzrs)
78 if not achalls:
85 resps = self.auth.perform(achalls)
100 for achall, resp in zip(achalls, resps):
223 achalls: List[achallenges.AnnotatedChallenge] = []
240 return achalls
272 self.auth.cleanup(achalls)
291 achalls = []
295 achalls.append(challb_to_achall(
298 return achalls
[all …]
/dports/security/py-certbot/certbot-1.22.0/certbot/_internal/plugins/
H A Dmanual.py175 def perform(self, achalls: List[achallenges.AnnotatedChallenge]
179 for i, achall in enumerate(achalls):
182 for i, achall in enumerate(achalls):
184 self._perform_achall_with_script(achall, achalls)
191 achalls: List[achallenges.AnnotatedChallenge]) -> None:
194 CERTBOT_ALL_DOMAINS=','.join(one_achall.domain for one_achall in achalls),
195 CERTBOT_REMAINING_CHALLENGES=str(len(achalls) - achalls.index(achall) - 1))
237 …def cleanup(self, achalls: Iterable[achallenges.AnnotatedChallenge]) -> None: # pylint: disable=m…
239 for achall in achalls:
H A Dwebroot.py108 …def perform(self, achalls: Iterable[AnnotatedChallenge]) -> List[challenges.ChallengeResponse]: #…
109 self._set_webroots(achalls)
113 return [self._perform_single(achall) for achall in achalls]
115 def _set_webroots(self, achalls: Iterable[AnnotatedChallenge]) -> None:
120 for achall in achalls:
124 for achall in achalls:
260 …def cleanup(self, achalls: Iterable[AnnotatedChallenge]) -> None: # pylint: disable=missing-funct…
261 for achall in achalls:
H A Dstandalone.py160 def perform(self, achalls: Iterable[achallenges.AnnotatedChallenge]
162 return [self._try_perform_single(achall) for achall in achalls]
190 …def cleanup(self, achalls: Iterable[achallenges.AnnotatedChallenge]) -> None: # pylint: disable=m…
193 for achall in achalls:
/dports/security/py-certbot-nginx/certbot-nginx-1.22.0/tests/
H A Dhttp_01_test.py24 achalls = [ variable in HttpPerformTest
68 self.http01.add_chall(self.achalls[0])
69 response = self.achalls[0].response(self.account_key)
78 for achall in self.achalls:
89 self.http01.add_chall(self.achalls[0])
90 self.http01.add_chall(self.achalls[2])
116 self.http01.add_chall(self.achalls[3]) # migration.com
127 self.http01.add_chall(self.achalls[4]) # ipv6ssl.com
/dports/security/py-certbot-dns-route53/certbot-dns-route53-1.22.0/certbot_dns_route53/_internal/
H A Ddns_route53.py49 def perform(self, achalls): argument
57 for achall in achalls
65 return [achall.response(achall.account_key) for achall in achalls]
/dports/security/py-certbot-nginx/certbot-nginx-1.22.0/certbot_nginx/_internal/
H A Dhttp_01.py56 if not self.achalls:
59 responses = [x.response(x.account_key) for x in self.achalls]
105 config = [self._make_or_mod_server_block(achall) for achall in self.achalls]
H A Dconfigurator.py1157 def perform(self, achalls): argument
1165 self._chall_out += len(achalls)
1166 responses = [None] * len(achalls)
1169 for i, achall in enumerate(achalls):
1189 def cleanup(self, achalls): argument
1191 self._chall_out -= len(achalls)
/dports/security/py-certbot/certbot-1.22.0/certbot/plugins/
H A Ddns_common.py64 def perform(self, achalls: List[achallenges.AnnotatedChallenge]
71 for achall in achalls:
88 …def cleanup(self, achalls: List[achallenges.AnnotatedChallenge]) -> None: # pylint: disable=missi…
90 for achall in achalls:
H A Dcommon.py359 self.achalls: List[achallenges.KeyAuthorizationAnnotatedChallenge] = []
371 self.achalls.append(achall)
/dports/security/py-certbot-apache/certbot-apache-1.22.0/certbot_apache/_internal/
H A Dhttp_01.py69 if not self.achalls:
105 for chall in self.achalls:
196 for achall in self.achalls:
H A Dconfigurator.py2512 def perform(self, achalls): argument
2520 self._chall_out.update(achalls)
2521 responses = [None] * len(achalls)
2524 for i, achall in enumerate(achalls):
2552 def cleanup(self, achalls): argument
2554 self._chall_out.difference_update(achalls)
/dports/security/py-certbot/certbot-1.22.0/certbot/
H A Dinterfaces.py198 def perform(self, achalls: List[AnnotatedChallenge]) -> List[ChallengeResponse]:
219 def cleanup(self, achalls: List[AnnotatedChallenge]) -> None:
/dports/security/py-certbot/certbot-1.22.0/tests/
H A Dauth_handler_test.py38 achalls = self.handler._challenge_factory(
42 [achall.chall for achall in achalls], acme_util.CHALLENGES)
45 achalls = self.handler._challenge_factory(self.authzr, [0])
48 [achall.chall for achall in achalls], [acme_util.HTTP01])
/dports/security/py-certbot/certbot-1.22.0/docs/
H A Dcontributing.rst259 An Authenticator must also implement `perform(achalls)`, which "performs" a list
262 Certbot will call the plugin's `cleanup(achalls)` method to remove any files or