Commit graph

231 commits

Author SHA1 Message Date
Jakub Warmuz
4ebc20402b
Pin mock<1.1.0 (Python 2.6 support). 2015-07-10 07:21:07 +00:00
Jakub Warmuz
02e7154c0d
Drop M2Crypto 2015-07-06 12:18:27 +00:00
Jakub Warmuz
61aa29d28c
Drop PyCrypto. 2015-07-06 12:18:22 +00:00
Jakub Warmuz
9197fa6b5c
acme: M2Crypto -> pyOpenSSL 2015-07-06 12:18:17 +00:00
Jakub Warmuz
e0293d81f3
acme: drop PyCrypto and use cryptography instead.
- Use cryptography in acme.jose.jwa/jwk.
- Change Crypto.Random to os.urandom,
  c.f. https://cryptography.io/en/latest/random-numbers/?highlight=urandom
2015-07-05 20:36:20 +00:00
Jakub Warmuz
a0acf7c703
acme.verify.simple_http_simple_verify 2015-06-29 07:50:31 +00:00
Jakub Warmuz
7d775ae9f3
Add null installer, integration tests for install/run
Fixes #438.
2015-06-26 13:26:09 +00:00
Jakub Warmuz
3789922c0b
Move AugeasConfigurator to letsencrypt_apache.
https://github.com/letsencrypt/lets-encrypt-preview/pull/531#issuecomment-114285541
2015-06-25 17:55:49 +00:00
Jakub Warmuz
c5bf273024
setup.py: separate install_requires 2015-06-22 21:58:13 +00:00
Jakub Warmuz
c5d4f91bf7
Remove old messages and network 2015-06-22 04:52:07 +00:00
James Kasten
99ff33e581 Merge pull request #502 from kuba/manual
ManualAuthenticator for SimpleHTTP
2015-06-19 13:45:14 -04: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
William Budington
a873e8ea33 functools32 required - add to setup.py 2015-06-18 17:45:04 -07: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
Seth Schoen
83b0e0a20e Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
(Resolve conflicts due to get_sans branch merge.)

Conflicts:
	letsencrypt/crypto_util.py
	letsencrypt/tests/crypto_util_test.py
2015-05-18 15:07:29 -07:00
Seth Schoen
2c6cfe3f81 Cleanup to get rid of scripts directory 2015-05-13 13:18:37 -07:00
Seth Schoen
82a4c61eff Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
Conflicts:
	letsencrypt/client.py
2015-05-13 12:10:36 -07:00
Jakub Warmuz
aeef964fb6
Merge remote-tracking branch 'github/letsencrypt/master' into get_sans 2015-05-12 21:27:10 +00:00
Jakub Warmuz
b103aae808
tox: split test/cover per pkg 2015-05-10 12:52:40 +00:00
Jakub Warmuz
41e86df252
Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
Jakub Warmuz
d408ec5a95
Move plugins to top-level 2015-05-10 12:26:54 +00:00
Jakub Warmuz
3a6bd7123d
Move acme to top-level 2015-05-10 12:26:17 +00:00
Jakub Warmuz
e8eae2dab2
find_packages() in setup.py 2015-05-10 11:08:19 +00:00
Jakub Warmuz
dc0f78dd15
Merge remote-tracking branch 'github/letsencrypt/master' into get_sans
Conflicts:
	letsencrypt/client/crypto_util.py
	letsencrypt/client/tests/crypto_util_test.py
	setup.py
2015-05-10 09:40:25 +00:00
Jakub Warmuz
532d155b1c
get_sans_from_csr using pyOpenSSL 2015-05-10 09:36:18 +00:00
Seth Schoen
d98edd1394 Merge branch 'cli' of https://github.com/kuba/lets-encrypt-preview into renewer
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/client/interfaces.py
	letsencrypt/scripts/main.py

This merge only addresses the "run" verb; the other client verbs still
need work to address the way they integrate with the renewal database.
2015-05-09 20:45:17 -07:00
Jakub Warmuz
cc32eeb7cf
Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/client/constants.py
	letsencrypt/client/interfaces.py
	letsencrypt/client/tests/client_test.py
	letsencrypt/scripts/main.py
	setup.py
