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
Felix Fontein
1d8e9db4a9
crypto modules: add missing option types ( #52421 )
...
* Add missing crypto option types.
* Reorder argument_spec.
* Reorder option docs.
2019-02-18 10:24:17 +00:00
Dag Wieers
cedd9d9926
crypto: Fix known issues in modules ( #52302 )
...
* crypto: Fix known issues in modules
This fixes a few issues reported by 'validate-modules'.
* Fix whitespace
2019-02-15 11:46:44 +01:00
Jordan Borean
0f0d33a954
start getting modules to use shared import error code ( #51787 )
2019-02-06 12:39:17 -05:00
Abhijeet Kasurde
db8702cdb8
Close all open filehandle ( #50544 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-01-11 10:14:08 -05:00
Felix Fontein
5c5cd2dc4d
openssl_*: prevent error when path includes no path ( #50322 )
...
* Prevent error when path includes no path.
* Add changelog.
2019-01-03 17:04:46 +05:30
Dag Wieers
05c6ff79f9
Convert to reduced list of known types ( #50010 )
2018-12-19 07:25:30 +10:00
Felix Fontein
3a9eadb22f
Updating argument_spec for type='list' options by elements value. ( #48485 )
2018-11-26 10:17:25 -05:00
Jordan Borean
6666b070a9
openss: fix various test and Python 3 issues ( #47188 )
2018-10-18 05:29:18 +10:00
Guillaume Delpierre
23e44319ce
crypto: Add new module openssl_pkcs12 ( #27320 )
...
[module] Create new module to handle PKCS#12 file.
2018-08-23 08:15:22 -07:00