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

Issue 1907083005: Stop preemptively generating an RSA key pair. (Closed)

Created:
4 years, 8 months ago by Taylor Brandstetter
Modified:
4 years, 7 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

Stop preemptively generating an RSA key pair. RSA isn't used by the Java binding, it isn't the default for Obj-C, and this identity store class isn't used at all by Chrome. So in most cases, preemptively generating an RSA key pair just wastes CPU cycles and blocks the worker thread. If a native C++ application really wants to preemptively generate an RSA key pair, it can easily do this by passing in its own DtlsIdentityStoreImpl and calling GenerateIdentity on it. R=juberti@chromium.org Committed: https://crrev.com/9cb23a3579990ff78e3ceb6b6a88a06912662d7b Cr-Commit-Position: refs/heads/master@{#12498}

Patch Set 1 #

Patch Set 2 : Fixing bug where an extra identity is generated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -12 lines) Patch
M webrtc/api/dtlsidentitystore.cc View 1 2 chunks +1 line, -7 lines 0 comments Download
M webrtc/api/dtlsidentitystore_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Taylor Brandstetter
PTAL Peter. FYI Justin, this is actually what was causing the delay I mentioned in ...
4 years, 8 months ago (2016-04-22 20:56:16 UTC) #2
juberti2
lgtm. What's the cost to generate an ECDSA cert on mobile? Would we ever want ...
4 years, 8 months ago (2016-04-23 06:06:06 UTC) #4
Taylor Brandstetter
On 2016/04/23 06:06:06, juberti2 wrote: > lgtm. > > What's the cost to generate an ...
4 years, 8 months ago (2016-04-25 17:16:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907083005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907083005/1
4 years, 8 months ago (2016-04-25 19:50:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/14575)
4 years, 8 months ago (2016-04-25 20:03:11 UTC) #9
Taylor Brandstetter
Justin, can you lgtm from @webrtc.org account?
4 years, 8 months ago (2016-04-25 20:50:50 UTC) #10
juberti1
On 2016/04/25 20:50:50, Taylor Brandstetter wrote: > Justin, can you lgtm from @webrtc.org account? lgtm
4 years, 8 months ago (2016-04-26 00:36:02 UTC) #11
Taylor Brandstetter
Committed patchset #2 (id:20001) manually as 9cb23a3579990ff78e3ceb6b6a88a06912662d7b (presubmit successful).
4 years, 8 months ago (2016-04-26 00:39:41 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9cb23a3579990ff78e3ceb6b6a88a06912662d7b Cr-Commit-Position: refs/heads/master@{#12498}
4 years, 8 months ago (2016-04-26 00:39:46 UTC) #15
pthatcher1
4 years, 7 months ago (2016-04-29 22:42:01 UTC) #16
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698