You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I verify a certificate of PE file. Some thing is wrong.
The Error is: Unexpected content type for SignerInfo, expected 1.2.840.113549.1.9.16.1.4, got Data
The refer code in signerinfo.py:90 :
ifself._expected_content_typeisnotNoneandself.content_typeisnotself._expected_content_type:
raiseSignerInfoParseError("Unexpected content type for SignerInfo, expected %s, got %s"%
(_print_type(self.content_type),
_print_type(self._expected_content_type)))
The position of self.content_type and self._expected_content_type is mistaken, but that is not key point.
The key point is content type for SignerInfo maybe have different value.
When I verify a certificate of PE file. Some thing is wrong.
The Error is:
Unexpected content type for SignerInfo, expected 1.2.840.113549.1.9.16.1.4, got Data
The refer code in signerinfo.py:90 :
The position of
self.content_type
andself._expected_content_type
is mistaken, but that is not key point.The key point is
content type for SignerInfo
maybe have different value.You can see here: http://oidref.com/1.2.840.113549.1.9.16.1.4, the
Information by oid_info
is:Maybe you can add another
content type
.Oh, here is the PE file
3a7de393a36ca8911cd0842a9a25b058.zip
The text was updated successfully, but these errors were encountered: