Commit Graph
100 Commits
Author SHA1 Message Date
Jakub Warmuz 71a01d139c Rename network2 to network. 2015-06-22 04:52:08 +00:00
Jakub Warmuz aa6faadb5c Add ChallangeResponseTest 2015-06-22 04:52:08 +00:00
Jakub Warmuz c208e810ee Remove old messages schemata. 2015-06-22 04:52:07 +00:00
Jakub Warmuz c5d4f91bf7 Remove old messages and network 2015-06-22 04:52:07 +00:00
Jakub Warmuz 960b070c22 Dummy use of network2 in revoker 2015-06-22 04:52:07 +00:00
Jakub Warmuz 061282fa66 Store temporary DVSNI files in IConfig.work_dir. 2015-06-20 21:32:24 +00:00
Jakub Warmuz 50e509604c Docs: remove wrong re-install comment 2015-06-20 10:20:54 +00:00
Jakub Warmuz 048fd8d249 Merge remote-tracking branch 'github/letsencrypt/master' into docs
Conflicts:
	docs/using.rst
2015-06-19 17:17:17 +00:00
Jakub Warmuz 23c5a1fd90 Docs: "." and functools32 adjustements 2015-06-19 16:13:53 +00:00
Jakub Warmuz 4d39699bef Remove doubled :members: from acme errors docs 2015-06-19 16:11:09 +00:00
Jakub Warmuz e176ad8f43 Remove old Boulder incompatibility issue 2015-06-19 16:11:03 +00:00
Jakub Warmuz 4040fd0204 Docs: extend usage section with "letsencrypt auth" call. 2015-06-19 11:21:51 +00:00
Jakub Warmuz b8ebb0ab16 Docs: backticks nit. 2015-06-19 11:17:09 +00:00
Jakub Warmuz 8292eab3f7 Docs: add link to Docker docs. 2015-06-19 11:17:09 +00:00
Jakub Warmuz ca6b326371 Docs: add "Getting the code" section. 2015-06-19 11:13:38 +00:00
Jakub Warmuz 1a013eae6e Docs: no support for setup.py, root, or non-Virtualenv installation. 2015-06-19 11:13:38 +00:00
Jakub Warmuz 673a6d4f37 Docs: move SWIG notes below installation cmd, Mac OS X note. 2015-06-19 11:13:38 +00:00
Jakub Warmuz a1f5ea8e8c Docs: note about pip editable mode. 2015-06-19 11:13:38 +00:00
Jakub Warmuz 3382dac793 README: FAQ link at the top. 2015-06-19 11:13:38 +00:00
Jakub Warmuz f46e2aeedd README: documentation link at the top.
Hopefully helps to mitigate problems mentioned in
https://groups.google.com/a/letsencrypt.org/forum/#!topic/client-dev/4xpVpy4EVz0
2015-06-19 11:13:37 +00:00
Jakub Warmuz dbd024f77c Inline docs fixes 2015-06-19 10:18:01 +00:00
Jakub Warmuz 6d2c81138e Revert "Remove support for python2.6"
This reverts commit dee1b7f049.
2015-06-19 08:17:49 +00:00
Jakub Warmuz ed7ba28211 Pin jsonschema (quickfix for missing functools32).
https://github.com/Julian/jsonschema/issues/233
2015-06-19 08:17:49 +00:00
Jakub Warmuz 5f41c9f191 Dockerfile: note about missing requirements.txt 2015-06-19 08:16:03 +00:00
Jakub Warmuz b3be239061 Fix merge conflicts between #486 and #510 (pip install .). 2015-06-19 08:15:38 +00:00
Jakub Warmuz 8afc26a736 Fix typo 2015-06-19 04:10:51 +00:00
Jakub Warmuz db6f9ecf86 Fedora installation instructions. 2015-06-18 14:13:13 +00:00
Jakub Warmuz 9b4cff8cd6 bootstrap: _rpm_common.sh, centos fixes 2015-06-18 13:55:32 +00:00
Jakub Warmuz 67768641cc Merge branch 'centos-2' into rpm-bootstrap 2015-06-18 13:44:05 +00:00
Jakub Warmuz bb61db97f0 Merge branch 'centos-1' into rpm-bootstrap 2015-06-18 13:43:00 +00:00
Jakub Warmuz 85d9047f4e Fedora: augeas -> augeas-libs 2015-06-18 13:13:29 +00:00
Jakub Warmuz d4b9499e2b ManualAuthenticator for SimpleHTTP.
Inspired by quite popular [1] letsencrypt-nosudo [2] by
@diafygi. Together with #440 and #473, it allows Let's Encrypt to be
used without sudo (root) on the target machine (c.f. [3]). Possibly
fixes #500.

