17 Commits
Author SHA1 Message Date
Peter EckersleyandBrad Warren bde1d9fdb1 Renew symlink safety (#3560)
Re-do the fix for #3497 to ensure it works in all cases.

* If lineages are in an inconsistent (non-deployed) state, deploy them

* Test new _handle_identical_cert case

* Move lineage.has_pending_deployment() check up to _auth_from_domains

Less conceptually nice, but in the "renew" verb case it wasn't being called :(

* Swap _auth_from_domains return type

 * It now matches _treat_as_renewal & _handle_identical_cert_request etc

* Revert "Move lineage.has_pending_deployment() check up to _auth_from_domains"

This reverts commit a7fe734d73.

* Move test back to handle_identical_cert_request

* We need to check for non-deployment on two separate code paths

 - Once high up in "renew" (because failure to be deployed stops us from
   divind down the stack)
 - Once way down in _handle_identical_cert_request (because that's where it
   makes the most sense for run / certonly)
 - So refactor that work into storage.py

* We don't necessarily reinstall
2016-10-04 10:18:05 -07:00
Yen Chi Hsuan fe76d558ed Enable unit tests of certbot core on Python 3 2016-08-06 21:09:43 +08:00
Brad Warren aaf93b65b0 Refactor storage.relevant_values 2016-06-13 16:55:45 -07:00
Brad Warren b57677b16a Use cli.DEFAULTS in storage.py 2016-06-13 14:57:14 -07:00
Brad Warren 2c803eff6a Use get_names_from_cert in storage.py 2016-06-08 17:01:54 -07:00
Blake Griffith d9d2377242 Rename certbot.le_util to certbot.util
Also rename certbot/tests/le_util_test.py to certbot/tests/util_test.py
2016-05-25 18:50:02 -05:00
Brad Warren 3576d372a6 Add warning about parsing old configuration file 2016-05-23 14:32:43 -07:00
Brad Warren c3c9441a59 Save version in renewal config file 2016-05-23 14:09:31 -07:00
Brad Warren 0e9aec20a7 Add CURRENT_VERSION constant 2016-05-23 14:04:13 -07:00
Amjad Mashaal bf6f6b636c Setting value of commented renew_before_expiry to default value 2016-04-28 02:32:53 +02:00
Amjad Mashaal e3ad290dff Moving renew_before_expiry comment to initial_comment 2016-04-27 02:50:36 +02:00
Amjad Mashaal 070642faaf Fixing renew_before_expiry comment 2016-04-26 05:26:07 +02:00
Amjad Mashaal 771f5cfe49 Implementing schoen's correction 2016-04-26 04:20:50 +02:00
Amjad Mashaal cafcffb86e Fixing errors 2016-04-16 14:38:46 +02:00
Amjad Mashaal 82ee461e34 Adding renewal interval along with comment to the renewal configuration file 2016-04-16 14:38:46 +02:00
Brad Warren 1b565ef74a s/Let's Encrypt/Certbot 2016-04-13 16:13:50 -07:00
Brad Warren 3961b70deb s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00