pyopenssl icon indicating copy to clipboard operation
pyopenssl copied to clipboard

Add support for extracting contents of PKCS7

Open ddcc opened this issue 10 years ago • 4 comments

Currently, PKCS#7 support in pyOpenSSL appears to be limited to retrieving metadata for a subset of fields, e.g whether it is signed, enveloped, or etc. However, there is no support for extracting certificates and/or CRL's from PKCS#7 objects.

ddcc avatar Oct 06 '15 19:10 ddcc

Mostly resolved in #367, at least for my purposes

ddcc avatar Oct 13 '15 04:10 ddcc

Could you please tell me, in brief the capabilities you added? I would want to extend this.

sbose78 avatar Jun 15 '16 19:06 sbose78

That commit added support for extracting certificates, CRL's, and data from certain PKCS#7 objects. But, it was never merged into the main codebase.

ddcc avatar Jun 16 '16 02:06 ddcc

Triaging: for certificate extraction, the correct APIs here are load_pem_pkcs7_certificates and load_der_pkcs7_certificates on cryptography.

woodruffw avatar Nov 17 '23 19:11 woodruffw