-
Notifications
You must be signed in to change notification settings - Fork 26
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
Clean up certificate timestamp comparisons #176
Comments
I could be misunderstanding but I think each of these instances are different from each other and necessary:
@haydentherapper do you still think these are superfluous? |
For the first, the SET and TSA timestamps are used to verify the code-signing/leaf certificate. That timestamp, That is the same check that we do in the second, comparing the certificate's NotBefore and NotAfter (link). That will be the same as the third check as well, just using the tlog entry timestamp instead. I think the latter two are still superfluous. With that said, I think there are two things to discuss:
Thoughts? Either we need to a) update the comments on the APIs and leave everything as is, or b) remove the timestamp comparisons and also add timestamp comparisons back for key verification. |
@haydentherapper would you mind updating the links in the original issue with permalinks so I can be sure I'm looking at the same code you're talking about? The first seems to link to a call to |
@cmurphy Updated the links in the first comment, lemme know if that helps. |
Description
There are three places we compare certificates against SET or TSA timestamps:
The latter two are redundant. The first uses all aggregated timestamps, while the latter two do comparisons for each respective timestamp (TSA or SET).
The text was updated successfully, but these errors were encountered: