Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.
1374 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/venv.py | 133 | def subprocess_output_with_print(cmd, env=None, shell=False): |
| LOW | tools/finish_release.py | 69 | def assert_logged_into_snapcraft(): |
| LOW | acme/src/acme/standalone.py | 97 | def shutdown_and_server_close(self) -> None: |
| LOW | acme/src/acme/standalone.py | 139 | class HTTP01RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): |
| LOW | acme/src/acme/standalone.py | 157 | # In parent class BaseHTTPRequestHandler, 'timeout' is a class-level property but we |
| LOW | acme/src/acme/standalone.py | 203 | def handle_simple_http_resource(self) -> None: |
| LOW | acme/src/acme/client.py | 386 | def external_account_required(self) -> bool: |
| LOW | acme/src/acme/client.py | 831 | def _renewal_info_path_component(cert: x509.Certificate) -> str: |
| LOW | acme/src/acme/messages.py | 402 | def _add_contact_if_appropriate(self, jobj: dict[str, Any]) -> dict[str, Any]: |
| LOW | acme/src/acme/crypto_util.py | 144 | def get_names_from_subject_and_extensions( |
| LOW | acme/src/acme/crypto_util.py | 198 | def _cryptography_cert_or_req_san( |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 50 | def test_from_json_with_subproblems(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 170 | def test_init_wrong_key_value_success(self): # pylint: disable=no-self-use |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 177 | def test_getitem_fails_with_key_error(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 184 | def test_getattr_fails_with_attribute_error(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 203 | def test_from_json_deserialization_unknown_key_success(self): # pylint: disable=no-self-use |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 233 | def test_from_data_invalid_hmac_alg(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 241 | def test_from_data_default_hmac_alg(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 290 | def test_new_registration_from_data_with_eab(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 326 | def test_default_not_transmitted(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 465 | def test_json_de_serializable(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 480 | def test_json_de_serializable(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 495 | def test_json_de_serializable(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 528 | def test_json_de_serializable(self): |
| LOW | acme/src/acme/_internal/tests/messages_test.py | 572 | def test_default_profile_empty(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 21 | def test_from_json_unrecognized(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 64 | def test_verify_wrong_thumbprint(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 104 | def test_simple_verify_failure(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 110 | def test_simple_verify_success(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 127 | def test_validation_domain_name(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 173 | def test_simple_verify_bad_key_authorization(self): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 178 | def test_simple_verify_good_validation(self, mock_get): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 187 | def test_simple_verify_bad_validation(self, mock_get): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 193 | def test_simple_verify_whitespace_validation(self, mock_get): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 204 | def test_simple_verify_connection_error(self, mock_get): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 218 | def test_simple_verify_timeout(self, mock_get): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 307 | def test_gen_check_validation(self, key, alg, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 311 | def test_gen_check_validation_wrong_key(self, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 316 | def test_check_validation_wrong_payload(self, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 325 | def test_check_validation_wrong_fields(self, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 340 | def test_validation_domain_name(self, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/challenges_test.py | 343 | def test_validation_domain_name_ecdsa(self, msg: 'DNS'): |
| LOW | acme/src/acme/_internal/tests/fields_test.py | 42 | def test_default_encoder_naive_fails(self): |
| LOW | acme/src/acme/_internal/tests/fields_test.py | 51 | def test_default_decoder_raises_deserialization_error(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 18 | def test_to_cryptography_encoding(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 27 | def test_dump_cryptography_chain(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 39 | def test_dump_cryptography_chain_wrong_encoding(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 250 | def test_make_csr_must_staple(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 259 | def test_make_csr_without_hostname(self): |
| LOW | acme/src/acme/_internal/tests/crypto_util_test.py | 263 | def test_make_csr_invalid_key_type(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 387 | def test_external_account_required_true(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 394 | def test_external_account_required_false(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 401 | def test_external_account_required_default(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 404 | def test_query_registration_client(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 722 | def test_check_response_not_ok_jobj_no_error(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 731 | def test_check_response_not_ok_jobj_error(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 739 | def test_check_response_not_ok_no_jobj(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 746 | def test_check_response_ok_no_jobj_ct_required(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 755 | def test_check_response_ok_no_jobj_no_ct(self): |
| LOW | acme/src/acme/_internal/tests/client_test.py | 763 | def test_check_response_ok_ct_with_charset(self, mock_logger): |
| 913 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | certbot/src/certbot/_internal/plugins/apache/obj.py | 30 | return f"certbot._internal.plugins.apache.obj.Addr({repr(self.tup)})" |
| CRITICAL | …ot/src/certbot/_internal/plugins/apache/display_ops.py | 86 | "certbot._internal.plugins.apache.display_ops._vhost_menu()") |
| CRITICAL | …src/certbot/_internal/tests/plugins/apache/obj_test.py | 30 | "certbot._internal.plugins.apache.obj.Addr(('127.0.0.1', '443'))" |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 168 | self.cf.dns.records.create.assert_called_with( |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 238 | self.cf.dns.records.list.assert_called_once_with( |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 241 | self.cf.dns.records.delete.assert_called_once_with( |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 256 | self.cf.dns.records.delete.assert_called_once_with( |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 265 | self.cf.dns.records.list.assert_called_once() |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 266 | self.cf.dns.records.delete.assert_not_called() |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 274 | self.cf.dns.records.list.assert_called_once() |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 275 | self.cf.dns.records.delete.assert_not_called() |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 291 | self.cf.dns.records.delete.assert_called_once_with( |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 300 | self.cf.dns.records.list.assert_called_once() |
| CRITICAL | …_dns_cloudflare/_internal/tests/dns_cloudflare_test.py | 301 | self.cf.dns.records.delete.assert_not_called() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | certbot/src/certbot/interfaces.py | 0 | compatibility shim for plugins that still use certbot's old zope.interface classes. |
| HIGH | certbot/src/certbot/interfaces.py | 0 | compatibility shim for plugins that still use certbot's old zope.interface classes. |
| HIGH | certbot/src/certbot/interfaces.py | 0 | compatibility shim for plugins that still use certbot's old zope.interface classes. |
| HIGH | certbot/src/certbot/interfaces.py | 0 | compatibility shim for plugins that still use certbot's old zope.interface classes. |
| HIGH | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 0 | revert all previously modified files. reverts all modified files that have not been saved as a checkpoint :raises .error |
| HIGH | …t/src/certbot/_internal/plugins/apache/configurator.py | 0 | revert all previously modified files. reverts all modified files that have not been saved as a checkpoint :raises .error |
| HIGH | certbot/src/certbot/plugins/common.py | 0 | revert all previously modified files. reverts all modified files that have not been saved as a checkpoint :raises .error |
| HIGH | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 0 | rollback saved checkpoints. :param int rollback: number of checkpoints to revert :raises .errors.pluginerror: if there i |
| HIGH | …t/src/certbot/_internal/plugins/apache/configurator.py | 0 | rollback saved checkpoints. :param int rollback: number of checkpoints to revert :raises .errors.pluginerror: if there i |
| HIGH | certbot/src/certbot/plugins/common.py | 0 | rollback saved checkpoints. :param int rollback: number of checkpoints to revert :raises .errors.pluginerror: if there i |
| HIGH | …bot/src/certbot/_internal/plugins/apache/interfaces.py | 0 | returns a list of file paths that have currently been parsed into the parser tree. the returned list may include paths w |
| HIGH | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 0 | returns a list of file paths that have currently been parsed into the parser tree. the returned list may include paths w |
| HIGH | …bot/src/certbot/_internal/plugins/apache/dualparser.py | 0 | returns a list of file paths that have currently been parsed into the parser tree. the returned list may include paths w |
| HIGH | …rc/certbot/_internal/plugins/apache/override_gentoo.py | 0 | override for update_runtime_variables for custom parsing |
| HIGH | …rc/certbot/_internal/plugins/apache/override_centos.py | 0 | override for update_runtime_variables for custom parsing |
| HIGH | …rc/certbot/_internal/plugins/apache/override_fedora.py | 0 | override for update_runtime_variables for custom parsing |
| HIGH | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 0 | recursive search of directivenodes from the sequence of children |
| HIGH | …t/src/certbot/_internal/plugins/apache/apacheparser.py | 0 | recursive search of directivenodes from the sequence of children |
| HIGH | …t/src/certbot/_internal/plugins/apache/apacheparser.py | 0 | recursive search of directivenodes from the sequence of children |
| HIGH | …bot/src/certbot/_internal/tests/plugins/apache/util.py | 0 | return the ground truth for the specified directory. |
| HIGH | …/certbot/_internal/tests/plugins/apache/gentoo_test.py | 0 | return the ground truth for the specified directory. |
| HIGH | …/certbot/_internal/tests/plugins/apache/centos_test.py | 0 | return the ground truth for the specified directory. |
| HIGH | …/certbot/_internal/tests/plugins/apache/fedora_test.py | 0 | return the ground truth for the specified directory. |
| HIGH | …lity-test/src/certbot_compatibility_test/interfaces.py | 0 | initializes the plugin with the given command line args |
| HIGH | …src/certbot_compatibility_test/configurators/common.py | 0 | initializes the plugin with the given command line args |
| HIGH | …tbot_compatibility_test/configurators/apache/common.py | 0 | initializes the plugin with the given command line args |
| HIGH | …src/certbot_compatibility_test/configurators/common.py | 0 | performs any necessary cleanup from running plugin tests |
| HIGH | …rtbot_compatibility_test/configurators/nginx/common.py | 0 | performs any necessary cleanup from running plugin tests |
| HIGH | …tbot_compatibility_test/configurators/apache/common.py | 0 | performs any necessary cleanup from running plugin tests |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pytest.ini | 1 | # This file isn't used while testing packages in tools/_release.sh so any |
| LOW | certbot-dns-sakuracloud/docs/conf.py | 1 | # -*- coding: utf-8 -*- |
| LOW | certbot-dns-sakuracloud/docs/conf.py | 61 | # The version info for the project you're documenting, acts as replacement for |
| LOW | certbot-dns-sakuracloud/docs/conf.py | 101 | # documentation. |
| LOW | certbot-dns-sakuracloud/docs/conf.py | 121 | # |
| LOW | tools/pip_install.py | 1 | #!/usr/bin/env python |
| LOW | tools/docker/deploy_images.sh | 1 | #!/bin/bash |
| LOW | tools/docker/build.sh | 1 | #!/bin/bash |
| LOW | tools/docker/deploy_manifests.sh | 1 | #!/bin/bash |
| LOW | tools/docker/test.sh | 1 | #!/bin/bash |
| LOW | tools/pinning/common/export-pinned-dependencies.sh | 1 | #!/bin/bash |
| LOW | tools/pinning/current/repin.sh | 21 | # This file was generated by $RELATIVE_SCRIPT_PATH and can be updated using |
| LOW | tools/pinning/current/pyproject.toml | 41 | # as a dependency here to ensure a version of cython is pinned for extra |
| LOW | tools/pinning/oldest/pyproject.toml | 1 | # The purpose of this file is to help us test Certbot against the oldest |
| LOW | tools/pinning/oldest/pyproject.toml | 81 | pycparser = "2.14" |
| LOW | tools/snap/build_remote.py | 41 | |
| LOW | certbot-dns-luadns/docs/conf.py | 1 | # -*- coding: utf-8 -*- |
| LOW | certbot-dns-luadns/docs/conf.py | 61 | # The version info for the project you're documenting, acts as replacement for |
| LOW | certbot-dns-luadns/docs/conf.py | 101 | # documentation. |
| LOW | certbot-dns-luadns/docs/conf.py | 121 | # |
| LOW | .azure-pipelines/templates/jobs/common-deploy-jobs.yml | 1 | # As (somewhat) described at |
| LOW | .azure-pipelines/templates/jobs/common-deploy-jobs.yml | 21 | # snapcraft export-login --channels=beta,edge snapcraft.cfg |
| LOW | acme/docs/conf.py | 1 | # -*- coding: utf-8 -*- |
| LOW | acme/docs/conf.py | 61 | project = u'acme-python' |
| LOW | acme/docs/conf.py | 81 | # There are two options for replacing |today|: either, you set today to some |
| LOW | acme/docs/conf.py | 101 | # unit titles (such as .. function::). |
| LOW | acme/docs/conf.py | 121 | # -- Options for HTML output ---------------------------------------------- |
| LOW | acme/docs/conf.py | 141 | #html_short_title = None |
| LOW | acme/docs/conf.py | 161 | |
| LOW | acme/docs/conf.py | 181 | #html_use_index = True |
| LOW | acme/docs/conf.py | 201 | #html_file_suffix = None |
| LOW | acme/docs/conf.py | 221 | |
| LOW | acme/docs/conf.py | 241 | u'Let\'s Encrypt Project', 'manual'), |
| LOW | acme/docs/conf.py | 281 | # Grouping the document tree into Texinfo files. List of tuples |
| LOW | certbot-dns-rfc2136/docs/conf.py | 1 | # -*- coding: utf-8 -*- |
| LOW | certbot-dns-rfc2136/docs/conf.py | 61 | # The version info for the project you're documenting, acts as replacement for |
| LOW | certbot-dns-rfc2136/docs/conf.py | 101 | # documentation. |
| LOW | certbot-dns-rfc2136/docs/conf.py | 121 | # |
| LOW | certbot/docs/conf.py | 1 | # -*- coding: utf-8 -*- |
| LOW | certbot/docs/conf.py | 61 | source_suffix = '.rst' |
| LOW | certbot/docs/conf.py | 81 | release = meta['version'] |
| LOW | certbot/docs/conf.py | 101 | ] |
| LOW | certbot/docs/conf.py | 141 | # documentation. |
| LOW | certbot/docs/conf.py | 161 | #html_favicon = None |
| LOW | certbot/docs/conf.py | 181 | # Custom sidebar templates, maps document names to template names. |
| LOW | certbot/docs/conf.py | 201 | #html_show_sphinx = True |
| LOW | certbot/docs/conf.py | 221 | # Now only 'ja' uses this config value |
| LOW | certbot/docs/conf.py | 241 | #'preamble': '', |
| LOW | certbot/docs/conf.py | 261 | #latex_use_parts = False |
| LOW | certbot/examples/cli.ini | 1 | # This is an example of the kind of things you can do in a configuration file. |
| LOW | certbot/examples/cli.ini | 21 | # authenticator = standalone |
| LOW | certbot/src/certbot/_internal/client.py | 361 | newly generated private key (`.util.Key`), and DER-encoded |
| LOW | certbot/src/certbot/_internal/lock.py | 161 | """Remove, close, and release the lock file.""" |
| LOW | certbot/src/certbot/_internal/storage.py | 141 | merged_config = configobj.ConfigObj(config_filename, encoding='utf-8', default_encoding='utf-8', |
| LOW | certbot/src/certbot/_internal/storage.py | 661 | # the chain matching the cert, and the cert matching |
| LOW | certbot/src/certbot/_internal/error_handler.py | 21 | # included as they could be a sign of something devious and we should terminate |
| LOW | certbot/src/certbot/_internal/plugins/apache/parser.py | 521 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 101 | # only properly formed sections are added. |
| LOW | certbot/src/certbot/_internal/tests/renewal_test.py | 321 | # Times that should result in autorenewal/autodeployment |
| LOW | certbot/src/certbot/_internal/tests/renewal_test.py | 361 | # at 3.5 days prior to expiry. We haven't reached that yet, |
| 61 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | letstest/letstest/multitester.py | 208 | local_cxn.local('cd %s && if [ -d letsencrypt ]; then rm -rf letsencrypt; fi' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 209 | local_cxn.local('cd %s && git clone %s letsencrypt'% (log_dir, repo_url)) |
| HIGH | letstest/letstest/multitester.py | 210 | local_cxn.local('cd %s && tar czf le.tar.gz letsencrypt'% log_dir) |
| HIGH | letstest/letstest/multitester.py | 214 | local_cxn.local('cd %s && if [ -d letsencrypt ]; then rm -rf letsencrypt; fi' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 215 | local_cxn.local('cd %s && git clone %s letsencrypt --branch %s --single-branch'% |
| HIGH | letstest/letstest/multitester.py | 217 | local_cxn.local('cd %s && tar czf le.tar.gz letsencrypt' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 221 | local_cxn.local('cd %s && if [ -d letsencrypt ]; then rm -rf letsencrypt; fi' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 222 | local_cxn.local('cd %s && git clone %s letsencrypt' % (log_dir, repo_url)) |
| HIGH | letstest/letstest/multitester.py | 223 | local_cxn.local('cd %s && cd letsencrypt && ' |
| HIGH | letstest/letstest/multitester.py | 225 | local_cxn.local('cd %s && cd letsencrypt && git checkout lePRtest' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 227 | local_cxn.local('cd %s && cd letsencrypt && git remote update origin' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 228 | local_cxn.local('cd %s && cd letsencrypt && ' |
| HIGH | letstest/letstest/multitester.py | 230 | local_cxn.local('cd %s && tar czf le.tar.gz letsencrypt' % log_dir) |
| HIGH | letstest/letstest/multitester.py | 257 | with cxn.prefix('export PUBLIC_IP=%s && export PRIVATE_IP=%s && ' |
| HIGH | letstest/letstest/multitester.py | 258 | 'export PUBLIC_HOSTNAME=%s && export PIP_EXTRA_INDEX_URL=%s && ' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pytest.ini | 1 | # This file isn't used while testing packages in tools/_release.sh so any |
| MEDIUM | certbot-dns-sakuracloud/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | tools/finish_release.py | 166 | # Create a connection to the azure org |
| MEDIUM | tools/docker/build.sh | 25 | # Create the builder |
| MEDIUM | tools/snap/generate_dnsplugins_postrefreshhook.sh | 12 | # This file is generated automatically and should not be edited manually. |
| MEDIUM | tools/snap/generate_dnsplugins_snapcraft.sh | 13 | # This file is generated automatically and should not be edited manually. |
| MEDIUM | certbot-dns-luadns/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | acme/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-rfc2136/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot/src/certbot/reverter.py | 239 | # This file is required in all checkpoints. |
| MEDIUM | …tbot/src/certbot/_internal/plugins/nginx/parser_obj.py | 2 | # This module is not used for now, so we just skip type checking for the sake |
| MEDIUM | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 284 | # Create the new block |
| MEDIUM | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 317 | # Create the new directive |
| MEDIUM | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 349 | # Create the new comment |
| MEDIUM | …t/src/certbot/_internal/plugins/apache/configurator.py | 1406 | # Create the Vhost object |
| MEDIUM | …ot/_internal/tests/plugins/apache/configurator_test.py | 1055 | # Create a preexisting rewrite rule |
| MEDIUM | …ot/_internal/tests/plugins/apache/configurator_test.py | 1094 | # Create an old (previously supported) https redirectoin rewrite rule |
| MEDIUM | certbot-dns-dnsimple/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-cloudflare/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-route53/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | …ute53/src/certbot_dns_route53/_internal/dns_route53.py | 142 | # Create a new list containing the record to use with DELETE |
| MEDIUM | certbot-dns-digitalocean/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-nsone/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-ovh/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | …c/certbot_integration_tests/certbot_tests/test_main.py | 323 | # Create a read permission for Everybody group |
| MEDIUM | certbot-dns-linode/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-gehirn/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-google/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| MEDIUM | certbot-dns-dnsmadeeasy/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/extract_changelog.py | 13 | |
| LOW | tools/snap/build_remote.py | 99 | |
| LOW | tools/snap/build_remote.py | 216 | |
| LOW | tools/snap/build_remote.py | 248 | |
| LOW | acme/src/acme/client.py | 185 | |
| LOW | acme/src/acme/client.py | 231 | |
| LOW | certbot/src/certbot/util.py | 466 | |
| LOW | certbot/src/certbot/util.py | 78 | |
| LOW | certbot/src/certbot/reverter.py | 215 | |
| LOW | certbot/src/certbot/reverter.py | 405 | |
| LOW | certbot/src/certbot/crypto_util.py | 240 | |
| LOW | certbot/src/certbot/_internal/client.py | 49 | |
| LOW | certbot/src/certbot/_internal/client.py | 352 | |
| LOW | certbot/src/certbot/_internal/renewal.py | 181 | |
| LOW | certbot/src/certbot/_internal/renewal.py | 584 | |
| LOW | certbot/src/certbot/_internal/renewal.py | 632 | |
| LOW | certbot/src/certbot/_internal/storage.py | 1229 | |
| LOW | certbot/src/certbot/_internal/cert_manager.py | 104 | |
| LOW | certbot/src/certbot/_internal/cert_manager.py | 129 | |
| LOW | certbot/src/certbot/_internal/main.py | 533 | |
| LOW | certbot/src/certbot/_internal/main.py | 705 | |
| LOW | certbot/src/certbot/_internal/plugins/webroot.py | 116 | |
| LOW | certbot/src/certbot/_internal/plugins/webroot.py | 183 | |
| LOW | certbot/src/certbot/_internal/plugins/webroot.py | 257 | |
| LOW | …bot/src/certbot/_internal/plugins/nginx/nginxparser.py | 124 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/http_01.py | 72 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 479 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 676 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 793 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 63 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 107 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 185 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 388 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/obj.py | 56 | |
| LOW | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 1281 | |
| LOW | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 279 | |
| LOW | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 436 | |
| LOW | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 496 | |
| LOW | …ot/src/certbot/_internal/plugins/nginx/configurator.py | 671 | |
| LOW | certbot/src/certbot/_internal/plugins/apache/http_01.py | 159 | |
| LOW | certbot/src/certbot/_internal/plugins/apache/parser.py | 317 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 599 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 815 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 886 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1028 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1051 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1538 | |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 2525 | |
| LOW | …bot/src/certbot/_internal/plugins/apache/dualparser.py | 57 | |
| LOW | certbot/src/certbot/_internal/tests/log_test.py | 363 | |
| LOW | certbot/src/certbot/_internal/tests/ocsp_test.py | 204 | |
| LOW | certbot/src/certbot/_internal/tests/main_test.py | 1412 | |
| LOW | certbot/src/certbot/_internal/tests/cli_test.py | 99 | |
| LOW | certbot/src/certbot/_internal/tests/client_test.py | 221 | |
| LOW | …ot/src/certbot/_internal/tests/plugins/storage_test.py | 24 | |
| LOW | …bot/src/certbot/_internal/tests/plugins/apache/util.py | 80 | |
| LOW | …tbot/_internal/tests/plugins/apache/entrypoint_test.py | 11 | |
| LOW | certbot/src/certbot/_internal/cli/helpful.py | 126 | |
| LOW | certbot/src/certbot/_internal/cli/helpful.py | 169 | |
| LOW | …src/certbot_dns_cloudflare/_internal/dns_cloudflare.py | 193 | |
| 9 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/extract_changelog.py | 2 | |
| LOW | tools/pip_install.py | 13 | |
| LOW | tools/pip_install.py | 14 | |
| LOW | tools/venv.py | 15 | |
| LOW | acme/src/acme/standalone.py | 2 | |
| LOW | acme/src/acme/__init__.py | 15 | |
| LOW | acme/src/acme/errors.py | 13 | |
| LOW | acme/src/acme/_internal/tests/jose_test.py | 23 | |
| LOW | acme/src/acme/_internal/tests/jose_test.py | 25 | |
| LOW | certbot/src/certbot/interfaces.py | 23 | |
| LOW | certbot/src/certbot/ocsp.py | 5 | |
| LOW | certbot/src/certbot/errors.py | 5 | |
| LOW | certbot/src/certbot/crypto_util.py | 43 | |
| LOW | certbot/src/certbot/crypto_util.py | 44 | |
| LOW | certbot/src/certbot/crypto_util.py | 45 | |
| LOW | certbot/src/certbot/crypto_util.py | 46 | |
| LOW | certbot/src/certbot/_internal/snap_config.py | 2 | |
| LOW | …bot/src/certbot/_internal/plugins/nginx/nginxparser.py | 12 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/http_01.py | 18 | |
| LOW | certbot/src/certbot/_internal/plugins/nginx/parser.py | 2 | |
| LOW | certbot/src/certbot/_internal/plugins/apache/http_01.py | 17 | |
| LOW | certbot/src/certbot/_internal/plugins/apache/parser.py | 19 | |
| LOW | …bot/src/certbot/_internal/plugins/apache/dualparser.py | 15 | |
| LOW | …bot/src/certbot/_internal/plugins/apache/dualparser.py | 16 | |
| LOW | certbot/src/certbot/_internal/tests/ocsp_test.py | 191 | |
| LOW | …ot/src/certbot/_internal/tests/plugins/webroot_test.py | 3 | |
| LOW | certbot/src/certbot/_internal/cli/cli_utils.py | 21 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 7 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 9 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 11 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 16 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 17 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 18 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 19 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 20 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 21 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 22 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 23 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 24 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 25 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 27 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 28 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 29 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 30 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 32 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 36 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 38 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 39 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 40 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 46 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 47 | |
| LOW | certbot/src/certbot/_internal/cli/__init__.py | 49 | |
| LOW | certbot/src/certbot/_internal/display/completer.py | 6 | |
| LOW | certbot/src/certbot/compat/_path.py | 11 | |
| LOW | certbot/src/certbot/compat/_path.py | 16 | |
| LOW | certbot/src/certbot/compat/misc.py | 5 | |
| LOW | certbot/src/certbot/compat/filesystem.py | 2 | |
| LOW | certbot/src/certbot/compat/os.py | 19 | |
| LOW | certbot/src/certbot/compat/os.py | 24 | |
| LOW | letstest/scripts/version.py | 7 | |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | certbot/src/certbot/_internal/cli/cli_utils.py | 265 | # ------------------------------------------------------------ |
| MEDIUM | letstest/targets/targets.yaml | 7 | #----------------------------------------------------------------------------- |
| MEDIUM | letstest/targets/targets.yaml | 20 | #----------------------------------------------------------------------------- |
| MEDIUM | letstest/targets/targets.yaml | 28 | #----------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 205 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 46 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 78 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 85 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 96 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 175 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 373 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 398 | #------------------------------------------------------------------------------- |
| MEDIUM | letstest/letstest/multitester.py | 445 | #------------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/snap/build_remote.py | 142 | # Check if the snap file just contains html |
| LOW | certbot/src/certbot/_internal/lock.py | 109 | # Open the file |
| LOW | certbot/src/certbot/_internal/lock.py | 116 | # Close the file if it is not the required one |
| LOW | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 146 | # Check if the file was included from the root config or initial state |
| LOW | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 286 | # Check if the file was included from the root config or initial state |
| LOW | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 321 | # Check if the file was included from the root config or initial state |
| LOW | …t/src/certbot/_internal/plugins/apache/augeasparser.py | 466 | # Check if the file was included from the root config or initial state |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1153 | # Check if the VirtualHost is contained in a mod_macro block |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1317 | # Check if Apache is already listening on a specific IP |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1935 | # Check if there's an existing SSLUseStapling directive on. |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1943 | # Check if there's an existing SSLStaplingCache directive. |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 1986 | # Check if selected header is already set |
| LOW | …t/src/certbot/_internal/plugins/apache/configurator.py | 2075 | # Check if Certbot redirection already exists |
| LOW | certbot/src/certbot/compat/_path.py | 25 | # Check if the attribute does not already exist in our module. It could be internal attributes |
| LOW | certbot/src/certbot/compat/os.py | 38 | # Check if the attribute does not already exist in our module. It could |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | acme/src/acme/client.py | 358 | except Exception as e: # pylint: disable=broad-except |
| LOW | acme/src/acme/client.py | 629 | except Exception: # pylint: disable=broad-except |
| LOW | …c2136/src/certbot_dns_rfc2136/_internal/dns_rfc2136.py | 144 | except Exception as e: |
| LOW | …c2136/src/certbot_dns_rfc2136/_internal/dns_rfc2136.py | 179 | except Exception as e: |
| LOW | …c2136/src/certbot_dns_rfc2136/_internal/dns_rfc2136.py | 247 | except Exception as e: |
| LOW | certbot/src/certbot/_internal/renewal.py | 393 | except Exception: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/renewal.py | 685 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/renewal.py | 727 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/storage.py | 985 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/cert_manager.py | 43 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/error_handler.py | 127 | except Exception as exc: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/main.py | 816 | except Exception as e: |
| LOW | certbot/src/certbot/_internal/main.py | 1759 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/_internal/plugins/disco.py | 194 | except Exception as e: |
| LOW | certbot/src/certbot/plugins/dns_common_lexicon.py | 113 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot/src/certbot/plugins/dns_common_lexicon.py | 254 | except Exception as e: # pylint: disable=broad-except |
| LOW | certbot-compatibility-test/nginx/roundtrip.py | 21 | except Exception as e: |
| LOW | letstest/letstest/multitester.py | 290 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | certbot/examples/generate-csr.sh | 4 | # auditable, feel free to adjust it and use it on your production web |
| LOW | certbot/examples/dev-cli.ini | 9 | # make sure to use a valid email and domains! |
| LOW | certbot/src/certbot/_internal/auth_handler.py | 249 | # working with those plugins, make sure to continue to pass `identifier` as a |
| LOW | certbot/src/certbot/_internal/auth_handler.py | 251 | # Also, make sure to make a copy... |
| LOW | certbot/src/certbot/_internal/storage.py | 1076 | # XXX: Let's make sure to get the file permissions right here |
| LOW | …tbot/_internal/tests/plugins/nginx/nginxparser_test.py | 180 | ['#', " Don't forget to open up your firewall!"], |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/docker/deploy_images.sh | 7 | # Usage: |
| LOW | tools/docker/build.sh | 7 | # Usage: |
| LOW | tools/docker/deploy_manifests.sh | 7 | # Usage: |
| LOW | tools/docker/test.sh | 6 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | certbot/src/certbot/_internal/account.py | 279 | # Step 1: Delete account specific links and the directory |
| LOW | certbot/src/certbot/_internal/account.py | 282 | # Step 2: Remove any accounts links and directories that are now empty |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | certbot/src/certbot/_internal/tests/util_test.py | 294 | pass # just create the file |
| LOW | .github/codecov.yml | 1 | # This disables all reporting from codecov. Let's just set it up to collect |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | certbot/src/certbot/_internal/tests/main_test.py | 2359 | mock_email.return_value = 'user@example.com' |