Skip to content

Re-implemented renegotiation extension to comply with RFC5746 and RFC5246 #711

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

daanpape
Copy link

@daanpape daanpape commented May 6, 2025

Description

In this pull request I have re-implemented the renegotiation extension headers to comply with RFC5746 and RFC5246. This is required for PionDTLS to work with WolfSSL which strictly follows these RFCs and stops to connection when the renegotiation extension is wrongly added to the ServerHello response.

Reference issue

Fixes #687

Copy link

codecov bot commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.47%. Comparing base (806ff2f) to head (2017dac).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #711      +/-   ##
==========================================
- Coverage   78.63%   78.47%   -0.16%     
==========================================
  Files         101      101              
  Lines        6828     6834       +6     
==========================================
- Hits         5369     5363       -6     
- Misses       1085     1096      +11     
- Partials      374      375       +1     
Flag Coverage Δ
go 78.49% <100.00%> (-0.16%) ⬇️
wasm 57.15% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@nils-ohlmeier nils-ohlmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is prohibited to include the renegotiation_info extension in ServerHello if Renegotiation Indication Extension is not supported by client
2 participants