Closed
Bug 1306003
Opened 9 years ago
Closed 9 years ago
Allow secp521r1 as named curve in TLS 1.3 by default
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox50 | --- | unaffected |
firefox51 | - | --- |
firefox52 | + | fixed |
People
(Reporter: jan, Unassigned)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20160928030201
Steps to reproduce:
about:buildconfig -> https://hg.mozilla.org/mozilla-central/rev/66a77b9bfe5dcacd50eccf85de7c0e7e15ce0ffd
Actual results:
Missing P-521 here
https://reviewboard.mozilla.org/r/80636/diff/3#1
// These are the named groups that we will allow.
static const SSLNamedGroup NamedGroupPreferences[] = {
ssl_grp_ec_curve25519,
ssl_grp_ec_secp256r1,
ssl_grp_ec_secp384r1,
ssl_grp_ffdhe_2048,
ssl_grp_ffdhe_3072
};
Expected results:
Please value this comment https://bugzilla.mozilla.org/show_bug.cgi?id=1128792#c15
You are weakening security (defaults) with no need.
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
You can stop announce P-521 be default, only if https://bugzilla.mozilla.org/show_bug.cgi?id=1305243 Curve 448 has been implemented and if Let's Encrypt signs Curve 448 Certificates and if other browsers speak that curve too.
Otherwise you would force people to lower their security on the move from TLS 1.2 to TLS 1.3.
https://www.keylength.com/en/3/ Level 8 is desired.
Reporter | ||
Updated•9 years ago
|
Summary: Allow P521 as named curve in TLS 1.3 by default → Allow secp521r1 as named curve in TLS 1.3 by default
Comment hidden (mozreview-request) |
There's also bug 1129077 about removing P-521, and Chrome has already dropped support for it.
![]() |
||
Comment 5•9 years ago
|
||
See https://bugzilla.mozilla.org/show_bug.cgi?id=1306085#c1 for the problems dropping P-521 causes, when combined with our preference for forward secrecy (which Chrome either doesn't have, or implements differently).
![]() |
||
Comment 7•9 years ago
|
||
[Tracking Requested - why for this release]: Please transfer tracking flags when marking duplicates...
Status: UNCONFIRMED → NEW
status-firefox50:
--- → unaffected
status-firefox52:
--- → affected
tracking-firefox51:
--- → ?
tracking-firefox52:
--- → ?
Ever confirmed: true
Comment 8•9 years ago
|
||
mozreview-review |
Comment on attachment 8795952 [details]
Bug 1306003 - Enable P-521,
https://reviewboard.mozilla.org/r/81928/#review80522
::: security/manager/ssl/nsNSSIOLayer.cpp:2501
(Diff revision 1)
> const SSLNamedGroup namedGroups[] = {
> ssl_grp_ec_curve25519, ssl_grp_ec_secp256r1, ssl_grp_ec_secp384r1,
> - ssl_grp_ffdhe_2048, ssl_grp_ffdhe_3072
> + ssl_grp_ec_secp521r1, ssl_grp_ffdhe_2048, ssl_grp_ffdhe_3072
> };
> if (SECSuccess != SSL_NamedGroupConfig(fd, namedGroups,
LGTM
Attachment #8795952 -
Flags: review+
Reporter | ||
Comment 9•9 years ago
|
||
Thank you. But this patch isn't including secp521r1 for the use with DTLS (TLS 1.3) in /media/mtransport/transportlayerdtls.cpp as introduced with https://reviewboard.mozilla.org/r/80636/diff/3#1 and mentioned in my #c0. Would be great to see it there too.
Comment 10•9 years ago
|
||
mozreview-review |
Comment on attachment 8795952 [details]
Bug 1306003 - Enable P-521,
https://reviewboard.mozilla.org/r/81928/#review80528
Attachment #8795952 -
Flags: review+
Comment 11•9 years ago
|
||
The web-compat profile is different for WebRTC.
Flags: needinfo?(martin.thomson)
Comment 12•9 years ago
|
||
Comment on attachment 8795952 [details]
Bug 1306003 - Enable P-521,
Two reviews will do, thanks.
Attachment #8795952 -
Flags: review?(dkeeler)
Comment 13•9 years ago
|
||
Pushed by martin.thomson@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/51cbff25e017
Enable P-521, r=ekr,rbarnes
Reporter | ||
Comment 14•9 years ago
|
||
(In reply to Martin Thomson [:mt:] from comment #11)
> The web-compat profile is different for WebRTC.
Are you saying that secp521r1 was not avaiable in WebRTC/DTLS 1.2? A compatible (or server preferred) curve should be selected through negotiation/handshake. Would there be any reason for a limitation here? If incompatibilites expected: Why?
Comment 15•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•