certbot/acme/tests
orangepizza 52e207a404
add ip address support to certbot/acme lib (2021 ver) (#8904)
* add ip address support to acme saving

* remove client-site check for ip address

* using right prefix for san parsing

* remove type hint for backward compatibility

* remove bare ip blocking check from main_test

* upppercase

* lint tix

* add additional tests for new IP support

* support for ipv6 bare address

* make apache and nginx plugin raise error for certs with ip address

* linting

* add pem file's last newline char

* gen_ss_cert ip support and comment fixup

* fix test coverage

* indent fix and assetTrue to assetIN

* indent mistake, made a note where class end

* acme lib now receive IPs as separate list

* fix typos

* type 2

* fix tests

* Deny IP address on certbot/certbot side as LE don't support it

* remove excess empty line to rerun tox

* comment indent and typo fix

Apply suggestions from code review

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

* trim unused functions

* trim unused import

* make raw san list extraction as separate function

* Apply suggestions from code review

mostly comment suggestions here

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

* apply patches suggested on review.

* remove excessive empty lines

* update CHANGELOG.md

* added acme lib update about ipaddress support in CHANGELOG.md

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2021-08-27 06:47:01 -07:00
..
testdata add ip address support to certbot/acme lib (2021 ver) (#8904) 2021-08-27 06:47:01 -07:00
challenges_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
client_test.py add ip address support to certbot/acme lib (2021 ver) (#8904) 2021-08-27 06:47:01 -07:00
crypto_util_test.py add ip address support to certbot/acme lib (2021 ver) (#8904) 2021-08-27 06:47:01 -07:00
errors_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
fields_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
jose_test.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
jws_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
magic_typing_test.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
messages_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
standalone_test.py acme.standalone: expose original socket.error 2021-06-22 09:24:53 +10:00
test_util.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
util_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00