-
Notifications
You must be signed in to change notification settings - Fork 51
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
Allow "required if present" EKUs #229
Allow "required if present" EKUs #229
Conversation
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.
Makes sense!
Would be curious to hear more about your use cases!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #229 +/- ##
=======================================
Coverage 97.13% 97.14%
=======================================
Files 19 19
Lines 4333 4336 +3
=======================================
+ Hits 4209 4212 +3
Misses 124 124 ☔ View full report in Codecov by Sentry. |
Using a root certificate in my control to (exclusively) issue code signing certificates. Given the entire purpose of the root is for code signing, I don't really care about the "code signing" EKU on individual certs, but might as well check for it if EKUs are present. |
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.
Thanks, LGTM.
@ctz Any interest in reviewing this one or should we merge? |
I noticed there isn't currently a pub function to use
ExtendedKeyUsage::RequiredIfPresent
. Unsure if there was a reason for this, or whether it was just missed?