Skip to content

DTLS 1.3 OID filter extension#814

Open
theodorsm wants to merge 2 commits intomasterfrom
oid_filters
Open

DTLS 1.3 OID filter extension#814
theodorsm wants to merge 2 commits intomasterfrom
oid_filters

Conversation

@theodorsm
Copy link
Member

Description

This PR implements the oid_filters extension for DTLS 1.3 defined in RFC8446 section 4.2.5. This extension allows servers to provide a set of OID/value pairs which it would like the client's certificate to match.

Reference issue

This is not needed for the DTLS 1.3 MVP, but is added for RFC completeness. This is the last extension defined in RFC8446 that we do not have a parser for yet. Note: None of crypto/tls, openssl or wolfssl support this extension yet either.

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 92.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.60%. Comparing base (956d41d) to head (fceedfb).

Files with missing lines Patch % Lines
pkg/protocol/extension/oid_filters.go 92.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #814      +/-   ##
==========================================
+ Coverage   82.53%   82.60%   +0.06%     
==========================================
  Files         120      121       +1     
  Lines        6802     6852      +50     
==========================================
+ Hits         5614     5660      +46     
- Misses        778      780       +2     
- Partials      410      412       +2     
Flag Coverage Δ
go 82.60% <92.00%> (+0.06%) ⬆️

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.

@theodorsm theodorsm requested a review from JoTurk March 12, 2026 14:35
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.

2 participants