trailofbits / uthenticode

A cross-platform library for verifying Authenticode signatures
https://trailofbits.github.io/uthenticode/
MIT License
136 stars 33 forks source link

Verify the timestamp signature #14

Open woodruffw opened 4 years ago

woodruffw commented 4 years ago

In addition to the signature and certificate chain, we should also verify the timestamp signature embedded in each Authenticode SignedData.

Documentation for these is a little inconsistent, but they seem to be mostly standard PKCS#9 countersignatures:

osslsigncode's codebase will probably be helpful here.