Add PreSharedKey extensions for DTLS 1.3#773
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #773 +/- ##
==========================================
- Coverage 81.70% 81.60% -0.10%
==========================================
Files 105 107 +2
Lines 5847 5937 +90
==========================================
+ Hits 4777 4845 +68
- Misses 688 699 +11
- Partials 382 393 +11
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:
|
a9b8265 to
062070a
Compare
adrianosela
left a comment
There was a problem hiding this comment.
Code looks good. Pointed out some minor validation checks missing in (p *PreSharedKey) Unmarshal, as well as some nice-to-have documentation.
3b17caa to
0f25d4c
Compare
|
@adrianosela, thanks for the review! I have fixed your comments, it's ready for another round 👀 I added a couple extra tests for multiple identites and the 1:1 match with binders. |
adrianosela
left a comment
There was a problem hiding this comment.
2 comments left, LGTM.
0f25d4c to
ade8f4c
Compare
JoTurk
left a comment
There was a problem hiding this comment.
Other than the comment lgtm :)
Description
DTLS 1.3 uses two new extensions to negotiate PreSharedKey (PSK) mode.
Progress:
pre_shared_keyextensionpre_shared_keytests and fuzzpsk_exchange_modesextensionpsk_exchange_modestests and fuzzReference issue
Fixes #771