184 Commits

Author SHA1 Message Date
Peter Cooper Jr.
0d20643826 Handle case where the returned auth is already valid
At least for Buypass, if one already has previously validated an authorization on that ACME account for a requested domain name, the initial status when created is "valid". However, the code was trying to submit the challenge for validation anyway, causing the server to return "status:400 Unable to process challenge, authorization is not pending". So, if the initial status is valid, it should just proceed rather than trying to process the challenge again.
I'm not sure if this is exactly the best way to write this, but it seems to work for me on both Let's Encrypt and Buypass.
2024-06-06 08:31:50 -04:00
Sam Lord
45fd6962f2 3.1.1 v3.1.1 2021-05-24 11:05:49 +01:00
Sam Lord
829d34f60a
Merge pull request #1 from sam-lord/master
Bug fix: Polling status using POST-as-GET wherever possible
2021-05-24 11:01:15 +01:00
Sam Lord
0aa939a227 Bug fix: Polling status using POST-as-GET wherever possible
Avoid repeating finalize POST request and challenge POST requests by
using POST-as-GET requests instead. Allows for testing with Pebble,
and more correctly follows the spec.
2021-04-08 14:19:33 +01:00
bef931f28f 3.1.0 2020-07-28 16:03:07 -06:00
eb432571ca Bugfix jwk / kid mutually exclusive
See https://git.rootprojects.org/root/greenlock-express.js/issues/38
2020-07-28 16:02:45 -06:00
29a47e8fa4 make Prettier v2 2020-07-28 15:53:50 -06:00
87e3555a5a v3.0.10: fix CSR package dep, add maintainer timeout v3.0.10 2020-04-21 00:05:45 -06:00
569c922eb0 add timeout to maintainer request 2020-04-21 00:04:47 -06:00
d10482697b move @root/csr to regular dependencies a la https://git.rootprojects.org/root/acme.js/issues/3 2020-04-21 00:02:10 -06:00
aa324e2a29 v3.0.9: bugfix error handling v3.0.9 2020-01-10 16:55:44 -07:00
e8c46db062 Update README 2019-10-30 18:27:11 -06:00
AJ ONeal
6352961fea v3.0.8: bump for parity with git tag v3.0.8 2019-10-29 05:02:58 +00:00
333605d9b8 v3.0.7: private notify function v3.0.7 2019-10-28 20:51:03 -06:00
86068fe015 v3.0.6: minor updates for greenlock v3.0.6 2019-10-28 03:21:15 -06:00
cf0ee1c064 logging fixes 2019-10-28 02:26:27 -06:00
606dcf3c4f typo fix 2019-10-27 03:58:22 -06:00
0803517711 typo fix 2019-10-27 03:07:19 -06:00
0b91d9a26d add https sni example 2019-10-27 00:55:40 -06:00
0743aa5280 typo fix 2019-10-26 11:24:01 -06:00
e388bc31bc v3.0.5: npm bump for docs v3.0.5 2019-10-26 00:45:19 -06:00
754c623cd1 v3.0.4: update docs v3.0.4 2019-10-26 00:41:15 -06:00
0107bc1d1f highlight example more 2019-10-26 00:33:10 -06:00
293d950d8c highlight example 2019-10-26 00:32:20 -06:00
d6a3a7939b typo fix html 2019-10-26 00:30:13 -06:00
fcbffdc0f9 update readme 2019-10-26 00:23:12 -06:00
e447d71112 TODO 2019-10-26 00:13:48 -06:00
5490f858d9 v3.0.2: add missing dirs v3.0.2 2019-10-26 00:12:14 -06:00
a99a0cc211 v3.0.1: documented + examples v3.0.1 2019-10-26 00:03:43 -06:00
e0bec09e43 v3.0.0: at last! 2019-10-25 05:20:44 -06:00
148846b18a silence! 2019-10-25 04:57:09 -06:00
b1c591b6ed make prettier 2019-10-25 04:55:03 -06:00
4e7ff0d9e8 add maintainer notices 2019-10-25 04:54:54 -06:00
b39a3763cf request cleanup 2019-10-25 04:54:40 -06:00
54cda5a888 use correct version in UA 2019-10-24 18:53:08 -06:00
90c7154a24 API and test cleanup 2019-10-24 18:49:42 -06:00
161e9183c6 add User-Agent string as per RFC 8555 and RFC 7231 2019-10-24 18:48:34 -06:00
7f868f350b remove cruft 2019-10-24 18:48:25 -06:00
30f4306c05 add request/response examples 2019-10-24 18:45:51 -06:00
0efa94eeb0 update API and tests 2019-10-24 11:39:25 -06:00
f05e9db38e backport all the things 2019-10-23 01:44:55 -06:00
7e6a66c1d8 update docs 2019-10-22 20:02:30 -06:00
b1046222dc backports: POST-as-GET, error handling, etc 2019-10-22 19:50:08 -06:00
d25fa6756c remove cruft 2019-10-21 17:03:26 -06:00
c89e5b7882 remove cruft 2019-10-21 16:32:02 -06:00
4b79b0bb3a nix Bluecrypt branding 2019-10-21 15:23:36 -06:00
ad42d34587 merge unrelated v2 (historical) and v3 (new from scratch) 2019-10-21 15:22:07 -06:00
d7b3e2e1db remove v2 before awkward merging of v3 2019-10-21 13:59:58 -06:00
f363f5ef02 bugfix missing prop 2019-10-21 13:53:50 -06:00
1f2169c78c remove cruft 2019-10-21 13:51:45 -06:00