Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Issue 1329493005: Provide RSA2048 as per RFC (Closed)

Created:
5 years, 3 months ago by torbjorng (webrtc)
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

provide RSA2048 as per RFC BUG=webrtc:4972 Committed: https://crrev.com/0df3eb03c9a6a8299d7e18c8c314ca58c2f0681e Cr-Commit-Position: refs/heads/master@{#10209}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Allow full parameterization of RSA, curve id for ECDSA. #

Total comments: 43

Patch Set 3 : Address juberti's and hbos' feedback. #

Total comments: 8

Patch Set 4 : Rebase. #

Patch Set 5 : Address hbos' comments. #

Total comments: 2

Patch Set 6 : Put KT_INVALID last. #

Total comments: 10

Patch Set 7 : Address hbos' concerns #

Total comments: 19

Patch Set 8 : Address feedback #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -70 lines) Patch
M talk/app/webrtc/webrtcsession_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/base/opensslidentity.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/opensslidentity.cc View 1 2 3 4 5 6 7 6 chunks +24 lines, -19 lines 0 comments Download
M webrtc/base/ssladapter_unittest.cc View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/sslidentity.h View 1 2 3 4 5 6 7 3 chunks +93 lines, -8 lines 0 comments Download
M webrtc/base/sslidentity.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 1 2 3 4 5 6 7 8 8 chunks +47 lines, -29 lines 0 comments Download

Messages

