-
Notifications
You must be signed in to change notification settings - Fork 547
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
Make sure a cert passed in via --cert matches the bundle cert #2652
Conversation
Signed-off-by: Priya Wadhwa <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2652 +/- ##
==========================================
- Coverage 30.01% 30.01% -0.01%
==========================================
Files 146 146
Lines 9288 9296 +8
==========================================
+ Hits 2788 2790 +2
- Misses 6070 6074 +4
- Partials 430 432 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Priya Wadhwa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't handle the OCI image case, right? Since in that case the bundle is on-disk and only gets read during the internal verification call.
That's a good catch. I think long-run, we're going to want:
Then, all of As it stands, I haven't been able to figure out whether this actually happens in |
I think this was the source of the original issue though, right? From #2632 is an OCI image. |
I think #2633 is more important for that, this was just a side issue and I think it's more obviously a problem for |
…re#2652) * Make sure a cert passed in via --cert matches the bundle cert Signed-off-by: Priya Wadhwa <[email protected]> * Use cert.Equal for comparison Signed-off-by: Priya Wadhwa <[email protected]> Signed-off-by: Priya Wadhwa <[email protected]>
…re#2652) * Make sure a cert passed in via --cert matches the bundle cert Signed-off-by: Priya Wadhwa <[email protected]> * Use cert.Equal for comparison Signed-off-by: Priya Wadhwa <[email protected]> Signed-off-by: Priya Wadhwa <[email protected]>
This is part of #2632, and is one of the smaller action items listed in #2632 (comment).
Signed-off-by: Priya Wadhwa [email protected]
Release Note
Documentation