Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: verification of Microsoft countersignatures (#104)
Verification of Microsoft countersignatures now takes into account signer info digest and verifies it against digest of content info (timestamp info). The signature of the signed attributes was verified, the digest of countersigned signature was verified but what was missing is the verification that the signed attributes are actually signing the embedded timestamp information. This would allow anyone to take a valid countersignature, replace content info of the signed data with their own timestamp info, recalculate hash against the countersigned signature and it would be verified as OK.
- Loading branch information