Total messages: 49 (16 generated)
torbjorng (webrtc)
Please take a look, Henrik. This adds RSA-2048 key generation, and tests generation and recognition ...
5 years, 3 months ago (2015-09-01 13:24:01 UTC) #2
hbos
https://codereview.webrtc.org/1329493005/diff/1/webrtc/base/sslidentity.h File webrtc/base/sslidentity.h (right): https://codereview.webrtc.org/1329493005/diff/1/webrtc/base/sslidentity.h#newcode117 webrtc/base/sslidentity.h:117: // The WebRTC RFC draft mandates KT_ECDSA and KT_RSA2048. ...
5 years, 3 months ago (2015-09-01 15:35:32 UTC) #3
juberti
https://codereview.webrtc.org/1329493005/diff/1/webrtc/base/nssstreamadapter.cc File webrtc/base/nssstreamadapter.cc (right): https://codereview.webrtc.org/1329493005/diff/1/webrtc/base/nssstreamadapter.cc#newcode1102 webrtc/base/nssstreamadapter.cc:1102: if (key_type == KT_RSA1024 || key_type == KT_RSA2048) { ...
5 years, 3 months ago (2015-09-01 19:36:52 UTC) #5
torbjorng (webrtc)
PTAL hbos. * A plain Generate call is now more clunky, KT_BLAH has become rtc::KeyTypeFull::BLAH(). ...
5 years, 2 months ago (2015-09-29 12:17:42 UTC) #6
hbos
https://codereview.webrtc.org/1329493005/diff/20001/talk/app/webrtc/webrtcsession_unittest.cc File talk/app/webrtc/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1329493005/diff/20001/talk/app/webrtc/webrtcsession_unittest.cc#newcode600 talk/app/webrtc/webrtcsession_unittest.cc:600: rtc::SSLIdentity::Generate(identity_name, rtc::KeyTypeFull())) Here and other places: I prefer KeyTypeFull::Default() ...
5 years, 2 months ago (2015-09-29 13:53:18 UTC) #7
juberti
I think this might be trying to be too clever. Generally, I think we should ...
5 years, 2 months ago (2015-09-29 16:44:05 UTC) #9
torbjorng (webrtc)
Thanks for the feedback. PTAL juberti and hbos! https://codereview.webrtc.org/1329493005/diff/20001/talk/app/webrtc/webrtcsession_unittest.cc File talk/app/webrtc/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1329493005/diff/20001/talk/app/webrtc/webrtcsession_unittest.cc#newcode600 talk/app/webrtc/webrtcsession_unittest.cc:600: rtc::SSLIdentity::Generate(identity_name, ...
5 years, 2 months ago (2015-10-01 11:43:19 UTC) #10
hbos
https://codereview.webrtc.org/1329493005/diff/20001/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): https://codereview.webrtc.org/1329493005/diff/20001/webrtc/base/opensslidentity.cc#newcode46 webrtc/base/opensslidentity.cc:46: static EVP_PKEY* MakeKey(KeyTypeFull key_type) { On 2015/09/29 13:53:18, hbos ...
5 years, 2 months ago (2015-10-01 14:42:43 UTC) #13
torbjorng (webrtc)
Address hbos' comments. https://codereview.webrtc.org/1329493005/diff/80001/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): https://codereview.webrtc.org/1329493005/diff/80001/webrtc/base/opensslidentity.cc#newcode409 webrtc/base/opensslidentity.cc:409: } On 2015/10/01 14:42:43, hbos wrote: ...
5 years, 2 months ago (2015-10-01 15:20:49 UTC) #14
hbos
https://codereview.webrtc.org/1329493005/diff/120001/webrtc/base/sslidentity.h File webrtc/base/sslidentity.h (right): https://codereview.webrtc.org/1329493005/diff/120001/webrtc/base/sslidentity.h#newcode116 webrtc/base/sslidentity.h:116: enum KeyType { KT_INVALID, KT_RSA, KT_ECDSA, KT_LAST, KT_DEFAULT = ...
5 years, 2 months ago (2015-10-05 11:31:49 UTC) #15
torbjorng (webrtc)
PTAL juberti. https://codereview.webrtc.org/1329493005/diff/20001/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): https://codereview.webrtc.org/1329493005/diff/20001/webrtc/base/opensslidentity.cc#newcode46 webrtc/base/opensslidentity.cc:46: static EVP_PKEY* MakeKey(KeyTypeFull key_type) { On 2015/10/01 ...
5 years, 2 months ago (2015-10-05 12:03:06 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/140001
5 years, 2 months ago (2015-10-05 14:57:50 UTC) #18
hbos
Found some more stuff (nits basically) when looking again with fresh eyes. lgtm if comments ...
5 years, 2 months ago (2015-10-05 15:17:06 UTC) #19
torbjorng (webrtc)
Thanks, concerns addressed in new patch set. https://codereview.webrtc.org/1329493005/diff/140001/webrtc/base/opensslidentity.h File webrtc/base/opensslidentity.h (right): https://codereview.webrtc.org/1329493005/diff/140001/webrtc/base/opensslidentity.h#newcode106 webrtc/base/opensslidentity.h:106: KeyType key_type); ...
5 years, 2 months ago (2015-10-05 16:16:49 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/160001
5 years, 2 months ago (2015-10-05 16:17:15 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
5 years, 2 months ago (2015-10-05 18:17:30 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/160001
5 years, 2 months ago (2015-10-06 15:53:15 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-06 15:53:55 UTC) #28
torbjorng (webrtc)
Ping Justin.
5 years, 2 months ago (2015-10-06 19:40:28 UTC) #29
juberti
Just minor stuff at this point. Overall this is looking good. https://codereview.webrtc.org/1329493005/diff/160001/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): ...
5 years, 2 months ago (2015-10-07 06:35:23 UTC) #30
hbos
https://codereview.webrtc.org/1329493005/diff/160001/webrtc/base/sslidentity.h File webrtc/base/sslidentity.h (right): https://codereview.webrtc.org/1329493005/diff/160001/webrtc/base/sslidentity.h#newcode117 webrtc/base/sslidentity.h:117: enum KeyType { KT_RSA, KT_ECDSA, KT_LAST, KT_INVALID, KT_DEFAULT = ...
5 years, 2 months ago (2015-10-07 10:04:40 UTC) #31
torbjorng (webrtc)
Thanks for the feedback! PTAL juberti, hbos. https://codereview.webrtc.org/1329493005/diff/160001/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): https://codereview.webrtc.org/1329493005/diff/160001/webrtc/base/opensslidentity.cc#newcode66 webrtc/base/opensslidentity.cc:66: key_params.ec_curve() == ...
5 years, 2 months ago (2015-10-07 13:30:04 UTC) #32
hbos
lgtm
5 years, 2 months ago (2015-10-07 13:55:31 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/200001
5 years, 2 months ago (2015-10-07 19:39:16 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-07 20:29:09 UTC) #37
juberti
lgtm
5 years, 2 months ago (2015-10-08 06:17:55 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/200001
5 years, 2 months ago (2015-10-08 07:20:10 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1142)
5 years, 2 months ago (2015-10-08 07:24:16 UTC) #42
Henrik Grunell WebRTC
Rubberstamp lgtm
5 years, 2 months ago (2015-10-08 09:01:06 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329493005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329493005/200001
5 years, 2 months ago (2015-10-08 09:03:40 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:200001)
5 years, 2 months ago (2015-10-08 09:06:21 UTC) #47
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/0df3eb03c9a6a8299d7e18c8c314ca58c2f0681e Cr-Commit-Position: refs/heads/master@{#10209}
5 years, 2 months ago (2015-10-08 09:06:27 UTC) #48
torbjorng (webrtc)
5 years, 2 months ago (2015-10-08 09:29:55 UTC) #49
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:200001) has been created in
https://codereview.webrtc.org/1397703002/ by torbjorng@webrtc.org.

The reason for reverting is: Breaks chrome..

Powered by Google App Engine
This is Rietveld 408576698