Possibly a stupid question: Why do we want to do this? Is it "more encryption better" or is there some other less obvious purpose as well?

/Daniel

On 2026-11-17 20:32, 'Philipp Hancke' via blink-dev wrote:
hey Philip,

Am Di., 17. Nov. 2026 um 09:21 Uhr schrieb Philip Jägenstedt <[email protected]>:

    Hi Philipp,

    The default in
    https://w3c.github.io/webrtc-extensions/#configuration is
    "negotiate", so shipping it with "disable" wouldn't match the spec
    and would then presumably be failing a bunch of tests.

Yes. I was not happy about having to add "disable" in the first place.

    If the only reason is a risk that "negotiate" isn't web
    compatible, would it be an option to ramp this up slowly with
    Finch to gain confidence? This would have to be done in a second
    step anyway, and I'm not sure I see the upside of deferring the
    risk discovery until after this has shipped.


"web-compatbile" and WebRTC is tricky because browsers are fairly reasonable pieces of software ;-)

The problem I am trying to avoid are broken SDP parsers (browsers are fine) such as the one that is currently blocking a rollout in
https://issues.webrtc.org/issues/489794442
The "can you please postpone this change" ask is fairly common, in particular from implementations with a long tail of customers or opensource deployments. We have seem some "SDP parsers" that echo back lines they do not understand (which is not how the "offer answer model" works) which for cryptex would cause sending RTP packets with encrypted header extensions.

Rolling out with a default disable with the clear intent of switching in a couple of months seems less friction to me than asking folks to put
  "disable"
into their peerconnection constructor now. The downside is that there will be folks who do this and then never re-evaluate that decision which means less adoption. On the other hand we can ask them today, wait a bit and ship the API with the proper "negotiate" default in Q1. Slightly slower for early adopters but we are already three years behind the IETF on this one.

Either way seems fine to me.

cheers

Philipp

    Best regards,
    Philip

    On Thu, Nov 12, 2026 at 5:28 PM 'Philipp Hancke' via blink-dev
    <[email protected]> wrote:

        *Contact emails*
        [email protected], [email protected]

        *Explainer*
        
https://github.com/fippo/webrtc-explainers/blob/gh-pages/rtp-header-extension-encryption/index.md

        *Specification*
        https://w3c.github.io/webrtc-extensions/#rtp-header-extension-encryption

        *Summary*
        Allows using SRTP encryption to cover RTP header extensions
        and contributing source (CSRC) identifiers.

        *Blink component*
        Blink>WebRTC>PeerConnection
        
<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EWebRTC%3EPeerConnection%22>

        *Web Feature ID*
        webrtc <https://webstatus.dev/features/webrtc>

        *Motivation*
        This provides an implementation of RFC 9335 which extends the
        encryption used by WebRTC to some fields that were so far
        transmitted in plain over the network.

        *Search tags*
        WebRTC <https://chromestatus.com/features#tags:WebRTC>,
        cryptex <https://chromestatus.com/features#tags:cryptex>

        *TAG review status*
        Not applicable

        *Risks*
        *Interoperability and Compatibility*
        Currently marked as at-risk in
        https://github.com/w3c/webrtc-extensions/issues/234 due to
        lack of implementations. There is a non-browser implementation
        in the Pion/WebRTC project that is being tracked under
        https://github.com/pion/webrtc/pull/3357 which will allow
        interoperability testing.

        /Gecko/: No
        signal (https://github.com/mozilla/standards-positions/issues/1413) 
Mozilla's
        representative in the WebRTC WG approved changes to this
        feature to the WebRTC Extensions spec in
        https://github.com/w3c/webrtc-extensions/pull/256

        /WebKit/: No
        signal (https://github.com/WebKit/standards-positions/issues/671) 
Apple's
        representative in the WebRTC WG approved changes to this
        feature to the WebRTC Extensions spec in
        https://github.com/w3c/webrtc-extensions/pull/256

        /Web developers/: No signals

        *Activation*
        We should switch the default from "disable" to "negotiate" but
        for the initial roll-out "disable" seems less risky.

        *Security*
        Note that a "disable" option was added to
        https://github.com/w3c/webrtc-extensions/pull/256/changes This
        is not a downgrade attack as negotiating cryptex is not mandatory.

        *WebView application risks*

        Does this intent deprecate or change behavior of existing
        APIs, such that it has potentially high risk for Android
        WebView-based applications?

        /No information provided/


        *Debuggability*
        /No information provided/

        *Will this feature be supported on all six Blink platforms
        (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?*
        Yes

        *Is this feature fully tested by web-platform-tests
        
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?*
        Yes
        Barebones tests in
        webrtc-extensions/RTCConfiguration-rtpHeaderEncryptionPolicy.html
        along with libWebRTC tests at a lower level.

        *Flag name on about://flags*
        /No information provided/

        *Finch feature name*
        RtcRtpHeaderEncryptionPolicy

        *Rollout plan*
        Will ship enabled for all users

        *Requires code in //chrome?*
        False

        *Tracking bug*
        https://issues.chromium.org/issues/455813732

        *Measurement*
        UMA WebRTC.PeerConnection.CryptexUsage for the percentage of
        connected peerconnections using cryptex

        *Estimated milestones*
        Shipping on desktop     160
        Shipping on Android     160
        Shipping on WebView     160



        *Anticipated spec changes*

        Open questions about a feature may be a source of future web
        compat or interop issues. Please list open issues (e.g. links
        to known github issues in the project for the feature
        specification) whose resolution may introduce web
        compat/interop risk (e.g., changing to naming or structure of
        the API in a non-backward-compatible way).

        /No information provided/

        *Link to entry on the Chrome Platform Status*
        https://chromestatus.com/feature/5177732519559168?gate=6146552587485184

        This intent message was generated by Chrome Platform Status
        <https://chromestatus.com/>.
-- You received this message because you are subscribed to the
        Google Groups "blink-dev" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected].
        To view this discussion visit
        
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKiJELCpbqjibB2ovBfrZ6nfgXrBRXm9F2JRcJ3qF3sd88w%40mail.gmail.com
        
<https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKiJELCpbqjibB2ovBfrZ6nfgXrBRXm9F2JRcJ3qF3sd88w%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2Bk2KFqEciyaWScoLGh9vA_9YMpORLzXpVeqOok%2BhpeuQ%40mail.gmail.com <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADxkKi%2Bk2KFqEciyaWScoLGh9vA_9YMpORLzXpVeqOok%2BhpeuQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0029522c-2ca5-4791-a1a9-69e36560f6d5%40gmail.com.

Reply via email to