Commit Graph
3675 Commits
Author SHA1 Message Date
Jakub Warmuz 44adeadf1b Merge remote-tracking branch 'github/letsencrypt/master' into http-01 2015-11-01 11:09:59 +00:00
Jakub Warmuz 23d3c3b1e2 Rename --simple-http-port to --http-01-port 2015-11-01 11:01:23 +00:00
Jakub Warmuz 1d36a15ab7 Kill simpleHttp in acme 2015-11-01 11:01:22 +00:00
Jakub Warmuz 063544817b Kill simplehttp apache/nginx 2015-11-01 11:01:22 +00:00
Jakub Warmuz 581a701cd1 Kill simpleHttp in core 2015-11-01 11:01:22 +00:00
Jakub Warmuz 8d913b42c5 Remove auth_handler_test.TRANSLATE 2015-11-01 11:01:22 +00:00
Jakub Warmuz e62490c051 http-01 for webroot 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 fd209eab66 http-01 for manual plugin 2015-11-01 11:01:22 +00:00
Jakub Warmuz 5ef2507b0c KeyAuthorizationAnnotatedChallenge 2015-11-01 11:01:22 +00:00
Jakub Warmuz bb0843b6c6 acme_util.HTTP01* 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
bmw 66838c9887 Merge pull request #1265 from mbrugger/patch-1
Only works for me with port 80 and 443 forwarded
2015-10-31 18:34:32 -07:00
bmw 6df9f7ed44 Merge pull request #1263 from kuba/fix-manual-indentation
Fix manual plugin __doc__ indentation
2015-10-31 18:32:42 -07:00
bmw e490ce702e Merge pull request #1255 from kuba/random-fixes
Random fixes
2015-10-31 17:53:14 -07: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
Martin Brugger 3c2ea0c878 Only works for me with port 80 and 443 forwarded
For the docker client to work correctly I needed to forward both ports 443 and 80. I will take a closer look on how this is supposed to work.
2015-10-31 20:09:04 +01:00
Jakub Warmuz fb736135c5 Fix manual plugin __doc__ indentantion 2015-10-31 18:24:32 +00:00
Jakub Warmuz bd3d373d99 Fix docs for deps.sh 2015-10-31 11:48:33 +00:00
Jakub Warmuz d5a2c7fa18 We don't use lsb-release any more 2015-10-31 11:48:19 +00:00
Jakub Warmuz f8185c1913 Add Python 2.6 setup.py classifiers. 2015-10-31 11:47:25 +00:00
bmw c39bc12b18 Merge pull request #1238 from devnsec-com/pr5
Use `printf` instead of `echo -n` for better portability
2015-10-30 17:04:12 -07:00
bmw b36be129b6 Merge pull request #1226 from SwartzCr/issue_809
Apache with more than one vhost (fixes #809)
2015-10-30 16:48:33 -07:00
Peter Eckersley 3a99c7b333 Merge pull request #1221 from cheba/gentoo-bootstrap
Gentoo bootstrapping
2015-10-30 16:42:46 -07:00
Dev & Sec 69365a7a06 fix drop quotes issue 2015-10-30 23:27:16 +00:00
bmw 2b23eaf8e3 Merge pull request #1210 from grawity/arch-deps
bootstrap: use a proper dependency test for Arch
2015-10-30 16:10:46 -07:00
Dev & Sec d5ccbdbcd2 use printf instead of echo -n for better portability 2015-10-30 22:54:10 +00:00
Peter Eckersley 1f6851d417 Merge pull request #1218 from stevedesmond-ca/master
improved language consistency in error/help messages
2015-10-30 15:48:55 -07:00
bmw 1e8586ea83 Merge pull request #1229 from letsencrypt/fix_install
Fix install
2015-10-30 15:13:51 -07:00
bmw 4998f329a5 Merge pull request #1228 from kuba/bugs/1217
Docs: --a -> -a (fixes #1217)
2015-10-30 14:39:37 -07:00
Brad Warren 4e62a4bfe2 fixes #1227 2015-10-30 13:54:46 -07:00
Jakub Warmuz 20ae2debe4 Docs: --a -> -a (fixes #1217) 2015-10-30 20:50:55 +00:00
Noah Swartz fbd09ddbf6 added interesticial saves to apache changes which fixed bug when multiple vhosts were specified 2015-10-30 13:24:55 -07:00
Peter Eckersley 3a8d14130f Merge pull request #1219 from stevedesmond-ca/patch-1
add "--" to CLI arg for consistency
2015-10-30 13:21:22 -07:00
Alexander Mankuta 537fcf581c Add Gentoo bootstrapping
Includes support for all three major package managers.
2015-10-30 21:51:49 +02:00
Steve Desmond 40706e2947 add "--" to CLI arg for consistency 2015-10-30 14:52:36 -04:00
Steve Desmond edabce9a96 improved language consistency in error/help messages 2015-10-30 14:47:23 -04:00
Mantas Mikulėnas 724d06eec5 bootstrap: use a proper dependency test for Arch
`pacman -T` exists for this exact purpose; it respects provides without
having to manually code them into the script.
2015-10-30 17:11:55 +02: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 90699d16f9 Merge pull request #1139 from letsencrypt/new-verbs
New verbs && plugin help changes if the plugins are not installed.
2015-10-29 17:33:34 -07:00
Brad Warren 4b407b9599 Merge branch 'typos' 2015-10-29 17:03:05 -07:00
bmw 2ed0b42d3f Merge pull request #1171 from chk1/master
Fix readthedocs Intersphinx URLs
2015-10-29 16:37:06 -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 d72d3a6a82 Merge pull request #1162 from christophermanning/update_vagrant_provisioning_and_docs
Vagrantfile: use recommended bootstrap scripts for provisioning
2015-10-29 15:56:50 -07:00
bmw d23a7fd40d Merge pull request #1203 from kuba/offline-unittests2
Offline unittest v2.
2015-10-29 15:45:48 -07:00
bmw 65234bab74 Merge pull request #1197 from letsencrypt/manual_description
Update manual description
2015-10-29 15:42:02 -07:00
Noah Swartz 05be568e9e added todo notes 2015-10-29 15:18: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