Commit graph

13 commits

Author SHA1 Message Date
ohemorange
6eb459354f Address erikrose's comments on #5329 (#5400) 2018-01-09 16:48:16 -08:00
ohemorange
8585cdd861 Deprecate Python2.6 by using Python3 on CentOS/RHEL 6 (#5329)
* If there's no python or there's only python2.6 on red hat systems, install python3

* Always check for python2.6

* address style, documentation, nits

* factor out all initialization code

* fix up python version return value when no python installed

* add no python error and exit

* document DeterminePythonVersion parameters

* build letsencrypt-auto

* close brace

* build leauto

* fix syntax errors

* set USE_PYTHON_3 for all cases

* rip out NOCRASH

* replace NOCRASH, update LE_PYTHON set logic

* use built-in venv for py3

* switch to LE_PYTHON not affecting bootstrap selection and not overwriting LE_PYTHON

* python3ify fetch.py

* get fetch.py working with python2 and 3

* don't verify server certificates in fetch.py HttpsGetter

* Use SSLContext and an environment variable so that our tests continue to never verify server certificates.

* typo

* build

* remove commented out code

* address review comments

* add documentation for YES_FLAG and QUIET_FLAG

* Add tests to centos6 Dockerfile to make sure we install python3 if and only if appropriate to do so.
2018-01-08 13:57:04 -08:00
Erik Rose
e7884898ec Simplify and stop repeating knowledge by hard-coding timeout into HttpsGetter.get().
Also, switch timeout to 30 so it has every opportunity to actually work, even in bad network weather. (I posit that people are used to 30-second timeouts.)

Stop catching URLError explicitly, since it's a subclass of the already-caught IOError.
2017-09-18 09:55:16 -04:00
Chris J
9be4fedeec Add timeout to certbot-auto HTTPS fetches. Fix #4473. 2017-09-18 09:52:17 -04:00
sedrubal
5d75906b27 Fix print for python3 in certbot-auto (#4263)
Use printfunction from __future__ in order to get letsencrypt installed on a python3 only system.
2017-03-06 17:34:03 -08:00
Amjad Mashaal
1fdf41e636 Adding modification check against the current /letsencrypt-auto 2016-08-04 14:22:20 +02:00
bmw
f8dd9411b8 Merge pull request #3026 from SwartzCr/issue_2839
update pypi for auto
2016-05-24 18:34:39 -07:00
Noah Swartz
01ebab26bf update pypi for auto 2016-05-18 14:21:57 -07:00
Noah Swartz
c4fc7b30e3 change github URL 2016-05-18 13:44:29 -07:00
Brad Warren
45681909c7 Selectively rename le-auto strings 2016-04-20 14:39:26 -04:00
Peter Eckersley
e17bb27508 Remove test key 2016-01-11 09:19:21 -08:00
Peter Eckersley
0c09eaff3c Switch to real release key
(though this is still a test signature)
2016-01-10 23:18:52 -08:00
Erik Rose
cd43e9035b Rename letsencrypt_auto dir to match other dirs.
Originally, I had it in mind to move letsencrypt-auto inside this dir. However, now we'd like to copy it or link it to the root level, where people are used to finding it (at least for awhile). Since it would be confusing to have a letsencrypt-auto and a letsencrypt_auto right next to each other, we rename this folder.
2016-01-08 16:26:25 -05:00
Renamed from letsencrypt_auto/pieces/fetch.py (Browse further)