Seth Schoen
f160a51aa7
Don't crash if an existing lineage is slightly corrupt
2015-09-15 17:27:27 -07:00
Seth Schoen
c170a7a16b
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-15 12:57:51 -07:00
Seth Schoen
a6426867d2
Merge branch 'master' into treat_duplicate_as_renewal
2015-09-14 10:32:03 -07:00
Seth Schoen
d66e65af11
Remove short -D for --duplicate
2015-09-14 10:31:43 -07:00
Seth Schoen
a38bb41856
PR cleanup
2015-09-11 13:49:26 -07:00
Seth Schoen
791825151a
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-11 00:42:35 -07:00
Seth Schoen
f09016321b
Fix logic error if requesting nonduplicative cert
2015-09-10 15:12:36 -07:00
Seth Schoen
7b5b182f77
Test for _find_duplicative_certs
2015-09-10 14:59:29 -07:00
Seth Schoen
ff85bd30b7
Disable duplicate-code pylint check
2015-09-10 14:59:10 -07:00
Seth Schoen
7c2a87a51d
Remove explicit .namespace for easier testing
2015-09-10 14:45:30 -07:00
Seth Schoen
9524d98411
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-09 15:10:55 -07:00
Seth Schoen
32f0f9d225
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-09 00:12:18 -07:00
Seth Schoen
244dc30306
Fewer locals (lint would still complain)
2015-09-09 00:11:44 -07:00
Seth Schoen
2006c3a067
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-08 21:02:06 -07:00
Seth Schoen
3cc15c6193
Cleanup
2015-09-08 21:01:53 -07:00
Seth Schoen
df42cca26e
More useful explanation of --duplicate
2015-09-08 08:58:43 -07:00
Seth Schoen
b375b9c074
Fix indentation
2015-09-08 08:48:46 -07:00
Seth Schoen
7dda21817a
Add --duplicate command-line option
2015-09-08 01:50:29 -07:00
Seth Schoen
7aa9fe845a
Basic fix for #411
2015-09-08 01:33:03 -07:00
Seth Schoen
05ee92f8cd
Remove Python 3 Travis checks
2015-08-06 12:07:00 -07:00
Seth Schoen
fbb0058bcd
Enable renewer test that was failing
2015-06-25 18:15:59 -07:00
Seth Schoen
c54f154ea6
Try to renew certs before trying to deploy them
2015-06-25 18:12:45 -07:00
Seth Schoen
d4bdba9726
Merge branch 'acme-spec-158' of https://github.com/kuba/lets-encrypt-preview
...
Resolved conflict in errors.py (LetsEncryptContAuthError renamed
to ContAuthError)
Conflicts:
letsencrypt/errors.py
2015-06-23 15:55:13 -07:00
Seth Schoen
2027110512
Add a single performance-related TODO comment
2015-06-01 11:34:12 -07:00
Seth Schoen
e15b7b4deb
Merge branch 'master' into renewer_config_location
...
Conflicts:
letsencrypt/cli.py
letsencrypt/client.py
letsencrypt/interfaces.py
2015-05-28 14:55:47 -07:00
Seth Schoen
3dbf47eb3f
Merge branch 'renewer-cleanup' of https://github.com/kuba/lets-encrypt-preview
2015-05-28 12:36:32 -07:00
Seth Schoen
b617305927
Inelegant approach to support --renewer-config-file command-line argument
2015-05-27 12:38:47 -07:00
Seth Schoen
b2b70279c2
Merge branch 'kuba-test-mode' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-26 14:34:31 -07:00
Seth Schoen
f7718d14aa
API documentation on obtain_and_enroll_cert
2015-05-22 14:42:19 -07:00
Seth Schoen
cdd365af9a
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-22 14:39:51 -07:00
Seth Schoen
1cddd0fba1
Use standard plugins interface in config serialization
2015-05-22 14:29:50 -07:00
Seth Schoen
5c6d833fc1
Merge branch 'master' into renewer
2015-05-22 12:49:03 -07:00
Seth Schoen
b8a024b65b
More generality for renewer config. (Still no CLI flags.)
2015-05-21 16:33:38 -07:00
Seth Schoen
536e99dd40
Merge branch 'master' into renewer
2015-05-21 15:19:03 -07:00
Seth Schoen
fcd8670baf
Merge branch 'master' into renewer
2015-05-21 13:06:12 -07:00
Seth Schoen
58156a29d3
Fix typos
2015-05-19 17:06:06 -07:00
Seth Schoen
9571c7288c
Merge branch 'kuba-crypto_util_100' into renewer
...
Conflicts:
letsencrypt/crypto_util.py
letsencrypt/tests/crypto_util_test.py
2015-05-19 14:10:24 -07:00
Seth Schoen
42b3e2180a
Check latest, not current cert version. Fixes #423 .
2015-05-18 16:50:46 -07:00
Seth Schoen
8f25241170
Introduce proper renewer config via constants.py
2015-05-18 15:57:12 -07: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
cd74e7f20d
Merge branch 'master' into renewer
2015-05-16 23:53:01 -07:00
Seth Schoen
6f4212dcf1
Fix trivial documentation typo
2015-05-16 23:52:33 -07:00
Seth Schoen
52fefad693
Basic functionality of run/auth CLI verbs
2015-05-16 23:51:58 -07:00
Seth Schoen
0f64082f1d
Document newly-added functions and methods
2015-05-16 21:27:06 -07:00
Seth Schoen
dd18040e47
Use getattr() instead of .__getattribute__()
2015-05-15 15:55:11 -07:00
Seth Schoen
6db7cb5210
Merge remote-tracking branch 'origin/master' into renewer
2015-05-15 12:10:14 -07:00
Seth Schoen
4a100490a1
Readability improvements for storage.py
2015-05-14 17:36:30 -07:00
Seth Schoen
9a144b46bc
Remove TODO referring to obsolete .config feature
2015-05-14 17:03:20 -07:00
Seth Schoen
64d4e6249c
Fix some PEP8 issues
2015-05-14 17:01:04 -07:00
Seth Schoen
2201e7944d
Unit tests for le_util.unique_lineage_name()
2015-05-14 16:47:41 -07:00
Seth Schoen
ca4bece393
Attempt to fix #378
2015-05-14 15:36:51 -07:00
Seth Schoen
018201170c
Fix indentation
2015-05-14 15:06:22 -07:00
Seth Schoen
183b49fbc2
Consolidate and shorten some renewer tests
2015-05-14 14:59:24 -07:00
Seth Schoen
c951429895
Separate stdlib imports from third-party
2015-05-14 14:36:43 -07:00
Seth Schoen
866d236249
Style cleanups in renewer test
2015-05-14 14:26:01 -07:00
Seth Schoen
87592d64a9
Moving code outside of try block
2015-05-14 12:42:48 -07:00
Seth Schoen
fb8b2f1415
Moving code outside of try block
2015-05-14 12:40:03 -07:00
Seth Schoen
e612d52693
Indentation fix
2015-05-14 12:39:57 -07:00
Seth Schoen
9556203ae9
Explicit "is None"
2015-05-14 12:28:24 -07:00
Seth Schoen
e469ae4ed8
Remove magic constant
2015-05-14 12:27:52 -07:00
Seth Schoen
ff41397ccf
Consolidate redundant tests in a loop
2015-05-14 12:27:38 -07:00
Seth Schoen
b8fef70bf5
Making clear that other files don't actually exist
2015-05-14 12:12:26 -07:00
Seth Schoen
c5a44f3e39
Removing magic constants
2015-05-14 12:12:16 -07:00
Seth Schoen
56b71e3b32
Replacing magic constant
2015-05-14 12:07:39 -07:00
Seth Schoen
d443fd9074
Explicit "is not None"
2015-05-14 12:06:21 -07:00
Seth Schoen
fc81f18864
Clarify that these test files never exist
2015-05-14 11:53:48 -07:00
Seth Schoen
995759abad
pragma: no cover for test main function
2015-05-14 11:49:38 -07:00
Seth Schoen
93953604a2
Don't redefine ALL_FOUR
2015-05-14 11:48:30 -07:00
Seth Schoen
35308bfc7d
Unify implementation of notbefore and notafter
2015-05-14 11:45:40 -07:00
Seth Schoen
af767f917b
Unit tests for notify.py and get_sans_from_cert
2015-05-13 22:35:00 -07:00
Seth Schoen
0a62bd6ebe
Reorganize and shorten some renewer tests
2015-05-13 14:29:19 -07:00
Seth Schoen
2c6cfe3f81
Cleanup to get rid of scripts directory
2015-05-13 13:18:37 -07:00
Seth Schoen
6f6ee897f8
Changes to fix problems after reorganization
2015-05-13 12:37:04 -07:00
Seth Schoen
5d22925108
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-13 12:11:04 -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
Seth Schoen
587c81ebb4
Merge remote-tracking branch 'origin' into renewer
2015-05-12 11:30:01 -07:00
Seth Schoen
b3029a5436
Merge remote-tracking branch 'origin' into renewer
2015-05-11 20:54:26 -07:00
Seth Schoen
5a85e1e46e
Changes to satisfy pylint
2015-05-11 15:02:02 -07:00
Seth Schoen
db93b7b3c6
Complete test coverage for renewer.py/storage.py
2015-05-11 13:50:07 -07:00
Seth Schoen
38cdd422d2
Improve test coverage
2015-05-11 12:00:54 -07:00
Seth Schoen
6f56dc1418
Again require RenewableCert to be given a ConfigObj
2015-05-11 11:49:20 -07:00
Seth Schoen
06a3f54c92
Updated target for @mock.patch in new storage.py
2015-05-11 11:38:50 -07:00
Seth Schoen
2fb684d784
Fix some existing tests
2015-05-11 11:20:53 -07:00
Seth Schoen
3fe8f4ce03
Merge remote-tracking branch 'origin/master' into renewer
2015-05-10 22:46:16 -07:00
Seth Schoen
1e39b72ab7
Updating TODO items
2015-05-10 22:45:35 -07:00
Seth Schoen
b235dc4c80
Work in progress: make renewer renew
2015-05-10 22:43:58 -07:00
Seth Schoen
30a4f72649
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-10 09:19:51 -07:00
Seth Schoen
f0ee6f1257
Make saving files, recording configurator names work
2015-05-10 09:18:55 -07:00
Seth Schoen
a9d6735bce
Update for changed new_lineage call prototype
2015-05-09 21:24:38 -07:00
Seth Schoen
eaa0bae45f
We also need .as_pem() for the chain in this method
2015-05-09 21:01:34 -07:00
Seth Schoen
b30a8fbe90
Merge branch 'cli' of https://github.com/kuba/lets-encrypt-preview into renewer
2015-05-09 20:46:30 -07: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
Seth Schoen
2ee1ab05b3
Work in progress toward renewer enrollment
2015-05-08 15:00:35 -07:00
Seth Schoen
953b57453e
Test for creating renewer db dirs that don't exist
2015-05-07 15:25:02 -07:00
Seth Schoen
28438dd111
Changes to get successful enrollment in renewer DB
2015-05-07 15:07:04 -07:00
Seth Schoen
3b2ffff154
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-07 12:04:11 -07:00
Seth Schoen
5fe9c079a0
Merge remote-tracking branch 'origin' into renewer
2015-05-05 12:49:24 -07:00
Seth Schoen
b0dfea33c6
Remove a debug print statement
2015-05-04 16:33:17 -07:00
Seth Schoen
45541a3a23
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
2015-05-04 15:59:14 -07:00
Seth Schoen
bdcb94a2b5
pylint seems strict about the local variable count
2015-05-01 21:57:22 -07:00