Skip to content

RSA key length support for generateCertificate #3057

@fippo

Description

@fippo

As shown by
https://wpt.fyi/results/webrtc/RTCPeerConnection-generateCertificate.html?label=experimental&label=master&aligned
all browsers support 1024 and 2048 bits (which is required).
Chrome supports up to 8192 bits (which take about 60 seconds to generate so WPT tests for that were too flaky). Firefox supports values above that even.

1024 bits RSA keys have been considered weak for a while now:

Can we agree that the minimum key length should be 2048? @alvestrand said 1024 is virtually unused in Chromium so can be safely removed.

Given that ECDSA has been the default in Chromium-based browsers (2016) it might be time to deprecate RSA alltogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions