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

Issue 624183002: Cleanup: Consolidate initialization of Android's SecureRandom class. (Closed)

Created:
6 years, 2 months ago by Lambros
Modified:
6 years, 2 months ago
Reviewers:
palmer, Yaron, gone
CC:
chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Consolidate initialization of Android's SecureRandom class. This replaces some copy-pasted snippets of code with a centralized utility for securely initializing a SecureRandom instance (needed for Android versions <= 4.3). BUG=402732 Committed: https://crrev.com/df0de36454a6c58757517238c977334b1b421bbb Cr-Commit-Position: refs/heads/master@{#299788}

Patch Set 1 #

Total comments: 2

Messages

Total messages: 16 (3 generated)
Lambros
palmer: please review changes yfriedman: OWNERS approval This also addresses some late comments from @palmer ...
6 years, 2 months ago (2014-10-03 23:20:41 UTC) #2
palmer
Much cleaner, thank you! LGTM, with optional philosophizing. https://codereview.chromium.org/624183002/diff/1/base/android/java/src/org/chromium/base/SecureRandomInitializer.java File base/android/java/src/org/chromium/base/SecureRandomInitializer.java (right): https://codereview.chromium.org/624183002/diff/1/base/android/java/src/org/chromium/base/SecureRandomInitializer.java#newcode19 base/android/java/src/org/chromium/base/SecureRandomInitializer.java:19: private ...
6 years, 2 months ago (2014-10-06 19:23:46 UTC) #3
Lambros
Friendly ping, need OWNERS approval.
6 years, 2 months ago (2014-10-08 17:19:13 UTC) #4
Yaron
https://codereview.chromium.org/624183002/diff/1/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java File content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java (left): https://codereview.chromium.org/624183002/diff/1/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java#oldcode155 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java:155: seed = mRandomNumberProvider.getBytes(NUM_BYTES); Looks like you should update CipherFactoryTest. ...
6 years, 2 months ago (2014-10-08 18:08:00 UTC) #5
Lambros
On 2014/10/08 18:08:00, Yaron wrote: > https://codereview.chromium.org/624183002/diff/1/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java > File > content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java > (left): > > ...
6 years, 2 months ago (2014-10-14 17:00:21 UTC) #6
Yaron
On 2014/10/14 17:00:21, Lambros wrote: > On 2014/10/08 18:08:00, Yaron wrote: > > > https://codereview.chromium.org/624183002/diff/1/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java ...
6 years, 2 months ago (2014-10-14 19:51:24 UTC) #7
Lambros
On 2014/10/14 19:51:24, Yaron wrote: > On 2014/10/14 17:00:21, Lambros wrote: > > On 2014/10/08 ...
6 years, 2 months ago (2014-10-14 20:17:36 UTC) #9
Yaron
On 2014/10/14 20:17:36, Lambros wrote: > On 2014/10/14 19:51:24, Yaron wrote: > > On 2014/10/14 ...
6 years, 2 months ago (2014-10-15 19:01:17 UTC) #10
palmer
> Right, I expected that would break it since now something that was intentionally > ...
6 years, 2 months ago (2014-10-15 19:12:34 UTC) #11
Yaron
On Wed Oct 15 2014 at 12:12:35 PM <palmer@chromium.org> wrote: > > Right, I expected ...
6 years, 2 months ago (2014-10-15 20:38:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/624183002/1
6 years, 2 months ago (2014-10-15 21:14:20 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-16 00:21:42 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 00:22:23 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/df0de36454a6c58757517238c977334b1b421bbb
Cr-Commit-Position: refs/heads/master@{#299788}

Powered by Google App Engine
This is Rietveld 408576698