community.crypto/plugins
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
..
action Deprecate check mode behavior of pipe modules. (#714) 2024-02-25 17:00:37 +01:00
doc_fragments openssl_privatekey*: add default value for cipher option (#794) 2024-08-30 08:49:20 +01:00
filter Add conversion filters for serial numbers (#713) 2024-02-18 21:27:48 +01:00
lookup Add gpg_fingerprint lookup and filter (#639) 2023-08-02 11:16:34 +02:00
module_utils lookup lowercase domain names when verifying authorizations to preven… (#803) 2024-10-15 19:48:47 +02:00
modules lookup lowercase domain names when verifying authorizations to preven… (#803) 2024-10-15 19:48:47 +02:00
plugin_utils Add gpg_fingerprint lookup and filter (#639) 2023-08-02 11:16:34 +02:00