2015-05-01 20:17:30 +00:00
James Kasten
cb0aca6727 Merge branch 'master' into boulder 2015-04-22 23:19:12 -07:00
Jakub Warmuz
b0fe02f732
merge github/letsencrypt/master 2015-04-22 09:16:13 +00:00
Jakub Warmuz
1001b027cb
ConfArgParse -> ConfigArgParse
ConfArgParse + subparsers = config scoped only to subcommand
ConfArgParse doesn't seem to respect formatter_class (no defaults)

ConfigArgParse works with ENV variables

https://github.com/bw2/ConfigArgParse#design-notes
2015-04-22 07:19:30 +00:00
Jakub Warmuz
975fe1c65b
Move scripts/main to client/cli.py 2015-04-22 06:23:25 +00:00
Seth Schoen
9463de3367 Initial implementation of renewer 2015-04-21 19:12:49 -07:00
yan
6a0dc2b960 Improve comments based on PR #351 review 2015-04-20 11:04:58 -07:00
James Kasten
cbee249c38 Merge branch 'master' into boulder
Conflicts:
	letsencrypt/acme/jose/json_util.py
	letsencrypt/acme/jose/jwk.py
	letsencrypt/acme/messages2_test.py
2015-04-19 20:33:20 -07:00
yan
37649966c2 Nginx versioning and other config changes 2015-04-16 13:47:26 -07:00
yan
46db59d774 start adding nginx stubs 2015-04-16 13:47:20 -07:00
James Kasten
214c0e9355 towards accounts 2015-04-15 16:53:39 -07:00
Jakub Warmuz
6a47bc66d1
dialog display on squeeze (fixes #280) 2015-04-05 07:58:15 +00:00
James Kasten
e41acf72a0 Merge pull request #325 from kuba/network2
Restified messages2 and network2
2015-04-01 15:14:20 -07:00
Jakub Warmuz
8bc55899e6
Subparsers CLI 2015-03-30 12:43:00 +00:00
Jakub Warmuz
ffff84ee55
100% coverage for acme.fields 2015-03-27 08:43:05 +00:00
James Kasten
2d848994f4 Move IAuthenticators and IInstallers into plugins dir 2015-03-26 17:23:17 -07:00
Jakub Warmuz
ff532469a5
Setuptools entry_points plugins 2015-03-26 13:55:23 +00:00
Jakub Warmuz
34466f745b
RFC3339DateField (pyrfc3339) 2015-03-25 16:02:41 +00:00
Jakub Warmuz
073dea2624
Add werkzeug dependency 2015-03-25 12:50:51 +00:00
James Kasten
1d70018cf4 Merge branch 'chmods' of git://github.com/kuba/lets-encrypt-preview into kuba-chmods 2015-03-24 22:53:57 -07:00
Jakub Warmuz
71e17df03a
InsecurePlatformWarning (fixes #304) 2015-03-23 09:24:25 +00:00
Jakub Warmuz
79a511226f
Merge remote-tracking branch 'github/letsencrypt/master' into chmods 2015-03-23 08:59:14 +00:00
James Kasten
79f6e61c37 Merge pull request #290 from kuba/jws
JWS
2015-03-21 16:25:28 -07:00
James Kasten
12287e70fc remove schemata 2015-03-21 16:20:32 -07:00
James Kasten
4e21703503 add acme.jose and acme.schemata packages to setup.py 2015-03-21 15:14:58 -07:00
Jakub Warmuz
4ee70a9ee4
Merge remote-tracking branch 'github/letsencrypt/master' into jws 2015-03-21 20:45:11 +00:00
Garrett Robinson
5eb007cc31 Add Vagrantfile, document use
* Adds workaround to setup.py for issue with Vagrant sync filesystem and
  hard linking (used by distutils in Python < 2.7.9). This workaround is
  only used in a Vagrant environment.
* Adds Vagrant-related files to .gitignore
2015-03-21 12:51:33 -07:00
Garrett Robinson
2a2e4d2e8d Pin pylint and astroid to workaround #289 2015-03-20 14:48:36 -07:00
Jakub Warmuz
7def7df897
JWS 2015-03-19 17:35:10 +00:00
James Kasten
1c31b35d8c Merge pull request #275 from kuba/setuptools
Add trove classifiers, clean up setup.py (c.f. #198).
2015-03-10 14:08:19 -04:00
James Kasten
b9c1694dad Merge branch 'acme.challenges' of git://github.com/kuba/lets-encrypt-preview into kuba-acme.challenges 2015-03-04 22:49:17 -08:00
Jakub Warmuz
61662553b5
Add trove classifiers, clean up setup.py (c.f. #198). 2015-02-28 21:01:22 +00:00
Jakub Warmuz
2b8f2cc113
rm letsencrypt.py, chmod -x, remove sheebangs 2015-02-28 20:40:33 +00:00
James Kasten
a9f47cda39 Merge branch 'master' into use_psutil 2015-02-25 18:07:07 -08:00
Jakub Warmuz
ca2bbc13a3
Improve letsencrypt.acme docs. 2015-02-25 13:56:48 +00:00
James Kasten
05cdb821dc Merge pull request #250 from letsencrypt/revoker
Display/Revoker Overhaul
2015-02-24 18:18:02 -08:00
Jakub Warmuz
edce44024b
Use sphinx_rtd_theme locally. 2015-02-24 16:23:54 +00:00
Jakub Warmuz
4bb9914fa3
split dev_extras into dev_extras+docs_extras 2015-02-24 16:23:52 +00:00
Seth Schoen
e17b9907f8 psutil>=2.1.0; remove redundant parentheses 2015-02-20 14:37:23 -08:00
Seth Schoen
daf7c81e5d Formatting and small fixes 2015-02-20 13:22:20 -08:00
Seth Schoen
fc1617531e Use psutil instead of netstat subprocess 2015-02-19 17:49:27 -08:00
James Kasten
04ecf813bd Merge branch 'master' into revoker
Conflicts:
	letsencrypt/client/auth_handler.py
	letsencrypt/client/client.py
	letsencrypt/client/crypto_util.py
	letsencrypt/client/interfaces.py
	letsencrypt/client/le_util.py
	letsencrypt/client/revoker.py
	letsencrypt/client/standalone_authenticator.py
	letsencrypt/client/tests/apache/dvsni_test.py
	letsencrypt/client/tests/apache/obj_test.py
	letsencrypt/client/tests/recovery_token_test.py
	letsencrypt/client/tests/standalone_authenticator_test.py
	letsencrypt/scripts/main.py
2015-02-18 03:36:53 -08:00
James Kasten
71dc5435c9 merge standalone, plus further development 2015-02-11 15:38:59 -08:00
Jakub Warmuz
03726b9956
Merge remote-tracking branch 'github/letsencrypt/master' into acme
Conflicts:
	letsencrypt/client/le_util.py
	letsencrypt/client/tests/challenge_util_test.py
2015-02-11 16:40:07 +00:00
James Kasten
c09cf0fa07 Merge branch 'master' into revoker
Conflicts:
	letsencrypt/client/apache/configurator.py
	letsencrypt/client/client.py
	letsencrypt/client/crypto_util.py
	letsencrypt/client/interfaces.py
	letsencrypt/client/reverter.py
	letsencrypt/client/revoker.py
	letsencrypt/client/tests/apache/dvsni_test.py
	letsencrypt/client/tests/apache/parser_test.py
	letsencrypt/client/tests/challenge_util_test.py
	letsencrypt/scripts/main.py
2015-02-10 00:12:23 -08:00
Jakub Warmuz
cadd9ec028
Merge remote-tracking branch 'github/letsencrypt/master' into acme
Conflicts:
	letsencrypt/client/CONFIG.py
	letsencrypt/client/auth_handler.py
	letsencrypt/client/challenge_util.py
	letsencrypt/client/client.py
	letsencrypt/client/crypto_util.py
	letsencrypt/client/revoker.py
	letsencrypt/client/tests/challenge_util_test.py
2015-02-10 00:00:54 +00:00
James Kasten
627302e060 Merge branch 'master' into standalone_authenticator
Conflicts:
	letsencrypt/client/CONFIG.py
	letsencrypt/client/tests/apache/dvsni_test.py
	letsencrypt/client/tests/challenge_util_test.py
2015-02-09 15:17:43 -08:00
Seth Schoen
a543925e64 Some formatting fixes 2015-02-09 11:57:50 -08:00
James Kasten
72813ec1fa Merge branch 'master' into revoker 2015-02-08 21:03:16 -08:00
James Kasten
168a70c273 refactor and enhance display, update revoker 2015-02-08 00:46:16 -08:00
Seth Schoen
33ff8225d7 Merge branch 'master' into standalone_authenticator 2015-02-08 00:35:07 -08:00
Jakub Warmuz
4b6baae8b8
Merge remote-tracking branch 'github/letsencrypt/master' into config 2015-02-07 22:32:38 +00:00
Jakub Warmuz
ec3bb4cf13
Merge remote-tracking branch 'github/letsencrypt/master' into acme
Conflicts:
	tox.ini
2015-02-07 22:30:24 +00:00
Jakub Warmuz
337974e675
No pylint in py2.6 tox 2015-02-06 23:41:28 +00:00
Seth Schoen
7c39e36c5a Merge branch 'master' into standalone_authenticator 2015-02-05 12:53:55 -08:00
Seth Schoen
c43ecf924c Declare dependency on PyOpenSSL package 2015-02-02 17:02:22 -08:00
Jakub Warmuz
143b002d7e
Move acme to letsencrypy.acme 2015-02-01 12:27:36 +00:00
Jakub Warmuz
098f779a79
Use ConfArgParse 2015-01-31 11:37:24 +00:00
Jakub Warmuz
1725829477
Autodoc interfaces. Spelling. 2015-01-31 00:28:09 +00:00
Thomas Waldmann
4c7b2d202c cosmetic fixes 2015-01-29 23:28:22 +01:00
Thomas Waldmann
47e49215c3 long_description = README.rst (+ CHANGES.rst later) 2015-01-29 15:38:20 +01:00
Thomas Waldmann
af8edbc21c put file reading into function, we'll soon need that for more stuff
like e.g. reading long_description from README.rst + CHANGES.rst.
2015-01-29 15:25:28 +01:00
Thomas Waldmann
219b25cd98 parse version number from package init, avoid package import 2015-01-29 14:58:20 +01:00
Thomas Waldmann
9c98e1e7e5 have letsencrypt.VERSION, show it in letsencrypt --help, use it in setup.py
note: we had some discussion about potential problems importing VERSION from main package.

SO link: http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package

See also my comment in __init__.py - maybe we can add that "version detection from git tags" magic later.
2015-01-29 01:20:45 +01:00
Jakub Warmuz
79bb3cc80d
pylint: upstream fixed #248 in 1.4.0 2015-01-28 13:02:14 +00:00
Jakub Warmuz
0a44bbb7a1
Simpler Travis CI matrix 2015-01-28 12:56:12 +00:00
James Kasten
9b0b7b2e28 Merge pull request #188 from kuba/bugs/152
Magical fix for #152 (M2Crypto install dependency order)
2015-01-24 20:01:32 -08:00
Jakub Warmuz
6a4164a293
Magical fix for #152 (M2Crypto install dependency order) 2015-01-24 19:50:51 +00:00
Jakub Warmuz
e9ed8c86e4
Quickfix for #187 2015-01-24 14:27:15 +00:00
James Kasten
c9a3d8b0c2 Cleanup Installer API change 2015-01-17 02:29:29 -08:00
Jakub Warmuz
5958aee5d1 Merge branch 'zope.interface' into zope.interface-display
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/scripts/main.py
2014-12-22 01:26:31 +00:00
James Kasten
cc999d3654 Refactored/added tests 2014-12-19 15:49:29 -08:00
James Kasten
083024cb86 Major refactor of client and main 2014-12-17 06:27:21 -08:00
Jakub Warmuz
37a015f983 display using ZCA 2014-12-17 12:03:41 +01:00
Jakub Warmuz
20efe7b533 zope.interface 2014-12-17 10:12:59 +01:00
Jakub Warmuz
5e05638fef Add client.tests to setup packages 2014-12-17 08:14:35 +01:00
James Kasten
323aa350dc Remove Apache parsing from configurator 2014-12-16 21:00:14 -08:00
James Kasten
cc85f22133 Small fixes 2014-12-10 01:20:14 -08:00
James Kasten
610e1dbc7f Merge branch 'master' into configurator_tests 2014-12-10 00:34:41 -08:00
James Kasten
44131f9b01 Merge pull request #119 from kuba/bugs/97
Pin pylint<1.4
2014-12-09 13:50:59 -08:00
Jakub Warmuz
e107b9259a Pin pylint<1.4 2014-12-09 19:41:56 +01:00
Jakub Warmuz
f7784f2023 Fix lexicographic order in install_requires 2014-12-09 19:24:16 +01:00
Jakub Warmuz
8ea085553a Fix coverage for le_util 2014-12-09 19:20:57 +01:00
James Kasten
c59cadd252 Add mock to setup 2014-12-08 00:33:27 -08:00
Jakub Warmuz
78c3f161d7 setup.py docs, Sphinx dep 2014-11-30 02:38:33 +01:00
Jakub Warmuz
9d5ab7dbcc Test coverage 2014-11-27 20:30:56 +01:00
Jakub Warmuz
c2413ba542 setuptools test_suite 2014-11-27 20:24:50 +01:00
Adam Woodbeck
13f1286e66 Changes per pylint. 2014-11-26 21:30:42 -05:00
Adam Woodbeck
259cf47169 Refactored command line code to use argparse. 2014-11-26 21:09:45 -05:00
Jakub Warmuz
cd9e30ad7e python-augeas from PyPI
https://github.com/hercules-team/python-augeas/issues/2#issuecomment-64116945
2014-11-23 15:29:11 +01:00
Jakub Warmuz
300a4f0b45 Use tox for tests 2014-11-22 15:04:36 +01:00
Jakub Warmuz
1c643d483e Basic dev/testing setup 2014-11-22 15:04:02 +01:00
Jakub Warmuz
1343cfa465 Add missing line of code (merge/rebase effect). 2014-11-22 03:10:22 +01:00
Jakub Warmuz
731727cb38 Install Augeas using setuptools 2014-11-22 02:52:03 +01:00
James Kasten
7af9263e4a Remove jose dependency, convert display code to use dialog from setup 2014-11-19 15:34:54 -08:00
Jakub Warmuz
139ad7c3ee Fix setuptools package resources
https://pythonhosted.org/setuptools/setuptools.html#including-data-files
2014-11-19 13:33:53 +01:00
Jakub Warmuz
35c4cbd438 letsencrypt.py as setuptools console script 2014-11-19 13:29:02 +01:00
James Kasten
d56ec3c1da Adding last of @kuba fixes from PR#9 Thanks! 2014-11-18 20:15:22 -08:00
James Kasten
d3708e1e79 Remove trustify/attic related code from setup.py
Conflicts:
	.gitignore
	setup.py
2014-11-18 18:39:39 -08:00
James Kasten
ea3804efb7 Sort setup install_requires
Conflicts:
	setup.py
2014-11-18 18:36:15 -08:00
James Kasten
229f88dfcd setup install_requires python2-pythondialog, jose, jsonschema
Conflicts:
	setup.py
2014-11-18 18:36:15 -08:00
Jakub Warmuz
3486a53132 python-augeas missing from PyPI 2014-11-18 18:36:15 -08:00
Alex Gaynor
a9e0028007 Use the older requests API 2014-11-18 09:09:56 -08:00
Alex Gaynor
efaec60e6b Switched from using urllib2 to requests.
urllib2 is a security hazzard, it does not perform certificate checks against a trust root by default, nor does it perform service_identity checks.

Also, requests has a prettier API.
2014-11-18 08:13:06 -08:00
Faidon Liambotis
7e960672b3 Add setuptools-based setup.py & MANIFEST.in
Also move the protoc functionality to setup.py, making it a bit more
complicated than usual :)
2012-08-12 09:03:13 +03:00