1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00
Files
certbot/certbot
ohemorange d467a4ae95 Add mechanism to detect acme version (#5554)
Detects acme version by checking for newNonce field in the directory, since it's mandatory. Also updates ClientNetwork.account on register and update_registration.

* add mechanism to detect acme version

* update ClientNetwork.account comment

* switch to MultiVersionClient object in acme

* add shim methods

* add returns

* use backwards-compatible format and implement register

* update to actual representation of tos v2

* add tos fields and pass through to v1 for partial updates

* update tests

* pass more tests

* allow instance variable pass-through and lint

* update certbot and tests to use new_account_and_tos method

* remove --agree-tos test from main_test for now because we moved the callback into acme

* add docstrings

* use hasattr

* all most review comments

* use terms_of_service for both v1 and v2

* add tests for acme/client.py

* tests for acme/messages.py
2018-02-15 19:04:17 -08:00
..
2018-01-17 15:55:41 -08:00
2016-04-13 16:03:59 -07:00
2018-02-14 09:28:36 -08:00
2017-10-03 13:52:02 -07:00
2017-02-01 18:37:59 -08:00
2017-10-03 16:36:26 -07:00
2017-10-03 13:52:02 -07:00
2017-05-01 14:49:12 -07:00
2016-04-13 16:13:50 -07:00