Skip to content

Conversation

Shushangw
Copy link

Fixes #1096: failed to verify sct when the server serves a certificate chain that is out-of-order.

Checklist

… is out-of-order

Signed-off-by: beardwen <beardwen@163.com>
@Shushangw Shushangw requested a review from a team as a code owner July 8, 2023 08:56
@Shushangw Shushangw requested review from mhutchinson and removed request for a team July 8, 2023 08:56
@mhutchinson
Copy link
Contributor

Thanks for this PR. I was going to leave a comment on here suggesting an alternative way that seemed more thorough, but in the end coding it up was simpler. Take a look at #1112 and see what you think?

@Shushangw
Copy link
Author

Thanks for this PR. I was going to leave a comment on here suggesting an alternative way that seemed more thorough, but in the end coding it up was simpler. Take a look at #1112 and see what you think?

Okay, thanks for your review.

@Shushangw Shushangw closed this Jul 10, 2023
Shushangw referenced this pull request Jul 13, 2023
Where the chain is out of order, look through the whole chain to find a matching issuer cert. If we don't find one, then use the fallback logic that was already there for no issuer chain provided.

Added warning if issuer cert found out of position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failed to verify ECDSA signature and GetProofByHash
2 participants