-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Returning multiple certificate chains in a PE file #88
Comments
Hey @acharyab15 Would it be possible to attach the sample here ? Thanks. |
I have uploaded a sample file in https://github.com/acharyab15/pefile as it's an exe file and I couldn't do it directly here. (This is a sample file that has 2 cert chains) When running the parse, I see these certs as output: Cert1: Cert2: Cert3: When I run the Number of certificates: 4 Signature Index: 1 Number of certificates: 2 ` So seems like only the primary signature is read and returned? |
Thanks for uploading the sample, I'll have a look. |
Is there a way using this package to extract multiple certificate chains that are present in a PE file? I am currently looking at a PE file that has multiple certificate chains. However the
Parse
function seems to only result 1 of those chains with 2 certs, but seems to skip over the remaining cert chains. Is there a slight modification that can be made to get those? Or do you know of any other go packages that currently do that?Finally, great job with this package! It was really easy to use compared to some other libraries that I found :)
The text was updated successfully, but these errors were encountered: