1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Commit Graph

242 Commits

Author SHA1 Message Date
bmw
e2e2a29dee Merge pull request #1635 from kuba/poll_and_request-timeout
poll_and_ri: handle STATUS_INVALID, add max_attempts (fixes #1634)
2015-11-30 16:36:24 -08:00
Jakub Warmuz
218379c2be poll_and_ri: handle STATUS_INVALID, add max_attempts (fixes #1634) 2015-11-29 09:26:03 +00:00
Peter Eckersley
43fdb8977f Merge pull request #1413 from kuba/acme-custom-errors
Custom acme.messages.Error (fixes #946).
2015-11-28 02:06:36 -08:00
Brad Warren
b2ca861a27 Revert "Quikfix"
This reverts commit a97a702210.
2015-11-25 09:44:28 -05:00
Brad Warren
a97a702210 Quikfix 2015-11-24 16:04:00 -05:00
Patrick Figel
c175ff955e Remove Content-Type checks from http-01
Content-Type type restrictions were removed in ACME, see
69ac2baade

fixes #1595
2015-11-24 09:54:33 +01:00
Patrick Figel
2bc0c31f2e Trim trailing whitespace during challenge self-verification
fixes #1322
2015-11-21 08:59:35 +01:00
Peter Eckersley
ca05b35a24 Merge pull request #1412 from kuba/pep8
pep8 love
2015-11-12 00:29:15 -08:00
Rémy Léone
e64149cae8 Redeclared names without usage 2015-11-11 13:27:09 +01:00
Jakub Warmuz
0dbb235961 Merge remote-tracking branch 'github/letsencrypt/master' into acme-standalone-log 2015-11-08 06:51:34 +00:00
Jakub Warmuz
c18f0b7073 Add rtype docs 2015-11-08 06:34:28 +00:00
Jakub Warmuz
37574e60e1 hexdigest lower() 2015-11-08 06:29:48 +00:00
Jakub Warmuz
8208470395 More docs about ports 2015-11-08 06:26:22 +00:00
Jakub Warmuz
6d32c2e5a4 Rename DVSNIRequestHandler to BaseRequestHandlerWithLogging. 2015-11-07 23:00:43 +00:00
Jakub Warmuz
1f6f6a7451 Logging in HTTP01RequestHandler: more and not to sys.stderr. 2015-11-07 22:57:39 +00:00
Jakub Warmuz
465efc9601 Custom acme.messages.Error (fixes #946). 2015-11-07 20:01:29 +00:00
Jakub Warmuz
d0a2b38457 pep8 for docs/conf.py 2015-11-07 19:36:08 +00:00
Jakub Warmuz
bbb7606fe1 Kill dvsni in acme 2015-11-07 18:35:41 +00:00
Jakub Warmuz
2266baf775 Renames around DVSNIServer 2015-11-07 18:24:17 +00:00
Jakub Warmuz
b864c77b62 Add tls-sni-01 to acme 2015-11-07 14:24:43 +00:00
Jakub Warmuz
c805ebc2bf Use KEY in DVSNI tests 2015-11-07 14:24:43 +00:00
Jakub Warmuz
3a5f7a026b Fix old reference to SimpleHTTP 2015-11-07 14:24:43 +00:00
Jakub Warmuz
dc60cdbc7d User-Agent support in acme (default: acme-python, fixes #1351).
In order to override the default (`acme-python`), clients (including
Let's Encrypt: #858, #1397) should create a custom
acme.clietn.ClientNetwork object and pass it to
acme.client.Client.__init__.
2015-11-07 08:55:54 +00:00
Brad Warren
3532404705 Nit fix 2015-11-02 17:18:44 -08:00
Jakub Warmuz
99c5c2034f Revert "Quickfix for misterious abstract-class-little-used"
This reverts commit 01bc073111.
2015-11-01 11:19:35 +00:00
Jakub Warmuz
44adeadf1b Merge remote-tracking branch 'github/letsencrypt/master' into http-01 2015-11-01 11:09:59 +00:00
Jakub Warmuz
1d36a15ab7 Kill simpleHttp in acme 2015-11-01 11:01:22 +00:00
Jakub Warmuz
ea3611afe6 http-01 for standalone 2015-11-01 11:01:22 +00:00
Jakub Warmuz
01bc073111 Quickfix for misterious abstract-class-little-used 2015-11-01 11:01:22 +00:00
Jakub Warmuz
602f0b2dbe Add http-01 to acme 2015-11-01 11:01:22 +00:00
Jakub Warmuz
d2c5b87b95 Fix documentation for account{,_public}_key docs in acme.challenges.
account_key and account_public_key are JWK, not ComparableKey.
2015-10-31 19:50:10 +00:00
Jakub Warmuz
dc81575527 Factor out _TokenDVChallenge. 2015-10-31 19:50:10 +00:00
Jakub Warmuz
f8185c1913 Add Python 2.6 setup.py classifiers. 2015-10-31 11:47:25 +00:00
bmw
c8999f86a1 Merge pull request #1200 from kuba/bugs/1085
Remove serve_forever2/shutdown2 (reduces probability of #1085).
2015-10-29 18:20:36 -07:00
bmw
971fa153ea Merge pull request #1169 from kuba/acme-example-client
Update ACME example client
2015-10-29 16:27:44 -07:00
bmw
d23a7fd40d Merge pull request #1203 from kuba/offline-unittests2
Offline unittest v2.
2015-10-29 15:45:48 -07:00
Jakub Warmuz
4cc0610679 Remove serve_forever2/shutdown2 (reduces probability of #1085).
I'm not even sure why `serve_forever2` and `shutdown2` were introduced
in the first place... It probably follows from my misconception about
the SocketServer module. After having studied the module again, I come
to the conclusion that we can get rid of my crap, simultanously
reducing probability of #1085 (hopefully down to 0)!

`server_forever` is used throughout tests instead of `handle_request`,
because `shutdown`, following docs, "must be called while
serve_forever() is running in another thread, or it will deadlock",
and our `probe_sni` HTTP request is already enough to kill single
`handle_request`.

We don't need to use any busy waiting block or `sleep` between serve
and shutdown; studying CPython source code leads to the conclusion
that the following construction is non-blocking:

```python
import threading, SocketServer
s = SocketServer.TCPServer(("", 0), None)
t = threading.Thread(target=s.shutdown)
t.start()
s.serve_forever()  # returns immediately
t.join()  # returns immediately
```
2015-10-29 21:02:21 +00:00
Jakub Warmuz
c3fbed1f81 Offline unittest v2.
Supersedes https://github.com/letsencrypt/letsencrypt/pull/1183.
2015-10-29 08:19:54 +00:00
Jakub Warmuz
d5a5224dbd No newlines in JWK thumbprint (fixes #1165) 2015-10-28 08:20:58 +00:00
Jakub Warmuz
323f9a10a1 Update example ACME client to work with Boulder 2015-10-28 07:27:52 +00:00
Jakub Warmuz
f42515ebe4 Include example ACME client in docs 2015-10-28 07:16:40 +00:00
Jakub Warmuz
e8cfedb34d Move example ACME client to acme subpkg 2015-10-28 07:10:53 +00:00
Till Maas
e5f06bacbd Add missing newline to standalone README 2015-10-27 20:12:34 +01:00
Jakub Warmuz
cd07d3aa27 MANIFEST: include examples dir for acme 2015-10-24 13:39:38 +00:00
Jakub Warmuz
3202f35a90 Merge remote-tracking branch 'github/letsencrypt/master' into py2.6-3 2015-10-22 05:42:01 +00:00
Jakub Warmuz
ca464c25fb Split JOSE API docs 2015-10-21 17:06:36 -07:00
Jakub Warmuz
5b757bdff2 Split ACME API docs 2015-10-21 17:06:36 -07:00
Jakub Warmuz
fe49889b16 Per subpkg requirements.txt for RTD 2015-10-21 17:06:36 -07:00
Jakub Warmuz
f922b9b694 Split docs into subpkgs (fixes #969) 2015-10-21 17:06:36 -07:00
Jakub Warmuz
946ee63238 docs_extra for subpkgs 2015-10-21 17:06:36 -07:00