certbot/acme
Brad Warren 9afb6415b8
fix up acme & certbot standalone code (#10293)
certbot's standalone code contains confusing references to things like
`SSLSocket` which we were hoping to deprecate in
https://github.com/certbot/certbot/issues/10284. are they relevant?
they're sure not!

certbot's standalone plugin only supports HTTP-01 so comments about
things like `ACMETLSServer` and the completely unused `certs` variable
can be deleted

furthermore, the type of the different variables named things like
`http_01_resources` were wrong in multiple places. as can be seen in
certbot's standalone code, the type is
`Set[acme_standalone.HTTP01RequestHandler.HTTP01Resource]`. this is also
[the type used in acme.standalone's
tests](723fe64d4d/acme/src/acme/_internal/tests/standalone_test.py (L78-L81))
despite the file's type annotations saying it takes a different type. i
think the incorrect type annotations were never caught because mypy
can't fully make sense of our overly complex server classes here

finally, `from __future__ import annotations` was added to make [forward
references in type
annotations](https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#forward-references)
easier
2025-06-12 11:09:12 -07:00
..
docs Bump version to 5.0.0 2025-06-10 14:43:36 -07:00
examples fixup http01_example.py (#10285) 2025-05-08 15:43:37 -07:00
src/acme fix up acme & certbot standalone code (#10293) 2025-06-12 11:09:12 -07:00
.readthedocs.yaml Docs: Reset requirements.txt path (#9877) 2024-02-01 08:27:45 -08:00
LICENSE.txt Update Copyright notice in subpackages LICENSE. 2015-10-04 10:10:41 +00:00
MANIFEST.in Why do we have this? It means warnings aren't filtered in acme tests (#10267) 2025-04-25 20:53:31 +00:00
README.rst Fix ACME module description 2015-10-21 17:06:35 -07:00
readthedocs.org.requirements.txt Pin readthedocs deps (#9083) 2021-11-04 20:35:44 +11:00
setup.py Bump version to 5.0.0 2025-06-10 14:43:36 -07:00

ACME protocol implementation in Python