DTLS 1.3 signature_algorithms_cert Extension#788
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #788 +/- ##
==========================================
- Coverage 81.65% 81.46% -0.20%
==========================================
Files 109 111 +2
Lines 6384 6501 +117
==========================================
+ Hits 5213 5296 +83
- Misses 771 799 +28
- Partials 400 406 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
419ae92 to
aa4aef6
Compare
|
This PR needs some clean-up and a lot more unit tests. But I figured I'd open it and ask for any early feedback cc:// @theodorsm @JoTurk |
f8ccea5 to
ba183cf
Compare
|
This PR is ready for formal review now. |
|
If you want to play with the new |
2614981 to
e956596
Compare
|
Thanks for the review @theodorsm. Looking forward to your @JoTurk :D I've made your requested changes in new commits @theodorsm , just to make review easier. Once you are happy I will squash into 1. |
ddf8c35 to
5c1d633
Compare
theodorsm
left a comment
There was a problem hiding this comment.
Wow, thanks for the fast fix @adrianosela. I like the generic signature extension.
I went over it once more and noticed two things.
211fed9 to
8ec7ed9
Compare
|
There was a problem hiding this comment.
I am so sorry about the back-and-forth, but I had to take a bit longer time to reason about the handshake state machine. I added more comments.
Also, we should do as you did previously, with checking for the length of the provided CertificateSignatureSchemes and not fallback to signaturesSchemes in config. I looked at some captures from firefox and chrome and they do not add the signature_algorithms_cert by default. We have the same policy for both extensions:
Implementations which have the same policy in both cases MAY omit the "signature_algorithms_cert" extension.
298f8d8 to
7d91c46
Compare
theodorsm
left a comment
There was a problem hiding this comment.
LGTM! Let's rebase and merge once the config options are merged.
7d91c46 to
d6bfeca
Compare
|
I've rebased, squashed all commits, and added a functional config option. I would like @JoTurk's blessing, or a new +1 from @theodorsm, before merging this. |
d6bfeca to
06fb6dc
Compare
DTLS 1.3 signature_algorithms_cert Extension
Addresses part of #776: Adds support for the
signature_algorithms_certextension.Note: Per https://www.rfc-editor.org/rfc/rfc8446#section-4.2.3 and https://www.rfc-editor.org/rfc/rfc8446#section-1.3 this extension may optionally apply to DTLS 1.2, so we can safely ship any net-new additions to the API e.g.
CertificateSignatureSchemesin config.