community.crypto/plugins/module_utils/acme
Lyas Spiehler a39b3bc882
lookup lowercase domain names when verifying authorizations to preven… (#803)
* lookup lowercase domain names when verifying authorizations to prevent failure when CSR has mixed-case names

Signed-off-by: Lyas Spiehler <lspiehler@gmail.com>

* remove .lower() method

* make authorizations keys lowercase

Signed-off-by: Lyas Spiehler <lspiehler@gmail.com>

* use lowercase keys for authorizations dict

Signed-off-by: Lyas Spiehler <lspiehler@gmail.com>

* use new normalize_combined_identifier function to normalize identifiers

* include two blank lines after functions to pass tests

* Update plugins/module_utils/acme/challenges.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* add changelog fragment

Signed-off-by: Lyas Spiehler <lspiehler@gmail.com>

* Update changelogs/fragments/803-fix-authorization-failure-with-mixed-case-sans.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Signed-off-by: Lyas Spiehler <lspiehler@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-10-15 19:48:47 +02:00
..
account.py Directly handle unexpected non-JSON results. (#682) 2023-12-07 22:26:04 +01:00
acme.py Make sure that the required slash is present. (#802) 2024-09-29 21:26:31 +03:00
backend_cryptography.py Revert "Revert all non-bugfixes merged since the last release." 2024-05-11 17:05:03 +02:00
backend_openssl_cli.py Revert "Revert all non-bugfixes merged since the last release." 2024-05-11 17:05:03 +02:00
backends.py Revert "Revert all non-bugfixes merged since the last release." 2024-05-11 17:05:03 +02:00
certificates.py Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#491) 2022-07-21 07:27:26 +02:00
challenges.py lookup lowercase domain names when verifying authorizations to preven… (#803) 2024-10-15 19:48:47 +02:00
errors.py Improve error reporting. (#684) 2023-12-08 20:57:49 +01:00
io.py Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#491) 2022-07-21 07:27:26 +02:00
orders.py lookup lowercase domain names when verifying authorizations to preven… (#803) 2024-10-15 19:48:47 +02:00
utils.py Revert "Revert all non-bugfixes merged since the last release." 2024-05-11 17:05:03 +02:00