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 |
|
Felix Fontein
|
c5991b970f
|
openssl_certificate_info, openssl_csr: fix wrong exception, and little refactoring (#54922)
* Fix wrong exception name.
* Use crypto_utils.load_certificate_request() to load CSRs with both backends.
|
2019-04-05 16:18:30 -04:00 |
|
Felix Fontein
|
65d7f0d17b
|
Add openssl_certificate_info module (#54709)
* Add certificate_info module.
* Improve normalization.
* Add extension dump.
* Add support for basic_constraints and ocsp_must_staple.
* Update docs.
* Add serial number.
* Remove superfluous code.
* Fix formulation.
* Improve examples.
* Improve result docs.
* Forgot to add tests.
* Adjust when no fingerprints can be computed.
|
2019-04-05 15:47:05 +01:00 |
|