python-asn1 icon indicating copy to clipboard operation
python-asn1 copied to clipboard

Failed with some pkcs7 data

Open Bertrand7745 opened this issue 7 months ago • 1 comments

Hi,

I'm using your module to verify signatures in pkcs7 format. It works fine, but I have an error with one signature.

I'm attaching a file with an OK signature and an incorrect signature (in byte or base64 format).

Can you tell me what's wrong?

Thank you.

asn1_error.txt

Bertrand7745 avatar Jul 11 '25 15:07 Bertrand7745

Hi, The code you provided is invalid (there are missing imports). The examples of binary data you provided (bdata_sign) are invalid as they contain tags with a number of 0, which is not allowed in ASN.1). Sorry, but I do not provide support for using the library. Issues here are only for issues, i.e. bugs. Not for support. As far as I can tell, your message is not about a bug. Regards

andrivet avatar Jul 14 '25 12:07 andrivet