Describe the Bug
CMS/PKCS7 signatures do not use DER. This causes pyca/cryptography to emit a deprecation warning because they want to remove support for arbitrary BER.
I am not the person who found this problem. I am merely relaying the report by @uedvt359 in pyca/cryptography#12936 (comment). Therefore, some of the information is missing.
To Reproduce
I do not have a reproducer myself, but see pyca/cryptography#12936 (comment).
Expected Behavior
CMS signatures use DER.
Screenshots and Logs
I don't have access to the deployment in question
Product Deployment
Please complete the following information:
- Deployment format: [e.g. software, container] Not sure.
- Version [e.g. 8.0.0] 9.3.7
Desktop
N/A as the request is being made from Python using the API. The relevant code is here.
Additional Context
pyca/cryptography has two parsers for CMS and PKCS12: a strict DER parser written in Rust and a BER parser using OpenSSL. The OpenSSL-based parser is deprecated, and pyca/cryptography raises a warning when it must be used. See pyca/cryptography#12936 for details.
Describe the Bug
CMS/PKCS7 signatures do not use DER. This causes pyca/cryptography to emit a deprecation warning because they want to remove support for arbitrary BER.
I am not the person who found this problem. I am merely relaying the report by @uedvt359 in pyca/cryptography#12936 (comment). Therefore, some of the information is missing.
To Reproduce
I do not have a reproducer myself, but see pyca/cryptography#12936 (comment).
Expected Behavior
CMS signatures use DER.
Screenshots and Logs
I don't have access to the deployment in question
Product Deployment
Please complete the following information:
Desktop
N/A as the request is being made from Python using the API. The relevant code is here.
Additional Context
pyca/cryptography has two parsers for CMS and PKCS12: a strict DER parser written in Rust and a BER parser using OpenSSL. The OpenSSL-based parser is deprecated, and pyca/cryptography raises a warning when it must be used. See pyca/cryptography#12936 for details.