[1] https://news.ycombinator.com/item?id=9707170
[2] https://github.com/diafygi/letsencrypt-nosudo
[3] https://groups.google.com/a/letsencrypt.org/forum/#!topic/client-dev/JAqxSvXlln4
2015-06-14 18:12:10 +00:00
Jakub Warmuz 896d2be1db SimpleHTTP.tls -> SimpleHTTPResponse.tls bug, MAX_PATH_LEN, good_path, scheme 2015-06-14 17:32:25 +00:00
Jakub Warmuz 3dbfab7b9f Merge branch 'swig-3.0.5' into fedora-bootstrap 2015-06-12 12:58:53 +00:00
Jakub Warmuz d585b44680 Nit: character upper case fixes. 2015-06-12 12:58:35 +00:00
Jakub Warmuz 2c96ea68b8 Merge branch 'swig-3.0.5' into bootstrap 2015-06-12 12:56:19 +00:00
Jakub Warmuz 6b9d5c1daa Separate requirements.txt for SWIG 3.0.5+ 2015-06-12 12:55:33 +00:00
Jakub Warmuz 8ba5166563 Vagrant: remove explicit git-core install 2015-06-12 11:54:12 +00:00
Jakub Warmuz d53120f25f Fix SimpleHTTP tests and omitempty bug. 2015-06-12 09:21:30 +00:00
Jakub Warmuz 8883bd76fd Add --no-simple-http-tls. 2015-06-12 08:25:59 +00:00
Jakub Warmuz bc9373929a Add SimpleHTTP.tls 2015-06-12 08:23:43 +00:00
Jakub Warmuz 7f5abba83e Rename SimpleHTTPS to SimpleHTTP. 2015-06-12 08:23:32 +00:00
Jakub Warmuz eeb477d85e Merge branch 'swig-3.0.5' into fedora-bootstrap 2015-06-11 21:11:53 +00:00
Jakub Warmuz fb4bd1a013 Merge branch 'swig-3.0.5' into bootstrap 2015-06-11 21:11:31 +00:00
Jakub Warmuz 30545e1c54 requirements.txt: fix M2Crypto URL 2015-06-11 21:11:25 +00:00
Jakub Warmuz 2be914f0d5 Bootstrap Debian: add git-core dep 2015-06-11 21:06:44 +00:00
Jakub Warmuz 2139971212 nit: add EOF newline 2015-06-11 19:35:29 +00:00
Jakub Warmuz b44014b06e Bootstrap README: deps rationale 2015-06-11 19:28:15 +00:00
Jakub Warmuz 19aea37203 Bootstrap Debian: remove python-setuptools dep 2015-06-11 19:26:17 +00:00
Jakub Warmuz 4ed1a1c2d6 Bootstrap Debian: one dep per line 2015-06-11 19:25:49 +00:00
Jakub Warmuz c4b495aa37 Bootstrap Fedora 22 (fixes: #493) 2015-06-11 19:24:07 +00:00
Jakub Warmuz ad5c3ff1b2 Support M2Crypto with swig 3.0.5+
Fixes issues recognized in
https://github.com/letsencrypt/lets-encrypt-preview/issues/413#issuecomment-106245456
and https://github.com/letsencrypt/lets-encrypt-preview/issues/493.
2015-06-11 19:22:27 +00:00
Jakub Warmuz 0543f040bf Raise error on missing replay nonce. 2015-06-11 13:06:56 +00:00
Jakub Warmuz 22fd9d4cd7 tox.cover.sh: erase coverage before tests 2015-06-11 12:28:46 +00:00
Jakub Warmuz fd39479810 Add an anti-replay nonce facility (fixes: #488). 2015-06-11 12:21:26 +00:00
Jakub Warmuz 887f91bdac requirements.txt: no editable (-e) mode, no "." install. 2015-06-09 07:51:42 +00:00
Jakub Warmuz 4646d8d6bf Standalone Authenticator: no fail when port taken (fixes #381) 2015-06-02 18:31:09 +00:00
Jakub Warmuz f06c0017db Lower letsencrypt_apache coverage 2015-06-02 17:49:13 +00:00
Jakub Warmuz 8c6d1ad50a letsencrypt_nginx should not depend on letsencrypt_apache. 2015-06-02 14:28:20 +00:00
Jakub Warmuz d3ad5f8b56 gitignore: +htmlcov, -m3, reorg 2015-06-02 10:41:33 +00:00
Jakub Warmuz 9e5bd7c90d Do not use generic exceptions in le_util_test. 2015-06-02 10:01:24 +00:00
Jakub Warmuz efde7d4eff Refactor le_util, 100% cover 2015-06-02 10:01:24 +00:00
Jakub Warmuz 2ae9bf3d49 Use timedelta instead of now.month + 1 (partially fixes: #456).
`ValueError: day is out of range for month`
2015-06-02 07:14:01 +00:00
Jakub Warmuz b420e2a1da Fix --no-verify-ssl negation bug 2015-06-02 06:58:35 +00:00
Jakub Warmuz 5b957f27d6 Fix typo: config.port -> config.dvsni_port. 2015-06-01 21:40:22 +00:00
Jakub Warmuz f5613ee074 Add help for the --verbose flag. 2015-06-01 21:08:42 +00:00
Jakub Warmuz 2929039cf4 Split --test-mode into --no-verify-ssl and --dvsni-port (fixes #462). 2015-06-01 20:56:58 +00:00
Jakub Warmuz 3ba41de2ba Split Reporter priority constants (improves docs readability). 2015-06-01 19:16:58 +00:00
Jakub Warmuz c4195c6cdf Unify test docstrings. 2015-06-01 19:09:40 +00:00
Jakub Warmuz e5dd4ba70c Minor fixes for #453 and reporter API docs. 2015-06-01 19:09:39 +00:00
Jakub Warmuz e520efe41e Add continer badge in README 2015-05-29 11:24:11 +00:00
Jakub Warmuz a3d452c112 storage.config_with_defaults 2015-05-28 19:27:30 +00:00
Jakub Warmuz d01b17f1e2 IInstaller.deploy_cert docs/naming fixes 2015-05-28 18:31:06 +00:00
Jakub Warmuz 8d1135c049 Private _AttrDict 2015-05-28 18:09:05 +00:00
Jakub Warmuz c813efdce7 Merge obtain_certificate and _obtain_certificate 2015-05-28 18:07:49 +00:00
Jakub Warmuz cc969fc406 Fix deploy_certificate (docs and use abspath) 2015-05-28 18:07:26 +00:00
Jakub Warmuz 2178315f8a Various docstring fixes.
- Use r""" \* """
- transform plugins note to ..warning
- ' -> ` for cross-reference
- fix some "more than one target found for cross-reference" warnings
2015-05-28 15:17:55 +00:00
Jakub Warmuz 3809a817ea Bump coverage 2015-05-28 08:02:43 +00:00
Jakub Warmuz f798c117f7 assertEqual(False, ...) -> assertFalse 2015-05-28 08:01:44 +00:00
Jakub Warmuz da8f3e19a4 Remove confusingly unused --enroll-autorenew. 2015-05-28 07:58:40 +00:00
Jakub Warmuz a00dc88ad1 Fix renewer pr docstrings 2015-05-28 07:45:41 +00:00
Jakub Warmuz 81ac25f89c Add API docs for renewer and storage 2015-05-28 07:45:41 +00:00
Jakub Warmuz b75df9f4de range -> xrange 2015-05-28 07:45:41 +00:00
Jakub Warmuz 74f089ae3b Revert pre-renewer deploy_certificate API 2015-05-28 07:12:19 +00:00
Jakub Warmuz 7495145563 Merge remote-tracking branch 'github/letsencrypt/master' into test-mode
Conflicts:
	letsencrypt/network2.py
2015-05-22 06:26:16 +00:00
Jakub Warmuz 8dac7daf87 config.server_url -> config.server 2015-05-22 06:21:53 +00:00
Jakub Warmuz e7cf4792b3 Fix typos 2015-05-19 22:01:01 +00:00
Jakub Warmuz 5a22ff17d0 Dockerfile: debian.sh -> ubuntu.sh 2015-05-19 21:49:57 +00:00
Jakub Warmuz 3c0ce923b2 Dockerfile: use ubuntu:trusty (based on review feedback). 2015-05-19 20:51:11 +00:00
Jakub Warmuz ac0868b6de acme.messages2.Error title is omitempty 2015-05-19 20:13:55 +00:00
Jakub Warmuz cd6b9bc9c7 Fix coverage for acme.messages2.Error 2015-05-19 20:09:11 +00:00
Jakub Warmuz 0018bc0500 Error: typ/title no omitempty 2015-05-19 19:50:00 +00:00
Jakub Warmuz 41115bfc77 Spec and Boulder compatibility fixes.
Relevant acme-spec:
- https://github.com/letsencrypt/acme-spec/issues/127
- https://github.com/letsencrypt/acme-spec/pull/119
- https://github.com/letsencrypt/acme-spec/issues/98
- https://github.com/letsencrypt/acme-spec/issues/92

Relevant boulder:
- https://github.com/letsencrypt/boulder/pull/170
- https://github.com/letsencrypt/boulder/issues/128
2015-05-19 19:42:53 +00:00
Jakub Warmuz 2cadfdaae1 response might carry binary data, use repr() in network2 logging 2015-05-19 19:21:04 +00:00
Jakub Warmuz c0acf8239d network2: Log GET/POST uri 2015-05-19 19:19:29 +00:00
Jakub Warmuz 083bd8701b get_sans_from_cert, 100% test coverage for crypto_util. 2015-05-19 14:14:34 +00:00
Jakub Warmuz 3fd4f2a94a Do not depend on letsencrypt_apache in core tests 2015-05-17 07:52:25 +00:00
Jakub Warmuz 74d6d4e0b3 Fix typo in examples 2015-05-15 19:53:41 +00:00
Jakub Warmuz a941cf61b7 Merge remote-tracking branch 'github/letsencrypt/master' into test-dirs-chmods
Conflicts:
	letsencrypt_nginx/dvsni.py
2015-05-15 19:44:07 +00:00
Jakub Warmuz 834691278e Fix repr for PluginsRegistry (unhashable PluginEntryPoint).
(venv)root@le:~/lets-encrypt-preview# letsencrypt -vv auth
DEBUG:root:Logging level set at 10
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
Logged from file cli.py, line 356
Traceback (most recent call last):
File "/root/lets-encrypt-preview/venv/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.1', 'console_scripts', 'letsencrypt')()
File "/root/lets-encrypt-preview/letsencrypt/cli.py", line 356, in main
logging.debug("Discovered plugins: %r", plugins)
File "/usr/lib/python2.7/logging/__init__.py", line 1630, in debug
root.debug(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1148, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1279, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1289, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1329, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 757, in handle
self.emit(record)
File "/root/lets-encrypt-preview/letsencrypt/log.py", line 40, in emit
for line in record.getMessage().splitlines():
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
2015-05-15 15:00:53 +00:00