community.general/lib/ansible/modules/crypto
Felix Fontein caf7fd2245 openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489)
* Raise OpenSSLBadPassphraseError if passphrase is wrong.

* Improve handling of passphrase errors.

Current behavior for modules is: if passphrase is wrong (or wrongly specified), fail.
Current behavior for openssl_privatekey is: if passphrase is worng (or wrongly specified), regenerate.

* Add changelog.

* Add tests.

* Adjustments for some versions of PyOpenSSL.

* Update lib/ansible/modules/crypto/openssl_certificate.py

Improve text.

Co-Authored-By: felixfontein <felix@fontein.de>
2019-03-08 16:21:18 +00:00
..
acme crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
__init__.py
certificate_complete_chain.py crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
get_certificate.py crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
luks_device.py crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
openssh_cert.py crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
openssh_keypair.py Add public key return to openssh_keypair (#53214) 2019-03-05 16:07:43 +00:00
openssl_certificate.py openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
openssl_csr.py openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
openssl_dhparam.py crypto modules: add missing option types (#52421) 2019-02-18 10:24:17 +00:00
openssl_pkcs12.py openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
openssl_privatekey.py openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
openssl_publickey.py openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00