203 Commits
Author SHA1 Message Date
Daniel Roesler f7aaf199e4 switched coveralls badge to use master branch 2015-12-06 02:36:32 -08:00
Daniel Roesler b37284d218 added error handling tests 2015-12-06 02:26:03 -08:00
Daniel Roesler e6cad5f0f6 added argparse to requirements for python 2.6 and removed fuse from coverage 2015-12-06 00:38:10 -08:00
Daniel Roesler e0a874203c added monkey patching via fuse for full integration test 2015-12-06 00:23:22 -08:00
Daniel Roesler dacd06f2c5 added coveralls to travis test 2015-12-05 18:58:29 -08:00
Daniel Roesler d3e807302b apparently coverage doesn't support python 3.2 2015-12-05 18:40:36 -08:00
Daniel Roesler 1bda17f176 added coverage to tests 2015-12-05 18:38:14 -08:00
Daniel Roesler 12636e5fb3 added code coverage 2015-12-05 18:22:42 -08:00
Daniel Roesler 7cbf7ecc35 apparently python 2.6 doesn't have test discovery 2015-12-05 18:19:00 -08:00
Daniel Roesler d866955185 added initial test structure 2015-12-05 18:11:29 -08:00
Daniel Roesler c3493dcba8 tweaked help text on default certificate authority 2015-12-05 17:44:23 -08:00
Daniel Roesler 862175e92f added kwarg for log to argparse function calling 2015-12-05 17:33:22 -08:00
Daniel Roesler 406f49aa15 added default CA back at the module level 2015-12-05 17:31:48 -08:00
Daniel Roesler 97d9090a10 Merge branch 'master' into pull_32 2015-12-05 17:24:43 -08:00
Daniel Roesler 36ec4bdd37 no need to save the certificate to a variable in the example cron script, since it will exit before chained.pem is overwritten 2015-12-05 17:19:14 -08:00
Tobias Heinzen 6aa18cc5a2 adding CA parameter to command line utility 2015-12-06 02:17:35 +01:00
Benoit Garret a9a7170c5a cron example: do not write the certificate if there is an error 2015-12-06 02:00:54 +01:00
Daniel Roesler b7ee7b8d52 Merge branch 'code-reduction' into logging-rewrite 2015-12-05 16:45:53 -08:00
somecoder42 ec7b74cfc7 simpify protected
Conflicts:
	acme_tiny.py
2015-12-05 16:42:40 -08:00
somecoder42 f940739ba9 shrink pub_exp/pub_mod code
This does not reduce readability in my opinion, but that is debatable
Conflicts:
	acme_tiny.py
2015-12-05 16:37:14 -08:00
somecoder42 8d2b46519a Use 'with' when opening wellknown_path 2015-12-05 16:34:52 -08:00
somecoder42 1a16509caa replace challenge['token'] by token
Conflicts:
	acme_tiny.py
2015-12-05 16:34:22 -08:00
Daniel Roesler aebde7ae1a added propper logging, but needs code reduction to bring back below 200 lines 2015-12-05 16:25:53 -08:00
Daniel Roesler ee20af39be tweaked import formatting for python 2 and 3 2015-12-05 15:07:22 -08:00
Daniel Roesler 9ce0107fa3 Merge remote-tracking branch 'origin/master' into pull_22 2015-12-05 14:57:11 -08:00
Daniel Roesler ef7a46df3f Merge branch 'master' into pull_22 2015-12-05 14:56:58 -08:00
Daniel Roesler 59dae1dc5f Merge pull request #26 from jwilk/readme-formatting
README: enable syntax highlighting for nginx snippet
2015-12-05 14:55:56 -08:00
Jakub Wilk 15cbcc8cfb README: enable syntax highlighting for nginx snippet 2015-12-05 15:41:15 +01:00
Collin Anderson 0c980e00ec Python 3 support 2015-12-04 17:46:54 -05:00
Nicolas Dietrich 2bcf39f8eb Fix two missing words 2015-12-04 23:03:03 +01:00
Daniel Roesler 8d9dc34056 Merge remote-tracking branch 'maghoff/patch-1' into pull_19 2015-12-04 12:38:39 -08:00
Daniel Roesler 3d0e0189e0 consolidated helptext dedent a bit 2015-12-04 12:35:12 -08:00
Daniel Roesler fdae5f75a1 Merge remote-tracking branch 'jomo/patch-indent' into pull_17 2015-12-04 12:32:33 -08:00
Daniel Roesler 47ebd611ab updated urlsafe regex to use raw string 2015-12-04 12:28:13 -08:00
Daniel Roesler fe7cb76489 Merge remote-tracking branch 'jomo/patch-regex' into pull_16 2015-12-04 12:26:35 -08:00
Daniel Roesler 1775b70654 prevent malicious tokens from being anything but urlsafe base64 2015-12-04 12:23:37 -08:00
Magnus Hoff dc800f5e02 Fix typo 2015-12-04 20:44:45 +01:00
jomo 64465ac88e use textwrap.dedent
textwrap was already imported, so why not use it? :)
From https://docs.python.org/2/library/textwrap.html#textwrap.dedent:
> This can be used to make triple-quoted strings line up with the left edge of the display, while still presenting them in the source code in indented form.
2015-12-04 17:25:08 +01:00
jomo 3f7fe35625 use raw regex string
From https://docs.python.org/2/howto/regex.html#the-backslash-plague:
> backslashes are not handled in any special way in a string literal prefixed with 'r', so r"\n" is a two-character string containing '\' and 'n', while "\n" is a one-character string containing a newline.
2015-12-04 17:20:59 +01:00
Paul Jimenez a866b255e7 Join paths platform-neutrally
Use os.path to join paths in a more platform-neutral fashion
2015-12-04 11:06:45 -05:00
Daniel Roesler e12cd728c8 Merge pull request #7 from temporaryaccount/compat
Make compatible with older 2.x versions of Python
2015-12-04 06:43:36 -08:00
temp b2cd85d8f7 Make compatible with older 2.x versions of Python 2015-12-04 18:29:01 +04:00
Daniel Roesler 80c83f8150 added more verbose error output to openssl errors 2015-12-04 06:11:43 -08:00
Daniel Roesler af3a2e7de7 Merge remote-tracking branch 'origin/master' 2015-12-04 06:08:13 -08:00
Daniel Roesler cffe2a8b29 added error output of openssl signature errors 2015-12-04 06:08:01 -08:00
Daniel Roesler 8c676b6169 Merge pull request #6 from jwilk/spelling
fix typo
2015-12-04 05:45:22 -08:00
Jakub Wilk 01919d4bda fix typo 2015-12-04 13:35:20 +01:00
Daniel Roesler 338f7bedaf fixed #4, specify an output file for wget to prevent clobbering 2015-12-03 20:56:01 -08:00
Daniel Roesler c711b821af fixed #3, cleared up confusing directory names in example helptext 2015-12-03 20:53:04 -08:00
Daniel Roesler 3f68f50f34 typos 2015-11-25 22:54:57 -08:00