certbot-apache 3.0.0__tar.gz → 3.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {certbot_apache-3.0.0/certbot_apache.egg-info → certbot_apache-3.1.0}/PKG-INFO +4 -7
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/apache_util.py +3 -9
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/configurator.py +3 -3
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/constants.py +3 -7
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/parser.py +2 -2
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/configurator_test.py +16 -24
- {certbot_apache-3.0.0 → certbot_apache-3.1.0/certbot_apache.egg-info}/PKG-INFO +4 -7
- certbot_apache-3.1.0/certbot_apache.egg-info/requires.txt +9 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/setup.py +2 -5
- certbot_apache-3.0.0/certbot_apache.egg-info/requires.txt +0 -13
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/LICENSE.txt +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/MANIFEST.in +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/README.rst +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/__init__.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/__init__.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/apacheparser.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/assertions.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/augeas_lens/httpd.aug +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/augeasparser.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/display_ops.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/dualparser.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/entrypoint.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/http_01.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/interfaces.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/obj.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_alpine.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_arch.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_centos.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_darwin.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_debian.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_fedora.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_gentoo.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_suse.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/override_void.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/parsernode_util.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/__init__.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/augeasnode_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/autohsts_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/centos_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/complex_parsing_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/configurator_reverter_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/debian_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/display_ops_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/dualnode_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/entrypoint_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/fedora_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/gentoo_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/http_01_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/obj_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parser_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parsernode_configurator_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parsernode_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parsernode_util_test.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf/httpd.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf/magic +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/README +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/autoindex.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/centos.example.com.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/userdir.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.d/welcome.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-base.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-dav.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-lua.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-mpm.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-proxy.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/00-systemd.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/httpd/conf.modules.d/01-cgi.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/sites +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/centos7_apache/apache/sysconfig/httpd +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/complex_parsing/apache2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/complex_parsing/conf-enabled/dummy.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/complex_parsing/test_fnmatch.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/complex_parsing/test_variables.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/apache2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-available/bad_conf_file.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-available/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-available/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-available/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-enabled/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-enabled/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/conf-enabled/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/envvars +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/authz_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/dav.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/dav_svn.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/dav_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/rewrite.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-available/ssl.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-enabled/authz_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-enabled/dav.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-enabled/dav_svn.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/mods-enabled/dav_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/ports.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-available/another_wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-available/old-and-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-available/wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-enabled/another_wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-enabled/old-and-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/apache2/sites-enabled/wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/augeas_vhosts/sites +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/apache2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-available/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-available/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-available/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-enabled/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-enabled/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/conf-enabled/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/envvars +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/mods-available/ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/mods-available/ssl.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/ports.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/sites-available/000-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/sites-available/default-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/apache2/sites-enabled/000-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/default_vhost/sites +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/apache2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/envvars +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/ports.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/sites-available/default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/sites-available/multi-vhost.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/sites-enabled/default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multi_vhosts/apache2/sites-enabled/multi-vhost.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/apache2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-available/bad_conf_file.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-available/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-available/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-available/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-enabled/other-vhosts-access-log.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-enabled/security.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/conf-enabled/serve-cgi-bin.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/envvars +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/authz_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/dav.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/dav_svn.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/dav_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/rewrite.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-available/ssl.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-enabled/authz_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-enabled/dav.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-enabled/dav_svn.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/mods-enabled/dav_svn.load +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/ports.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/000-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/certbot.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/default-ssl-port-only.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/default-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/duplicatehttp.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/duplicatehttps.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/empty.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/encryption-example.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/mod_macro-example.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/no-directives.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/ocsp-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-available/wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/000-default.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/certbot.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/default-ssl-port-only.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/default-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/duplicatehttp.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/duplicatehttps.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/encryption-example.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/mod_macro-example.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/non-symlink.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/ocsp-ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/apache2/sites-enabled/wildcard.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/debian_apache_2_4/multiple_vhosts/sites +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/httpd.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/magic +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_default_settings.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_error_documents.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_languages.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_autoindex.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_info.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_log_config.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_mime.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_status.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mod_userdir.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/00_mpm.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/10_mod_mem_cache.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/40_mod_ssl.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/41_mod_http2.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/45_mod_dav.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/modules.d/46_mod_ldap.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/vhosts.d/00_default_ssl_vhost.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/vhosts.d/00_default_vhost.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/vhosts.d/default_vhost.include +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/apache2/vhosts.d/gentoo.example.com.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/conf.d/apache2 +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/testdata/gentoo_apache/apache/sites +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/util.py +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tls_configs/current-options-ssl-apache.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tls_configs/old-options-ssl-apache.conf +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/py.typed +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache.egg-info/SOURCES.txt +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache.egg-info/dependency_links.txt +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache.egg-info/entry_points.txt +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache.egg-info/top_level.txt +0 -0
- {certbot_apache-3.0.0 → certbot_apache-3.1.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: certbot-apache
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Apache plugin for Certbot
|
|
5
5
|
Home-page: https://github.com/certbot/certbot
|
|
6
6
|
Author: Certbot Project
|
|
@@ -13,7 +13,6 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -24,13 +23,11 @@ Classifier: Topic :: System :: Installation/Setup
|
|
|
24
23
|
Classifier: Topic :: System :: Networking
|
|
25
24
|
Classifier: Topic :: System :: Systems Administration
|
|
26
25
|
Classifier: Topic :: Utilities
|
|
27
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.9
|
|
28
27
|
License-File: LICENSE.txt
|
|
29
|
-
Requires-Dist: acme>=3.
|
|
30
|
-
Requires-Dist: certbot>=3.
|
|
31
|
-
Requires-Dist: importlib_resources>=1.3.1; python_version < "3.9"
|
|
28
|
+
Requires-Dist: acme>=3.1.0
|
|
29
|
+
Requires-Dist: certbot>=3.1.0
|
|
32
30
|
Requires-Dist: python-augeas
|
|
33
|
-
Requires-Dist: setuptools>=41.6.0
|
|
34
31
|
Provides-Extra: dev
|
|
35
32
|
Requires-Dist: apacheconfig>=0.3.2; extra == "dev"
|
|
36
33
|
Provides-Extra: test
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import atexit
|
|
3
3
|
import binascii
|
|
4
4
|
import fnmatch
|
|
5
|
+
import importlib.resources
|
|
5
6
|
import logging
|
|
6
7
|
import re
|
|
7
8
|
import subprocess
|
|
8
|
-
import sys
|
|
9
9
|
from contextlib import ExitStack
|
|
10
10
|
from typing import Dict
|
|
11
11
|
from typing import Iterable
|
|
@@ -17,12 +17,6 @@ from certbot import errors
|
|
|
17
17
|
from certbot import util
|
|
18
18
|
from certbot.compat import os
|
|
19
19
|
|
|
20
|
-
if sys.version_info >= (3, 9): # pragma: no cover
|
|
21
|
-
import importlib.resources as importlib_resources
|
|
22
|
-
else: # pragma: no cover
|
|
23
|
-
import importlib_resources
|
|
24
|
-
|
|
25
|
-
|
|
26
20
|
logger = logging.getLogger(__name__)
|
|
27
21
|
|
|
28
22
|
|
|
@@ -257,6 +251,6 @@ def find_ssl_apache_conf(prefix: str) -> str:
|
|
|
257
251
|
"""
|
|
258
252
|
file_manager = ExitStack()
|
|
259
253
|
atexit.register(file_manager.close)
|
|
260
|
-
ref = (
|
|
254
|
+
ref = (importlib.resources.files("certbot_apache").joinpath("_internal")
|
|
261
255
|
.joinpath("tls_configs").joinpath("{0}-options-ssl-apache.conf".format(prefix)))
|
|
262
|
-
return str(file_manager.enter_context(
|
|
256
|
+
return str(file_manager.enter_context(importlib.resources.as_file(ref)))
|
|
@@ -295,7 +295,7 @@ class ApacheConfigurator(common.Configurator):
|
|
|
295
295
|
try:
|
|
296
296
|
with open(ssl_module_location, mode="rb") as f:
|
|
297
297
|
contents = f.read()
|
|
298
|
-
except
|
|
298
|
+
except OSError as error:
|
|
299
299
|
logger.debug(str(error), exc_info=True)
|
|
300
300
|
return None
|
|
301
301
|
return contents
|
|
@@ -928,7 +928,7 @@ class ApacheConfigurator(common.Configurator):
|
|
|
928
928
|
try:
|
|
929
929
|
socket.inet_aton(addr.get_addr())
|
|
930
930
|
return socket.gethostbyaddr(addr.get_addr())[0]
|
|
931
|
-
except (
|
|
931
|
+
except (OSError, socket.herror, socket.timeout):
|
|
932
932
|
pass
|
|
933
933
|
|
|
934
934
|
return ""
|
|
@@ -1523,7 +1523,7 @@ class ApacheConfigurator(common.Configurator):
|
|
|
1523
1523
|
# activation (it's not included as default)
|
|
1524
1524
|
if not self.parser.parsed_in_current(ssl_fp):
|
|
1525
1525
|
self.parser.parse_file(ssl_fp)
|
|
1526
|
-
except
|
|
1526
|
+
except OSError:
|
|
1527
1527
|
logger.critical("Error writing/reading to file in make_vhost_ssl", exc_info=True)
|
|
1528
1528
|
raise errors.PluginError("Unable to write/read in make_vhost_ssl")
|
|
1529
1529
|
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
"""Apache plugin constants."""
|
|
2
2
|
import atexit
|
|
3
|
-
import
|
|
3
|
+
import importlib.resources
|
|
4
4
|
from contextlib import ExitStack
|
|
5
5
|
from typing import Dict
|
|
6
6
|
from typing import List
|
|
7
7
|
|
|
8
|
-
if sys.version_info >= (3, 9): # pragma: no cover
|
|
9
|
-
import importlib.resources as importlib_resources
|
|
10
|
-
else: # pragma: no cover
|
|
11
|
-
import importlib_resources
|
|
12
8
|
|
|
13
9
|
MOD_SSL_CONF_DEST = "options-ssl-apache.conf"
|
|
14
10
|
"""Name of the mod_ssl config file as saved
|
|
@@ -46,8 +42,8 @@ def _generate_augeas_lens_dir_static() -> str:
|
|
|
46
42
|
# Python process, and will be automatically cleaned up on exit.
|
|
47
43
|
file_manager = ExitStack()
|
|
48
44
|
atexit.register(file_manager.close)
|
|
49
|
-
augeas_lens_dir_ref =
|
|
50
|
-
return str(file_manager.enter_context(
|
|
45
|
+
augeas_lens_dir_ref = importlib.resources.files("certbot_apache") / "_internal" / "augeas_lens"
|
|
46
|
+
return str(file_manager.enter_context(importlib.resources.as_file(augeas_lens_dir_ref)))
|
|
51
47
|
|
|
52
48
|
AUGEAS_LENS_DIR = _generate_augeas_lens_dir_static()
|
|
53
49
|
"""Path to the Augeas lens directory"""
|
|
@@ -153,7 +153,7 @@ class ApacheParser:
|
|
|
153
153
|
try:
|
|
154
154
|
# This is a noop save
|
|
155
155
|
self.aug.save()
|
|
156
|
-
except (
|
|
156
|
+
except (OSError, RuntimeError):
|
|
157
157
|
self._log_save_errors(ex_errs)
|
|
158
158
|
# Erase Save Notes
|
|
159
159
|
self.configurator.save_notes = ""
|
|
@@ -198,7 +198,7 @@ class ApacheParser:
|
|
|
198
198
|
ex_errs = self.aug.match("/augeas//error")
|
|
199
199
|
try:
|
|
200
200
|
self.aug.save()
|
|
201
|
-
except
|
|
201
|
+
except OSError:
|
|
202
202
|
self._log_save_errors(ex_errs)
|
|
203
203
|
raise
|
|
204
204
|
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/configurator_test.py
RENAMED
|
@@ -174,9 +174,9 @@ class MultipleVhostsTest(util.ApacheTest):
|
|
|
174
174
|
assert "certbot.demo" in names
|
|
175
175
|
|
|
176
176
|
def test_get_bad_path(self):
|
|
177
|
-
assert apache_util.get_file_path(None)
|
|
178
|
-
assert apache_util.get_file_path("nonexistent")
|
|
179
|
-
assert self.config._create_vhost("nonexistent")
|
|
177
|
+
assert apache_util.get_file_path(None) is None
|
|
178
|
+
assert apache_util.get_file_path("nonexistent") is None
|
|
179
|
+
assert self.config._create_vhost("nonexistent") is None # pylint: disable=protected-access
|
|
180
180
|
|
|
181
181
|
def test_get_aug_internal_path(self):
|
|
182
182
|
from certbot_apache._internal.apache_util import get_internal_aug_path
|
|
@@ -303,7 +303,7 @@ class MultipleVhostsTest(util.ApacheTest):
|
|
|
303
303
|
# pylint: disable=protected-access
|
|
304
304
|
assert self.vh_truth[3] == self.config._find_best_vhost("certbot.demo")
|
|
305
305
|
assert self.vh_truth[0] == self.config._find_best_vhost("encryption-example.demo")
|
|
306
|
-
assert self.config._find_best_vhost("does-not-exist.com")
|
|
306
|
+
assert self.config._find_best_vhost("does-not-exist.com") is None
|
|
307
307
|
|
|
308
308
|
def test_find_best_vhost_variety(self):
|
|
309
309
|
# pylint: disable=protected-access
|
|
@@ -1417,7 +1417,7 @@ class AugeasVhostsTest(util.ApacheTest):
|
|
|
1417
1417
|
self.config.parser.aug.match.side_effect = RuntimeError
|
|
1418
1418
|
path = "debian_apache_2_4/augeas_vhosts/apache2/sites-available/old-and-default.conf"
|
|
1419
1419
|
chosen_vhost = self.config._create_vhost(path)
|
|
1420
|
-
assert
|
|
1420
|
+
assert chosen_vhost is None
|
|
1421
1421
|
|
|
1422
1422
|
def test_choosevhost_works(self):
|
|
1423
1423
|
path = "debian_apache_2_4/augeas_vhosts/apache2/sites-available/old-and-default.conf"
|
|
@@ -1518,16 +1518,11 @@ class MultiVhostsTest(util.ApacheTest):
|
|
|
1518
1518
|
with_index_1 = ["/path[1]/section[1]"]
|
|
1519
1519
|
without_index = ["/path/section"]
|
|
1520
1520
|
with_index_2 = ["/path[2]/section[2]"]
|
|
1521
|
-
assert self.config._get_new_vh_path(without_index,
|
|
1522
|
-
|
|
1523
|
-
None
|
|
1524
|
-
assert self.config._get_new_vh_path(without_index,
|
|
1525
|
-
with_index_2) == \
|
|
1526
|
-
with_index_2[0]
|
|
1521
|
+
assert self.config._get_new_vh_path(without_index, with_index_1) is None
|
|
1522
|
+
assert self.config._get_new_vh_path(without_index, with_index_2) == with_index_2[0]
|
|
1527
1523
|
|
|
1528
1524
|
both = with_index_1 + with_index_2
|
|
1529
|
-
assert self.config._get_new_vh_path(without_index, both) ==
|
|
1530
|
-
with_index_2[0]
|
|
1525
|
+
assert self.config._get_new_vh_path(without_index, both) == with_index_2[0]
|
|
1531
1526
|
|
|
1532
1527
|
@mock.patch("certbot_apache._internal.configurator.display_util.notify")
|
|
1533
1528
|
def test_make_vhost_ssl_with_existing_rewrite_rule(self, mock_notify):
|
|
@@ -1658,15 +1653,12 @@ class InstallSslOptionsConfTest(util.ApacheTest):
|
|
|
1658
1653
|
file has been manually edited by the user, and will refuse to update it.
|
|
1659
1654
|
This test ensures that all necessary hashes are present.
|
|
1660
1655
|
"""
|
|
1661
|
-
|
|
1662
|
-
import importlib.resources as importlib_resources
|
|
1663
|
-
else: # pragma: no cover
|
|
1664
|
-
import importlib_resources
|
|
1656
|
+
import importlib.resources
|
|
1665
1657
|
|
|
1666
1658
|
from certbot_apache._internal.constants import ALL_SSL_OPTIONS_HASHES
|
|
1667
1659
|
|
|
1668
|
-
ref =
|
|
1669
|
-
with
|
|
1660
|
+
ref = importlib.resources.files("certbot_apache") / "_internal" / "tls_configs"
|
|
1661
|
+
with importlib.resources.as_file(ref) as tls_configs_dir:
|
|
1670
1662
|
all_files = [os.path.join(tls_configs_dir, name) for name in os.listdir(tls_configs_dir)
|
|
1671
1663
|
if name.endswith('options-ssl-apache.conf')]
|
|
1672
1664
|
assert len(all_files) >= 1
|
|
@@ -1723,14 +1715,14 @@ class InstallSslOptionsConfTest(util.ApacheTest):
|
|
|
1723
1715
|
|
|
1724
1716
|
self.config._openssl_version = None
|
|
1725
1717
|
with mock.patch("certbot_apache._internal.configurator.logger.warning") as mock_log:
|
|
1726
|
-
assert self.config.openssl_version()
|
|
1718
|
+
assert self.config.openssl_version() is None
|
|
1727
1719
|
assert "Could not find ssl_module" in mock_log.call_args[0][0]
|
|
1728
1720
|
|
|
1729
1721
|
# When no ssl_module is present at all
|
|
1730
1722
|
self.config._openssl_version = None
|
|
1731
1723
|
assert "ssl_module" not in self.config.parser.modules
|
|
1732
1724
|
with mock.patch("certbot_apache._internal.configurator.logger.warning") as mock_log:
|
|
1733
|
-
assert self.config.openssl_version()
|
|
1725
|
+
assert self.config.openssl_version() is None
|
|
1734
1726
|
assert "Could not find ssl_module" in mock_log.call_args[0][0]
|
|
1735
1727
|
|
|
1736
1728
|
# When ssl_module is statically linked but --apache-bin not provided
|
|
@@ -1738,13 +1730,13 @@ class InstallSslOptionsConfTest(util.ApacheTest):
|
|
|
1738
1730
|
self.config.options.bin = None
|
|
1739
1731
|
self.config.parser.modules['ssl_module'] = None
|
|
1740
1732
|
with mock.patch("certbot_apache._internal.configurator.logger.warning") as mock_log:
|
|
1741
|
-
assert self.config.openssl_version()
|
|
1733
|
+
assert self.config.openssl_version() is None
|
|
1742
1734
|
assert "ssl_module is statically linked but" in mock_log.call_args[0][0]
|
|
1743
1735
|
|
|
1744
1736
|
self.config.parser.modules['ssl_module'] = "/fake/path"
|
|
1745
1737
|
with mock.patch("certbot_apache._internal.configurator.logger.warning") as mock_log:
|
|
1746
1738
|
# Check that correct logger.warning was printed
|
|
1747
|
-
assert self.config.openssl_version()
|
|
1739
|
+
assert self.config.openssl_version() is None
|
|
1748
1740
|
assert "Unable to read" in mock_log.call_args[0][0]
|
|
1749
1741
|
|
|
1750
1742
|
contents_missing_openssl = b"these contents won't match the regex"
|
|
@@ -1753,7 +1745,7 @@ class InstallSslOptionsConfTest(util.ApacheTest):
|
|
|
1753
1745
|
mock_omf.return_value = contents_missing_openssl
|
|
1754
1746
|
with mock.patch("certbot_apache._internal.configurator.logger.warning") as mock_log:
|
|
1755
1747
|
# Check that correct logger.warning was printed
|
|
1756
|
-
assert self.config.openssl_version()
|
|
1748
|
+
assert self.config.openssl_version() is None
|
|
1757
1749
|
assert "Could not find OpenSSL" in mock_log.call_args[0][0]
|
|
1758
1750
|
|
|
1759
1751
|
def test_open_module_file(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: certbot-apache
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Apache plugin for Certbot
|
|
5
5
|
Home-page: https://github.com/certbot/certbot
|
|
6
6
|
Author: Certbot Project
|
|
@@ -13,7 +13,6 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -24,13 +23,11 @@ Classifier: Topic :: System :: Installation/Setup
|
|
|
24
23
|
Classifier: Topic :: System :: Networking
|
|
25
24
|
Classifier: Topic :: System :: Systems Administration
|
|
26
25
|
Classifier: Topic :: Utilities
|
|
27
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.9
|
|
28
27
|
License-File: LICENSE.txt
|
|
29
|
-
Requires-Dist: acme>=3.
|
|
30
|
-
Requires-Dist: certbot>=3.
|
|
31
|
-
Requires-Dist: importlib_resources>=1.3.1; python_version < "3.9"
|
|
28
|
+
Requires-Dist: acme>=3.1.0
|
|
29
|
+
Requires-Dist: certbot>=3.1.0
|
|
32
30
|
Requires-Dist: python-augeas
|
|
33
|
-
Requires-Dist: setuptools>=41.6.0
|
|
34
31
|
Provides-Extra: dev
|
|
35
32
|
Requires-Dist: apacheconfig>=0.3.2; extra == "dev"
|
|
36
33
|
Provides-Extra: test
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from setuptools import find_packages
|
|
2
2
|
from setuptools import setup
|
|
3
3
|
|
|
4
|
-
version = '3.
|
|
4
|
+
version = '3.1.0'
|
|
5
5
|
|
|
6
6
|
install_requires = [
|
|
7
7
|
# We specify the minimum acme and certbot version as the current plugin
|
|
@@ -9,9 +9,7 @@ install_requires = [
|
|
|
9
9
|
# https://github.com/certbot/certbot/issues/8761 for more info.
|
|
10
10
|
f'acme>={version}',
|
|
11
11
|
f'certbot>={version}',
|
|
12
|
-
'importlib_resources>=1.3.1; python_version < "3.9"',
|
|
13
12
|
'python-augeas',
|
|
14
|
-
'setuptools>=41.6.0',
|
|
15
13
|
]
|
|
16
14
|
|
|
17
15
|
dev_extras = [
|
|
@@ -30,7 +28,7 @@ setup(
|
|
|
30
28
|
author="Certbot Project",
|
|
31
29
|
author_email='certbot-dev@eff.org',
|
|
32
30
|
license='Apache License 2.0',
|
|
33
|
-
python_requires='>=3.
|
|
31
|
+
python_requires='>=3.9',
|
|
34
32
|
classifiers=[
|
|
35
33
|
'Development Status :: 5 - Production/Stable',
|
|
36
34
|
'Environment :: Plugins',
|
|
@@ -39,7 +37,6 @@ setup(
|
|
|
39
37
|
'Operating System :: POSIX :: Linux',
|
|
40
38
|
'Programming Language :: Python',
|
|
41
39
|
'Programming Language :: Python :: 3',
|
|
42
|
-
'Programming Language :: Python :: 3.8',
|
|
43
40
|
'Programming Language :: Python :: 3.9',
|
|
44
41
|
'Programming Language :: Python :: 3.10',
|
|
45
42
|
'Programming Language :: Python :: 3.11',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/augeas_lens/httpd.aug
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/augeasnode_test.py
RENAMED
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/autohsts_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/complex_parsing_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/display_ops_test.py
RENAMED
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/dualnode_test.py
RENAMED
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/entrypoint_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/http_01_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parsernode_test.py
RENAMED
|
File without changes
|
{certbot_apache-3.0.0 → certbot_apache-3.1.0}/certbot_apache/_internal/tests/parsernode_util_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|