Commit Graph
21 Commits
Author SHA1 Message Date
peterbakker 1d1797ded5 applied getOption
psr2 formatting
2022-02-18 16:09:56 +01:00
Rob Desilets d5827cb970 Fixed bug where it was not properly referencing config 2022-02-17 09:09:41 -06:00
Rob Desilets bd83867dcf Add ability to set custom key length 2022-02-10 15:05:18 -06:00
Rob Desilets 22a2fcb2ea Update to work with Flysystem 2.0 or 3.0 2022-02-10 14:18:06 -06:00
Tom Maaswinkel 7284608c2f Don't sleep when validation succesfull
Currently the validate function will always sleep, even if the validation was succesfull. Sleeping is only needed when we need to retry.
2020-09-08 11:36:29 +02:00
peterbakker 14abfe81bd styling fixes 2020-07-03 17:27:42 +02:00
peterbakker 25f6660e18 set curl_interface based on source ip only 2020-07-03 17:26:06 +02:00
peterbakker 660bf6b961 formatting & minor optimalisation for getOption 2020-07-02 14:14:13 +02:00
AlexNodex 98a72a50ac Update Client.php
Added source_ip as a config option
2020-06-29 13:20:40 +01:00
peterbakker 32b9d432db naming changes
readme update
2020-04-28 20:38:51 +02:00
peterbakker fae8ff885c Only sleep if there is work to do 2020-03-19 20:01:45 +01:00
peterbakker 6455a33db1 changed backoff factor for DNS validation 2020-03-19 19:41:20 +01:00
peterbakker 98d07ff83c added dns support 2020-03-18 21:05:04 +01:00
peterbakker 505ce369e5 Merge branch 'lordelph-master'
# Conflicts:
#	src/Data/Authorization.php
2020-03-18 19:57:43 +01:00
peterbakker b7ff268e4e Improved http validation with exponential backoff
Added documentation
Simplified HTTP validation flow (no longer need challenge to get file contents)
Updated README.md
2020-03-18 19:31:57 +01:00
Paul Dixon eec278cdd1 fix erroneous loop and status check (also suggested by mgilfillan) 2020-03-17 18:28:42 +00:00
Paul Dixon c2532e0dab add support for DNS validation
- new constant Client::VALIDATION_DNS
- added Authorization::getDnsChallenge to get the challenge
- added Authorization::getTxtRecord to get the TXT record value
- added Helper::waitForDNS to provide an easy way to wait for changes
- updated documentation to illustrate DNS validation
2020-03-17 18:27:27 +00:00
Mike Gilfillan 6b55f256ae Fix incorrect comparison when auto-retrying authorization
Previously only 1 attempt to authorize would be made
2020-03-03 15:56:42 +00:00
Mike Gilfillan f1d31dee88 Check the authorization status is "valid" rather than "ready"
According to https://tools.ietf.org/html/rfc8555#section-7.1.4 the
status of an authorization object can only be "pending", "valid", or
"revoked".

An order can have a status of "ready" but never an authorization.
2020-03-03 15:45:02 +00:00
peterbakker 4c7b6b8e60 Updated the namespace to Acme 2020-02-13 09:04:16 +01:00
peterbakker 5a35b6af35 Initial commit 2020-02-13 08:55:12 +01:00