Seth Schoen
4964f5dc67
Merge remote-tracking branch 'origin/master' into save_comments
2016-04-01 17:45:31 -07:00
Seth Schoen
b13ce26eb3
Basic attempt at fixing #2368
...
Changing the method of updating and rewriting renewal config files
to use the same ConfigObj instance rather than a new one, and change
individual renewalparams items individually rather than replacing
the entire renewalparams dict with a new dict (which may also cause
a loss of associated comment data).
2016-03-30 16:59:13 -07:00
Peter Eckersley
ad5a08f5fc
Actually run the renew hook
2016-03-29 17:58:53 -07:00
Seth Schoen
a9e0b0f6ab
Another try on protected access lint error
2016-03-24 12:02:11 -07:00
Seth Schoen
f3362d9978
Disabling a protected access complaint
2016-03-23 17:41:56 -07:00
Seth Schoen
dffa98d5ed
Merge remote-tracking branch 'origin/master' into no_irrelevant_items
...
Conflicts:
letsencrypt/cli.py
2016-03-23 17:12:54 -07:00
Seth Schoen
4f7c5b32e8
Cleanup responding to protected-access problems
2016-03-23 14:57:01 -07:00
Seth Schoen
1f22b3cbef
Move _relevant from cli.py to storage.py
2016-03-14 20:58:20 -07:00
Seth Schoen
29a4b2a37e
Remove two more debug prints
2016-03-14 17:40:26 -07:00
Seth Schoen
b31372b271
Remove debug prints
2016-03-14 17:13:52 -07:00
Seth Schoen
bd1b522940
Remove interact()
2016-03-14 17:11:09 -07:00
Seth Schoen
2054150abb
Work in progress
2016-03-14 15:35:20 -07:00
Roy Wellington Ⅳ
19b93ec025
Update this octal literal to be Python3 compatible.
...
The `"0" 1*digits` syntax is gone in Python 3. This syntax replaced it.
It was ported into Python 2 at 2.6[1].
[1]: https://docs.python.org/2/whatsnew/2.6.html
2016-02-26 21:18:20 -08:00
Brad Warren
e1e52a9d56
Verify both symlink and target
2016-02-11 17:47:15 -08:00
Seth Schoen
148b0c155e
Merge remote-tracking branch 'origin/master' into renew_verb
2016-02-04 14:40:52 -08:00
Peter Eckersley
c152b452b2
Start testing the renew verb, plus other goodies:
...
* --dry-run works with renew
* test harness for renewal is now fairly usable
* coverage on cli.py 80% -> 88%
2016-02-03 18:40:50 -08:00
Brad Warren
04f13a9cf8
Use symlinks not their targets
2016-02-03 16:22:52 -08:00
Brad Warren
db9a931fb0
Update cli_config in save_successor
2016-02-03 16:10:47 -08:00
Brad Warren
ca8b4751ad
Update config in save_successor
2016-02-03 15:13:17 -08:00
Brad Warren
c818b4f689
Refactor new_lineage
2016-02-02 18:02:31 -08:00
Brad Warren
81b3a98346
Added write_renewal_config function
2016-02-02 17:23:01 -08:00
TheNavigat
b2ff1ed20f
Adding docstring to functions in storage.py
2016-01-29 19:25:39 +02:00
Blake Griffith
189d6eea26
Add check that symlinks exist.
2016-01-29 18:26:24 +02:00
Peter Eckersley
c89dcad313
This default shouldn't be a magic string
2016-01-11 12:22:22 -08:00
Peter Eckersley
3a7565afe5
trigger travis rerun
2016-01-10 01:03:50 -08:00
Peter Eckersley
5b3bd890b7
Default: renew 30 days before expiry, rather than 10
...
- gives more time for various fallback strategies if renewal doesn't work the
first time
2016-01-09 15:15:05 -08:00
Daniel Convissor
0822906c29
Keep storage.names() from passing None to open()
...
Fixes exiting abnormally with:
TypeError: coercing to Unicode: need string or buffer, NoneType found
2015-12-19 10:06:24 -05:00
bmw
0c704fa7f2
Merge pull request #1929 from SwartzCr/config-parse
...
fix issue with parsing renewal confs
2015-12-18 11:41:44 -08:00
Noah Swartz
e463fca34d
fix broken test
2015-12-17 16:01:21 -08:00
Peter Eckersley
a99f1d1395
This should be maximally legible.
2015-12-12 17:24:05 -08:00
Peter Eckersley
aee25fb05e
Attempt to fix ridiculous log message
2015-12-12 17:21:24 -08:00
Seth Schoen
8fdff540b5
Add interactive flag to should_auto{renew,deploy}
2015-12-11 22:02:46 -08:00
Nav
b42b5d0f08
Refining content of logging messages
2015-11-21 18:07:59 +02:00
Nav
5667acc558
Refining importing libraries
2015-11-21 17:57:03 +02:00
Nav
25e6502aac
Adding paths to cert and chain logging messages
2015-11-18 21:28:57 +02:00
Nav
24e5e3d8e5
Fixing tests broken by including the variable x in the logger debug messages
2015-11-18 12:49:06 +02:00
Nav
678fb555c0
Improving content of logging messages
2015-11-18 12:39:43 +02:00
Nav
062b4722e2
Adding even more logging to storage.py
2015-11-16 15:03:27 +02:00
Nav
6760355a23
Added more logging
2015-11-13 11:44:10 +02:00
Nav
cec5bb8b84
Adding logging for _consistent
2015-11-13 11:13:31 +02:00
Nav
f972cf19d3
Adding storage logging
2015-11-12 21:11:16 +02:00
Dev & Sec
2c66c7b333
use more accurate method to calculate time interval in should_autodeploy() and should_autorenew() functions
2015-10-26 23:22:22 +00:00
Brad Warren
2bedd57aa9
Merge branch 'master' into storage_paranoia
2015-10-22 13:01:20 -07:00
Brad Warren
83a7d4d792
changes += schoen's feedback
2015-10-17 17:26:52 -07:00
Brad Warren
2adcce6b3d
Delete code in storage.py
2015-10-17 13:53:22 -07:00
Brad Warren
2239ae9a68
Don't read global renewer config file
2015-10-13 18:39:23 -07:00
Brad Warren
0e6d652ce3
Move ConfigObj parsing inside of RenewableCert.__init__
2015-10-13 18:25:31 -07:00
Brad Warren
acc44f2b65
Always delete lockfiles in _fix_symlinks
2015-10-12 21:04:40 -07:00
Brad Warren
b90827dc98
Added tests
2015-10-12 20:40:17 -07:00
Brad Warren
f8f80f5392
Added calls to recovery code
2015-10-12 18:39:17 -07:00