Closed bitman694 closed 1 year ago
Your bug report is very confusing to me. What is the command you executed? What output do you observe in the current master branch? What output do you expect?
Please avoid reporting bugs in anything other than the current master branch. We have made several major changes to our verification code over the years. Some of them are not released yet.
I highly recommend reading https://www.chiark.greenend.org.uk/~sgtatham/bugs.html.
@mtrojnar Sorry about that. I retry it as follows:
Fixed by #255
I use osslsigncode 2.2 to verify a sample, it shows the signature is invalid, because "Verify error:certificate is not yet valid Signature verification: failed". And osslsigncode shows: "The signature is timestamped: May 3 22:19:50 2016 GMT", the signing certificate is valid from "5:25 AM 5/4/2016" GTM.
I think it parses the timestamp with wrong way (But certificate valid time is right). The correct timestamp should be May 4 6:19:50 2016 GMT. And the signature is valid when I right click the file's porperty UI to see its code signing signatures.
I also try to verify the file with osslsigncode 2.5, it just prints "Invalid signature". Without extra information.