Open Bug 1306582 Opened 10 years ago Updated 11 months ago

make TLS 1.3 named groups configurable via prefs

Categories

(Core :: Security: PSM, defect, P3)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: jan, Unassigned)

References

Details

(Whiteboard: [psm-backlog])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20160929030426 Expected results: Like I can disable security.ssl3.dhe_rsa_aes_128_sha, with TLS 1.3 I can only disable security.tls13.aes_128_gcm_sha256 (to force aes/chacha 256 bit), but where is the option to disable DHE ?
Component: Untriaged → Security
OS: Unspecified → All
Hardware: Unspecified → All
Component: Security → Security: PSM
Product: Firefox → Core
Don't confuse with https://bugzilla.mozilla.org/show_bug.cgi?id=1227519 (Establish deprecation date for DHE ciphersuits)
DHE in TLS 1.3 is not particularly bad because TLS 1.3 mandates FFDHE extension (RFC 7919).
It is not as performant as ECDHE-ECDSA. Also, ffdhe4096 and ffdhe8192 are currently not available* in Firefox. So DHE might be worthless (medium-term / long-term). The next step would be a config option to customize the list of curves in about:config (e.g. secp521r1 only). *) Source: security/manager/ssl/nsNSSIOLayer.cpp // Include a modest set of named groups. const SSLNamedGroup namedGroups[] = { ssl_grp_ec_curve25519, ssl_grp_ec_secp256r1, ssl_grp_ec_secp384r1, ssl_grp_ec_secp521r1, ssl_grp_ffdhe_2048, ssl_grp_ffdhe_3072 };
This might be useful in case we ever need to quickly disable a particular named group.
Priority: -- → P3
Summary: Option to disable DHE in TLS 1.3 → make TLS 1.3 named groups configurable via prefs
Whiteboard: [psm-backlog]
See Also: → 1305243
I guess this is a "request for enhancement"? I'm confused by several of the comments. I don't see "security.tls13" in config for Firefox Nightly 63.0a1 (2018-07-30). It should be added, with strings for ciphers and curves enabled and preference order. I'm not sure why certain comments are marked "obsolete", as this functionality does not yet exist. Agreed with above posters to request the enhancement to set user preferences in config for both cipher suites and curves in user-preferred order. Request the enhancement to specify appropriate SafeCurves ( https://safecurves.cr.yp.to/ ) for near-term or long-term requirements as needed (as above: https://www.keylength.com/en/3/ ). Curves which don't meet all the SafeCurves ECDLP and ECC criteria should be at the end of the default list, rather than at the beginning. In practice, I think people are looking for x25519 for near-term and either x448 or secp521r1 for long-term.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.