Require 4/22 ice-chars for local ICE credentials - #949
Merged
Conversation
An ice-char carries 6 bits, not 8, so the RFC 8445 randomness minimums are exactly the RFC 8839 grammar minimums of 4 and 22 characters. The old *8 check accepted a 16-char password carrying ~96 bits against a 128-bit requirement, and values too short to be legal in SDP. RFC 5245 description is still the best: https://datatracker.ietf.org/doc/html/rfc5245#section-15.4
fippo
force-pushed
the
ice-ufrag-pwd-length
branch
from
August 4, 2026 13:46
9f40dee to
5921cd2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #949 +/- ##
==========================================
- Coverage 88.27% 88.24% -0.03%
==========================================
Files 46 46
Lines 6277 6279 +2
==========================================
Hits 5541 5541
- Misses 501 505 +4
+ Partials 235 233 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Author
|
asked Claude about something else, it blurbed too much in response and said something that sounded wrong ;-) |
Contributor
Author
|
for remote that does not work since a lot of people insist on base64. We might for local which we control |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An ice-char carries 6 bits, not 8, so the RFC 8445 randomness
minimums are exactly the RFC 8839 grammar minimums of 4 and 22
characters. The old *8 check accepted a 16-char password carrying
~96 bits against a 128-bit requirement, and values too short to
be legal in SDP.
RFC 5245 description is still the best:
https://datatracker.ietf.org/doc/html/rfc5245#section-15.4