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

Issue 1972853003: content::RTCCertificateGenerator and WebRTC-EnableWebRtcEcdsa update. (Closed)

Created:
4 years, 7 months ago by hbos_chromium
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content::RTCCertificateGenerator and WebRTC-EnableWebRtcEcdsa update. The flag WebRTC-EnableWebRtcEcdsa no longer makes assumptions about which type the default certificate is. Compares with KT_DEFAULT instead; if flag is on ECDSA is used, if off RSA is used. Previously assumed RSA was the default. - This is preparation for modifying the value of KT_DEFAULT without messing up the WebRTC-EnableWebRtcEcdsa experiment. Synchronous version of content::RTCCerticicateGenerator's certificate generation method added: generateCertificateAndWait. This is used in place of SSLIdentity::Generate - or its replacement rtc::RTCCertificateGenerator::GenerateCertificate - because using the Chromium crypto path (PeerConnectionIdentityStore) still has performance benefits for RSA-1024. We will stop taking advantage of this crypto path as soon as we remove WebRTC-EnableWebRtcEcdsa and there is no risk of RSA-1024 being the default. Using generateCertificateAndWait in rtc_peer_connection_handler.cc and removed old code using SSLIdentity::Generate in its place. BUG=601850

Patch Set 1 #

Patch Set 2 : Reverted unnecessary CONTENT_EXPORT change and updated comment (no need to re-run trybots yet) #

Total comments: 28

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -56 lines) Patch
M content/renderer/media/rtc_certificate_generator.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_certificate_generator.cc View 1 2 7 chunks +76 lines, -29 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 4 chunks +27 lines, -16 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 2 chunks +1 line, -8 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
hbos_chromium
Please take a look, tommi.
4 years, 7 months ago (2016-05-12 11:51:53 UTC) #4
hbos_chromium
On 2016/05/12 11:51:53, hbos_chromium wrote: > Please take a look, tommi. Hmh, config files for ...
4 years, 7 months ago (2016-05-12 12:29:02 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/1972853003/diff/40001/content/renderer/media/rtc_certificate_generator.cc File content/renderer/media/rtc_certificate_generator.cc (right): https://codereview.chromium.org/1972853003/diff/40001/content/renderer/media/rtc_certificate_generator.cc#newcode54 content/renderer/media/rtc_certificate_generator.cc:54: base::WaitableEvent& request_event() { non-const on purpose? If you only ...
4 years, 7 months ago (2016-05-12 12:42:56 UTC) #6
hbos_chromium
PTAL tommi. https://codereview.chromium.org/1972853003/diff/40001/content/renderer/media/rtc_certificate_generator.cc File content/renderer/media/rtc_certificate_generator.cc (right): https://codereview.chromium.org/1972853003/diff/40001/content/renderer/media/rtc_certificate_generator.cc#newcode54 content/renderer/media/rtc_certificate_generator.cc:54: base::WaitableEvent& request_event() { On 2016/05/12 12:42:55, tommi-chrömium ...
4 years, 7 months ago (2016-05-12 14:28:00 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972853003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972853003/60001
4 years, 7 months ago (2016-05-12 15:36:11 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-12 16:20:45 UTC) #11
hbos_chromium
Fieltrials make sure code is tested with flag both on and off, but before landing ...
4 years, 7 months ago (2016-05-13 08:35:47 UTC) #12
hbos_chromium
4 years, 7 months ago (2016-05-13 09:17:40 UTC) #13
We'll go ahead with opt. 3) as discussed offline. Closing issue.

Powered by Google App Engine
This is Rietveld 408576698