Commit graph

634 commits

Author SHA1 Message Date
Jacob Hoffman-Andrews
2b102913ab Apply review feedback.
Also turn raises of bare Exceptions into typed exceptions.
2018-02-14 18:21:54 -08:00
Jacob Hoffman-Andrews
77f7cf2c2e Split up poll_order_and_request_issuance. 2018-02-13 17:25:25 -08:00
Jacob Hoffman-Andrews
2a430bb7a5 Merge branch 'v2-orders' of github.com:certbot/certbot into v2-orders 2018-02-12 18:19:26 -08:00
Jacob Hoffman-Andrews
0649bbaa8f Merge branch 'master' of github.com:certbot/certbot into v2-orders 2018-02-12 18:18:23 -08:00
Eli Young
90664f196f Remove autodocs for long-removed acme.other module (#5529)
This module was removed in 22a9c7e3c2. The
autodocs are therefore unnecessary. Furthermore, they are starting to
cause build failures for Fedora.
2018-02-12 16:43:11 -08:00
ohemorange
d6b247c002 Set ClientNetwork.account after registering (#5558) 2018-02-09 12:54:15 -08:00
Jacob Hoffman-Andrews
94f0d150d2 Use pycryptography. 2018-02-07 17:31:48 -08:00
Jacob Hoffman-Andrews
105ec41257 lint 2018-02-07 17:03:23 -08:00
Jacob Hoffman-Andrews
d7c9cbb278 Update documentation. 2018-02-07 16:53:11 -08:00
Jacob Hoffman-Andrews
9c1c5653db Merge branch 'master' into v2-orders 2018-02-07 16:51:04 -08:00
Jacob Hoffman-Andrews
9baf75d6c8 client.py changes for ACMEv2 (#5287)
* Implement ACMEv2 signing of POST bodies.

* Add account, and make acme_version explicit.

* Remove separate NewAccount.

* Rename to add v2.

* Add terms_of_service_agreed.

* Split out wrap_in_jws_v2 test.

* Re-add too-many-public-methods.

* Split Client into ClientBase / Client / ClientV2

* Use camelCase for newAccount.

* Make acme_version optional parameter on .post().

This allows us to instantiate a ClientNetwork before knowing the version.

* Add kid unconditionally.
2018-02-06 16:45:33 -08:00
Brad Warren
325a97c1ed Bump version to 0.22.0 2018-01-17 15:55:41 -08:00
Brad Warren
bf695d048d
Release 0.21.0 2018-01-17 15:55:29 -08:00
ohemorange
f5a02714cd Add deprecation warning for Python 2.6 (#5391)
* Add deprecation warning for Python 2.6

* Allow disabling Python 2.6 warning
2018-01-09 16:11:04 -08:00
Jacob Hoffman-Andrews
9776175556 Use camelCase for newOrder 2018-01-05 19:03:30 -08:00
Jacob Hoffman-Andrews
244bb188e2 Merge branch 'v2-client' into v2-orders 2018-01-05 19:03:01 -08:00
Jacob Hoffman-Andrews
399a2af6bb Use camelCase for newAccount. 2018-01-05 19:02:52 -08:00
Jacob Hoffman-Andrews
c27bcb83b8 Fix directory fetching. 2018-01-05 18:29:16 -08:00
Jacob Hoffman-Andrews
06a5b2c838 Fix directory fetching. 2018-01-05 18:29:03 -08:00
Jacob Hoffman-Andrews
fb88bf5b06 Close docstring. 2018-01-05 18:21:04 -08:00
Jacob Hoffman-Andrews
5cc4778221 Remove print. 2018-01-05 18:13:19 -08:00
Jacob Hoffman-Andrews
924fbdf84e Fix whitespace. 2018-01-05 18:12:18 -08:00
Jacob Hoffman-Andrews
f0a9b81cf1 Revert camelCase automagic 2018-01-05 18:11:27 -08:00
Jacob Hoffman-Andrews
89a73d6e26 Merge branch 'acme-v2' into v2-orders 2018-01-05 18:07:14 -08:00
Jacob Hoffman-Andrews
80e2ec993a Remove duplicate methods. 2018-01-05 17:57:51 -08:00
Jacob Hoffman-Andrews
c48450c1dc Merge branch 'v2-client' into v2-orders 2018-01-05 17:56:12 -08:00
Jacob Hoffman-Andrews
5c5cd489bc Remove new_account check for coverage. 2018-01-05 15:41:22 -08:00
Jacob Hoffman-Andrews
d17340f23b Split Client into ClientBase / Client / ClientV2 2018-01-05 15:33:54 -08:00
Jacob Hoffman-Andrews
30efbbe457 Merge branch 'master' of github.com:certbot/certbot into v2-client 2018-01-05 14:21:50 -08:00
Jacob Hoffman-Andrews
3e0b3beebd authz -> authzr 2018-01-02 15:45:59 -08:00
Jacob Hoffman-Andrews
8ec6b7c6e2 authz -> authzr 2018-01-02 10:55:06 -08:00
Jacob Hoffman-Andrews
6cf656a68f Merge branch 'master' of github.com:certbot/certbot into acme-v2 2017-12-14 14:28:10 -08:00
Jacob Hoffman-Andrews
ac956eb08d Use camelCase for directory and other identifiers. 2017-12-14 13:26:04 -08:00
Jacob Hoffman-Andrews
37dcbebb1c Implement order finalization. 2017-12-13 18:22:01 -08:00
Jacob Hoffman-Andrews
584bcec337 Add deadline. 2017-12-13 17:41:27 -08:00
Jacob Hoffman-Andrews
40e039176e Move csr initialization. 2017-12-13 17:04:47 -08:00
Jacob Hoffman-Andrews
c751d8ad72 Re-add too-many-public-methods. 2017-12-11 18:03:04 -08:00
Jannis Leidel
2abc94661a Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
Jacob Hoffman-Andrews
f32aa7921f Fix tests. 2017-12-08 19:35:08 -08:00
Jacob Hoffman-Andrews
210009bbfe Review feedback. 2017-12-08 19:28:05 -08:00
Jacob Hoffman-Andrews
540d55c4f8 Add csr. 2017-12-08 19:23:19 -08:00
Noah Swartz
0046428382 print warnings for 3.3 users (#5283)
fix errors
2017-12-08 12:45:04 -08:00
Brad Warren
78d97ca023 Bump version to 0.21.0 2017-12-06 14:52:16 -08:00
Brad Warren
f1554324da
Release 0.20.0 2017-12-06 14:46:55 -08:00
Jacob Hoffman-Andrews
2916ec896c Use identifiers flow, and poll differently. 2017-12-05 22:47:04 -08:00
Jacob Hoffman-Andrews
d9616c44f4 Remove noisy print. 2017-12-05 15:59:56 -08:00
Jacob Hoffman-Andrews
6a8906509f Merge branch 'master' into acme-v2 2017-12-05 14:58:56 -08:00
Brad Warren
62c1112d10 Keep the same behavior with the uri attribute 2017-12-05 10:26:32 -08:00
Jacob Hoffman-Andrews
8c4f016b2d In ACMEv2, challenges have "url" instead of "uri". To handle this smoothly, Challenge's uri field becomes private (_uri), and is joined by _url. Serialization and deserialization will preserve whichever one was set. The uri name is taken over by an @property that returns whichever of the two is set. I chose not to enforce that they shouldn't both be present because it would just add unnecessary code and brittleness with no stability benefit.
* Make url a virtual field.

* Add @property annotation.
2017-12-04 20:51:19 -08:00
Jacob Hoffman-Andrews
abc78641ea Fix syntax 2017-12-04 14:43:01 -08:00