Repository navigation
Conversation
Signed-off-by: Tim Perry <pimterry@gmail.com>
Signed-off-by: Tim Perry <pimterry@gmail.com>
Signed-off-by: Tim Perry <pimterry@gmail.com>
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67781 +/- ##
==========================================
- Coverage 90.51% 90.50% -0.02%
==========================================
Files 805 805
Lines 285753 285831 +78
Branches 55165 55187 +22
==========================================
+ Hits 258652 258681 +29
- Misses 17192 17250 +58
+ Partials 9909 9900 -9
🚀 New features to boost your workflow:
|
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
| --> | ||
|
|
||
| > Stability: 1.2 - Release candidate | ||
| > Stability: 1.1 - Active development |
There was a problem hiding this comment.
We normally don't regress on the stability index.
There was a problem hiding this comment.
This is only released on an alpha for now. It's baking-for-lts.
There was a problem hiding this comment.
Yeah, I know, it's still not something we do often. There's no explanation about why it's being regressed in the PR description.
There was a problem hiding this comment.
Very good point yes, sorry. I should've highlighted this in the description separately, it's just that I forgot to raise it.
Came in for two reasons:
- We've only just implemented and added this 2 weeks ago, it's just in alpha, and I think there will be active development here, so I'm not sure 'release candidate' is right yet. Each of the 3 changes here is arguably a breaking change we'd mostly avoid for release candidates, for starters, and I think there's more breaking changes we should consider - see my points in crypto: add X.509 generation with CSR support #67245 (comment)
- As discussed in that same comment, I think we should consider pulling back the CSR part of this even further, to something we can exclude from the security policy (which I think means behind a CLI flag, which requires 1.1 here) so that we can let it mature and clean up issues there in public for now. Right now, in theory any bug we find in this brand new code is immediately a vulnerability we have to fix in secret, I'd prefer to defer that a bit.
Not married to this, and definitely should've been discussed yes, I can drop it from this PR if we'd prefer.
There was a problem hiding this comment.
Hahaha, no, I didn't forget - it's here because Panva pushed it on top separately, it's just that it matches my local changes from the CSR tests I was playing with already so I've got confused 😆
This is work following on from #67245 after I've finally found some time to review it. This covers three tiny bugs that I found in review, easier to fix than discuss I think:
getSaltLengthfrom that PR, since it's no longer used here.getSaltLengthtoo, currently we pin a historical default there that both OpenSSL and BoringSSL have moved away from. Likely a breaking change though, and I can't say I fully understand the implications. Safer to change just for the new API for now.\0with SAN names, but not the cert subject. This extends coverage to that too.Broken into separate commits for each change for easier review, I've tried to keep each fairly small & focused.