Felix Fontein
c380b18dcf
openssl_* modules: allow direct input for some files ( #66384 )
...
* Allow to not read content from file.
* Allow to feed content directly into _info modules.
* Allow to feed non-primary content into openssl_certificate, openssl_csr and openssl_publickey.
* Rename changelog.
2020-01-12 19:12:33 +01:00
Felix Fontein
e536d0e128
openssl_*: deprecate PyOpenSSL backends ( #59907 )
...
* Deprecate PyOpenSSL backends.
* Add changelog.
* Add porting guide entry.
* Improve tests to ignore deprecations when comparing results.
* Deprecating pyopenssl backend for get_certificate and openssl_publickey.
* Fix typo.
2019-08-26 18:26:10 +02:00
Felix Fontein
7a16703dff
Add openssl_privatekey_info module ( #54845 )
...
* Add openssl_privatekey_info module.
* Addressing review feedback.
* Update docs.
* Update tests.
* Work around too broad sanity checks.
* ...
* Don't die when None is returned.
* Use OpenSSL to extract RSA and DSA key data.
* Extend tests.
* Make OpenSSL code compatible to OpenSSL < 1.1.
* Rewrite tests to use result dicts instead of result lists.
* Skip ECC for too old PyOpenSSL.
* Reformulate.
* Improve return_private_key_data docs.
* Rename path_content -> content.
* Add sample.
* Cleanup.
* Add key consistency check.
* Improve description.
* Adjust minimal version.
* Fallback code for some pyOpenSSL < 16.0 versions.
* Also support Ed25519 and Ed448 keys (or not).
* Add more consistency checks.
* Verify DSA keys manually.
* Improve DSA key validation.
* Forgot one condition.
* Make validation more robust.
* Move generic arithmetic code to module_utils/crypto.py.
2019-04-08 10:07:56 +02:00