-
Notifications
You must be signed in to change notification settings - Fork 214
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
Unable to parse Code Signing Certificate for Microsoft #34
Comments
Not sure if you're still around, but I still get the same error message with the patch. |
@atvaccaro yes still around! Could you tell me more about |
Whoops, just went on vacation! I'd been getting the |
OK! let me know if you switch back to |
add initial go.mod file
Hi!
First off, many thanks for taking the time to do this useful lib!!
For a side project, I was trying to parse certificates inside
exe
files --PE
format -- to get the expiration date.I'll skip the details on how to do it, but it turns out it's using PKCS7 format to store the certificate chain, hence the use of this lib.
When I call
Parse()
with the payload inDER
this is what I get:I had to patch the library and can make a PR if that's necessary: tehmoon@8f12946
As you can see, I de-serialize using
RawValue
and passing the underlying bytes. I didn't dig much further so I have no idea what's wrong.I've attached the
pkcs7
data in hex string format: data.hex.txtEven though the patch works well for me, I thought about opening an issue to contribute a little bit.
The text was updated successfully, but these errors were encountered: