Skip to content
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

Added support for SRTP_NULL_HMAC_SHA1_80 cipher (v3 CP) #2820

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

sirzooro
Copy link
Contributor

Added support for SRTP_NULL_HMAC_SHA1_80 protection profile (cipher). It is disabled by default. You need to use SettingEngine and set list of allowed SRTP protection profiles using its SetSRTPProtectionProfiles function called with dtls.SRTP_NULL_HMAC_SHA1_80 as a parameter. You need to do this for both pion peers. For non-pion ones you may need to enable it somewhere too, as NULL cipher is usually disabled for security reasons.

Added support for SRTP_NULL_HMAC_SHA1_80 protection profile (cipher).
It is disabled by default. You need to use SettingEngine and set list
of allowed SRTP protection profiles using its SetSRTPProtectionProfiles
function called with dtls.SRTP_NULL_HMAC_SHA1_80 as a parameter. You
need to do this for both pion peers. For non-pion ones you may need to
enable it somewhere too, as NULL cipher is usually disabled for security
reasons.
Copy link

codecov bot commented Jul 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.74%. Comparing base (eb6e395) to head (2e2923b).
Report is 25 commits behind head on v3.

Files Patch % Lines
dtlstransport.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #2820      +/-   ##
==========================================
+ Coverage   76.32%   78.74%   +2.42%     
==========================================
  Files          87       89       +2     
  Lines        9846     8211    -1635     
==========================================
- Hits         7515     6466    -1049     
+ Misses       1866     1275     -591     
- Partials      465      470       +5     
Flag Coverage Δ
go 80.34% <0.00%> (+2.48%) ⬆️
wasm 65.66% <ø> (+1.21%) ⬆️

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.

@sirzooro sirzooro merged commit 5437ff5 into pion:v3 Jul 21, 2024
9 of 12 checks passed
@sirzooro sirzooro deleted the v3_add_null_srtp_cipher branch July 21, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant