Commit Graph
11412 Commits
Author SHA1 Message Date
James Kasten 9e1e7b235d started fixing pylint errors 2014-11-27 01:29:56 -08:00
James Kasten ba91c489a6 Removed __functions, minor formatting 2014-11-27 00:53:10 -08:00
James Kasten 76a1012370 Fixed common case in client.py 2014-11-26 21:45:58 -08:00
James Kasten 083a194084 git push origin masterMerge branch 'w0uld-argparse' 2014-11-26 20:49:54 -08:00
James Kasten d47b615d5f Changed authenticate method to handle the new arguments 2014-11-26 20:49:32 -08:00
Adam Woodbeck f5a622cdf1 Moved config object into the main function. 2014-11-26 22:04:25 -05:00
Adam Woodbeck 09df8e6125 Removed unused constant. 2014-11-26 21:37:33 -05:00
Adam Woodbeck 13b9a63e7f Removed redundant logger and config setup. 2014-11-26 21:36:32 -05:00
Adam Woodbeck 13f1286e66 Changes per pylint. 2014-11-26 21:30:42 -05:00
Adam Woodbeck 6794a57e26 Set some defaults for instance attributes used outside of __init__() to make them explicit. 2014-11-26 21:10:04 -05:00
Adam Woodbeck 259cf47169 Refactored command line code to use argparse. 2014-11-26 21:09:45 -05:00
James Kasten 716156e5a0 Add sphinx documentation for augeas_configurator 2014-11-26 16:59:13 -08:00
James Kasten 14c81099af First pass for proper documentation of apache_configurator 2014-11-26 15:28:28 -08:00
James Kasten 6b7d3d6dd4 Merge pull request #79 from w0uld/fix_print_options
Resolved issue where command line arguments were not being printed due t...
2014-11-25 22:44:49 -08:00
James Kasten c9f9417d4b Merge pull request #71 from kuba/bugs/44
Towards better exceptions...
2014-11-25 22:24:34 -08:00
Adam Woodbeck 1288b4986d Resolved issue where command line arguments were not being printed due to a type conversion error. 2014-11-25 10:19:08 -05:00
Jakub Warmuz d7b33656b0 Raise errors.LetsEncryptClient error in send(). 2014-11-25 13:32:02 +01:00
James Kasten f046db1d17 Added TODOs and a warning 2014-11-25 03:05:50 -08:00
Jakub Warmuz 6eaf9f3459 Merge remote-tracking branch 'github/master' into bugs/44
Conflicts:
	letsencrypt/client/apache_configurator.py
2014-11-25 10:52:00 +01:00
James Kasten a83781f70f Merge pull request #77 from kuba/style-1
Revert acme to 43ae01b
2014-11-25 01:46:54 -08:00
James Kasten 3aee61f427 Merge pull request #76 from kuba/style-0
Fix recent commits style
2014-11-25 01:41:01 -08:00
Jakub Warmuz f52556becd Revert acme to 43ae01b 2014-11-25 10:01:04 +01:00
Jakub Warmuz 5ca95a55ca Fix recent commits style 2014-11-25 09:48:35 +01:00
James Kasten 5e335f9a5f PEP8 compliance main.py 2014-11-25 00:43:18 -08:00
James Kasten 9b1ab949c7 PEP compliance logger.py 2014-11-25 00:32:56 -08:00
James Kasten 8d1d9b0734 PEP8 support for acme, acme_test, apache_configurator 2014-11-25 00:15:47 -08:00
James Kasten 506c603e30 Merge branch 'master' of github.com:letsencrypt/lets-encrypt-preview
Conflicts:
	letsencrypt/client/client.py
2014-11-24 19:03:29 -08:00
James Kasten 316e686ed5 git push origin masterMerge branch 'csr_utility_functions' 2014-11-24 18:59:43 -08:00
James Kasten b245bbb10e Added name check and attempted to clean up code - is PEP8 conformant 2014-11-24 18:58:34 -08:00
Seth Schoen 4453d3fab8 Add a missing crypto_util 2014-11-24 16:02:30 -08:00
Seth Schoen b4492042d9 For crypto.util, read crypto_util 2014-11-24 15:59:32 -08:00
Seth Schoen c741d969de Correct PEM/DER return behavior 2014-11-24 15:52:48 -08:00
Seth Schoen 35c34ec6d4 PEP8 formatting fixes 2014-11-24 15:52:22 -08:00
Seth Schoen 2e8cdd071a Integrate CSR and private key validation steps into client 2014-11-24 14:16:29 -08:00
Seth Schoen 7e71bccf28 Add documentation for parameters of new functions 2014-11-24 14:10:35 -08:00
James Kasten 539b9b12a7 Merge pull request #72 from kuba/le_util_test
le_util cleanup, le_util_test, docs
2014-11-24 04:50:49 -08:00
James Kasten b8ee00bddd Merge pull request #73 from kuba/acme_test_pretty_heisenbug
Remove heisenbug from acme_test
2014-11-24 04:46:53 -08:00
Jakub Warmuz 43ae01b4c8 Fix TODO encode? in acme.py 2014-11-24 13:45:15 +01:00
Jakub Warmuz 018ebd4087 Fix TODO encode? in apache_configurator.
`s = Random.get_random_bytes(CONFIG.S_SIZE)`, so `s` is `str`.
2014-11-24 13:32:55 +01:00
Jakub Warmuz 0dd530a4d1 Fix TODO encode? in create_sig
- n, e are `int`s, applied transformations make it `str`

- Crypto.Signature.PKCS1_v1_5.new [1] returns PKCS115_SigScheme, and its
  `sign()` method returns `str` [2]

- docs is OK: requires `nonce` to be `str`

- `create_sig` is not called with custom `nonce` argument anywhere in
  the code

[1] https://www.dlitz.net/software/pycrypto/api/2.6/Crypto.Signature.PKCS1_v1_5-module.html#new
[2] https://www.dlitz.net/software/pycrypto/api/2.6/Crypto.Signature.PKCS1_v1_5.PKCS115_SigScheme-class.html#sign
2014-11-24 13:30:10 +01:00
Jakub Warmuz 882170559d TODO encode? comments for jose_b64encode 2014-11-24 13:15:09 +01:00
Jakub Warmuz aef18c4413 JOSE Base64: encode str only, decode str or ascii unicode 2014-11-24 11:00:08 +01:00
Jakub Warmuz 0e6e85cf19 Merge remote-tracking branch 'github/master' into le_util_test 2014-11-24 10:49:23 +01:00
James Kasten ee726d2c23 Merge pull request #74 from kuba/py26-compat
py26 doesn't support set {} constructor. Use frozenset.
2014-11-23 20:16:33 -08:00
Seth Schoen ea6bec851b Add utility functions for checking CSR and privkey 2014-11-23 18:21:56 -08:00
Jakub Warmuz 0d6a482d32 Merge remote-tracking branch 'github/master' into bugs/44
Conflicts:
	letsencrypt/client/client.py
2014-11-24 02:44:55 +01:00
Jakub Warmuz 285761465b Merge remote-tracking branch 'github/master' into le_util_test
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/client/crypto_util.py
2014-11-24 02:29:09 +01:00
Jakub Warmuz 1c1d9221c8 py26 doesn't support set {} constructor. Use frozenset. 2014-11-24 02:23:27 +01:00
Jakub Warmuz c2d0acb063 Remove heisenbug from acme_test 2014-11-24 02:16:24 +01:00
James Kasten 26e5535d21 Bring in @Kuba PEP-8 BranchMerge branch 'kuba-pep8' 2014-11-23 16:02:01 -08:00