Jakub Warmuz
9b8363acfa
Fix sudo echo...
2016-04-10 18:52:38 +00:00
Jakub Warmuz
3516b70884
apacheconftest: toxinidir instead of .
2016-04-10 18:45:08 +00:00
Jakub Warmuz
df2baae476
apacheconf: sane sudo letsencrypt ( fixes #2800 )
...
- hardcoded
`LETSENCRYPT=/home/travis/build/letsencrypt/letsencrypt/.tox/apacheconftest/bin/letsencrypt`
causes Travis tests to fail if running under any other Travis user
(from e.g. a fork)
- `sudo env "PATH=$PATH" letsencrypt` should make sure that sudo can
find letsencrypt binary from virtualenv; realpath is not necessary
- sudo is called already from within the test script, no need to sudo
the entire script
2016-04-10 17:57:21 +00:00
Jakub Warmuz
0839168de7
Fake deserialization error in test_check_response_not_ok_jobj_no_error
2016-04-10 07:50:39 +00:00
Jakub Warmuz
8145b7c11b
ACME: omitempty Error.detail, Error.type ( fixes #2289 )
2016-04-09 08:17:26 +00:00
Jakub Warmuz
e4076633c8
Add Directory.meta ( fixes #2768 )
2016-04-06 06:14:31 +00:00
Jakub Warmuz
29d16b027e
Separate pep8 config for acme.
2016-02-20 11:01:25 +00:00
Jakub Warmuz
9d9ca27b68
Merge remote-tracking branch 'github/letsencrypt/master' into acme-pep8-enfore
2016-02-20 10:36:50 +00:00
Jakub Warmuz
3a90b4c7c5
acme: fix empty set repr py3 compat
2016-01-18 21:39:25 +00:00
Jakub Warmuz
bdd9fa4485
Quickfix too-many-instance-attributes.
...
https://github.com/letsencrypt/letsencrypt/pull/2135#issuecomment-170381179
2016-01-10 18:47:04 +00:00
Jakub Warmuz
86d6d27045
Clean up dev/testing extras messup ( fixes #2140 ).
2016-01-10 18:37:41 +00:00
Jakub Warmuz
20ab48820a
Remove unused setup.py dev alias
2016-01-10 18:36:24 +00:00
Jakub Warmuz
fac2ed41d8
ACME: pylint to 80 chars
2016-01-10 18:17:35 +00:00
Jakub Warmuz
9fb42e21db
Enfore PEP8 checking in ACME
2016-01-10 18:05:30 +00:00
Jakub Warmuz
31a64a0e9f
ACME: default to new_authzr_uri form Directory
2016-01-10 18:01:58 +00:00
Jakub Warmuz
0a536d50be
Remove dead code (error in except)
2016-01-10 17:31:50 +00:00
Jakub Warmuz
c10bfd6efc
Fix wrong doc comment: account_public_key is None
2016-01-10 14:01:34 +00:00
Jakub Warmuz
3cddb15023
Merge remote-tracking branch 'github/letsencrypt/master' into pyopenssl
2016-01-10 11:25:12 +00:00
Jakub Warmuz
1182dcf0c2
Merge remote-tracking branch 'github/letsencrypt/master' into acme-pylint
2016-01-10 11:17:03 +00:00
Jakub Warmuz
b26dda3afe
Add Python 3.5 trove classifier to acme
2016-01-09 13:38:12 +00:00
Jakub Warmuz
34010a0168
Python 3.5 needs explicit Travis setting
2016-01-09 13:31:50 +00:00
Jakub Warmuz
7728f4d28a
Python 3 Travis testing for acme.
...
Despite its description,
https://github.com/letsencrypt/letsencrypt/pull/630 , removed not only
Python 2.6 support, but also Travis tests against Python 3. ACME
library supports Python 3 and Travis should tests it.
This must be merged before any pending PRs agains acme library.
2016-01-09 13:24:54 +00:00
Jakub Warmuz
a367c98409
Merge remote-tracking branch 'github/letsencrypt/master' into acme-pylint
2016-01-09 12:50:13 +00:00
Jakub Warmuz
dba69d079f
Separate pylintrc for acme
2016-01-07 22:20:46 +00:00
Jakub Warmuz
cc168c8ef1
Generate fresh pylintrc
...
pylint 1.4.2, -generate-rcfile
2016-01-07 22:17:42 +00:00
Jakub Warmuz
6548f343bf
Add invalidEmail error type to acme
...
Related to:
- #1923
- https://github.com/ietf-wg-acme/acme/pull/65
2016-01-07 21:20:25 +00:00
Jakub Warmuz
a36a59ba6c
Fix waiting->exhausted in PollError tests
2016-01-07 20:31:40 +00:00
Jakub Warmuz
4d04d14b20
Fix "global" max_attempt bug ( #1719 )
2016-01-07 20:25:07 +00:00
Jakub Warmuz
fea4b24fb8
Add test to discover "global" max_attempt bug ( #1719 )
2016-01-07 20:20:57 +00:00
Jakub Warmuz
7788799a9b
Staging URI in dev-cli.ini example
2015-12-29 08:55:13 +00:00
Jakub Warmuz
fd4f6fb2ee
Use GH pages for IETF spec repo link
2015-12-29 08:47:14 +00:00
Jakub Warmuz
7a6e084e3a
Unbreak master
2015-12-03 15:55:17 +00:00
Jakub Warmuz
218379c2be
poll_and_ri: handle STATUS_INVALID, add max_attempts ( fixes #1634 )
2015-11-29 09:26:03 +00: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
5ee17f698e
Fix more pep8
2015-11-07 19:37:00 +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
3ac4df4f48
Kill dvsni in core
2015-11-07 18:35:41 +00:00
Jakub Warmuz
937e3edfc1
tls-sni-01 in apache and nginx plugins
2015-11-07 18:35:41 +00:00
Jakub Warmuz
5e8ed2bbd2
--dvsni-port -> --tls-sni-01-port
2015-11-07 18:24:17 +00:00
Jakub Warmuz
2266baf775
Renames around DVSNIServer
2015-11-07 18:24:17 +00:00
Jakub Warmuz
93e69ef7de
tls-sni-01 for standalone
2015-11-07 18:24:17 +00:00
Jakub Warmuz
31706a5ef9
tls-sni-01: acme_util and auth_handler
2015-11-07 14:24:44 +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
dd92e95290
Remove remaints of simpleHttp from standalone plugin
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
Jakub Warmuz
f5053ba8af
constants.AUGEAS_LENS_DIR
2015-11-04 20:12:39 +00:00
Jakub Warmuz
ac137fc00a
Merge remote-tracking branch 'github/letsencrypt/master' into test-embed-lens
2015-11-04 19:38:43 +00:00
Jakub Warmuz
9e8ce90cea
Content-Type=text/plain for webroot snippets
2015-11-04 18:06:34 +00:00
Jakub Warmuz
3d568aceeb
CRLF: unix2dos docs/make.bat
...
docs/make.bat was using LF, but since
e9a2180d16 was introduced, this causes
headaches, e.g. when releasing.
2015-11-04 07:27:30 +00:00
Jakub Warmuz
ee68d5eb86
Another attempt at abstract-class-little-used
2015-11-01 11:23:56 +00: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
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
Jakub Warmuz
2a4ebb90ef
Contet-Type snippets for webroot
2015-10-31 20:31:32 +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
fb736135c5
Fix manual plugin __doc__ indentantion
2015-10-31 18:24:32 +00:00
Jakub Warmuz
f414f51d82
letsencrypt-auto for debian squeeze ( fixes #1078 ).
2015-10-31 12:39:24 +00:00
Jakub Warmuz
6d8e48c4ff
Use py26reqs in bootstrap/venv.sh
2015-10-31 12:31:07 +00:00
Jakub Warmuz
bbf4d837ed
letsencrypt-auto installs py26reqs.txt ( fixes #1046 ).
2015-10-31 12:22:47 +00:00
Jakub Warmuz
6f5d37fc21
requirements.txt: rename to py26reqs.txt and remove it from deps where possible.
...
When people see requirements.txt they tend to `pip install -r`
straight way
(c.f. https://github.com/letsencrypt/letsencrypt/issues/1252 ). It's
only necessary for Python2.6.
2015-10-31 12:22:42 +00:00
Jakub Warmuz
d31abeb8a7
Pin ConfigArgParse 0.9.3 py2.6 ( fixes #640 ).
2015-10-31 12:07:00 +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
Jakub Warmuz
20ae2debe4
Docs: --a -> -a ( fixes #1217 )
2015-10-30 20:50:55 +00: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
Jakub Warmuz
5d11691de7
Standalone verifies ports for suported challenges only ( fixes #1149 ).
2015-10-27 22:19:21 +00:00
Jakub Warmuz
bbea646078
docs: better apache desc + move to 2nd place
2015-10-26 19:00:06 +00:00
Jakub Warmuz
ca777a300f
Comparison of different installation methods
2015-10-26 18:58:16 +00:00
Jakub Warmuz
aefd7ac7fd
Remove old todo ( #479 is fixed)
2015-10-25 13:05:49 +00:00
Jakub Warmuz
27a35a5915
Remove confusing short flags
2015-10-25 13:04:49 +00:00
Jakub Warmuz
c43825fd35
Explain Docker limitations ( fixes #1000 ).
2015-10-25 12:35:26 +00:00
Jakub Warmuz
38036b758c
Add basic docs on renewal ( fixes #951 ).
2015-10-25 12:15:22 +00:00
Jakub Warmuz
ce4452d65b
Add "Where are my certificates?" to docs ( fixes #608 ).
2015-10-25 11:32:29 +00:00