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

Issue 7584026: Encrypted OAuth1 all access token and secret with system salt for now, will replace this with use... (Closed)

Created:
9 years, 4 months ago by zel
Modified:
9 years, 4 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Encrypted OAuth1 all access token and secret with system salt for now, will replace this with user suplemental key once that gets exposed from cryptohome. Also fixed crash on re-adding the same user to the system. BUG=chromium-os:18634, chromium-os:18551 TEST=open /home/cronos/user/Preferences and make sure oauth token and secert are encrypted now Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96031

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -55 lines) Patch
M chrome/browser/chromeos/cros/cryptohome_library.cc View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/auth_attempt_state.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/authenticator.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.cc View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_performer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 4 chunks +30 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.h View 1 2 3 4 5 6 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.cc View 1 2 3 4 5 6 5 chunks +72 lines, -38 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
zel
9 years, 4 months ago (2011-08-07 19:17:19 UTC) #1
Chris Masone
On 2011/08/07 19:17:19, zel wrote: it seems heavyweight to have cryptohomed export key material for ...
9 years, 4 months ago (2011-08-08 19:41:12 UTC) #2
zel
The supplemental user key usage id wad@'s idea. In the absence of it, I am ...
9 years, 4 months ago (2011-08-08 20:17:41 UTC) #3
Will Drewry
Yeah - nssdb seems like a better idea since the strength is really just in ...
9 years, 4 months ago (2011-08-08 21:04:25 UTC) #4
zel
since we are planning to keep this out of M14, I would really like to ...
9 years, 4 months ago (2011-08-09 03:13:27 UTC) #5
Chris Masone
On 2011/08/09 03:13:27, zel wrote: > since we are planning to keep this out of ...
9 years, 4 months ago (2011-08-09 03:30:28 UTC) #6
zel
whops, sorry - i forgot to upload the latest and greatest. PTAL On Mon, Aug ...
9 years, 4 months ago (2011-08-09 04:13:24 UTC) #7
Chris Masone
9 years, 4 months ago (2011-08-09 04:19:32 UTC) #8
LGTM w/nit

http://codereview.chromium.org/7584026/diff/11002/chrome/browser/chromeos/log...
File chrome/browser/chromeos/login/parallel_authenticator.h (right):

http://codereview.chromium.org/7584026/diff/11002/chrome/browser/chromeos/log...
chrome/browser/chromeos/login/parallel_authenticator.h:244: std::string
UserSupplementalKeyAsAscii();
It'd be good to file an issue for converting this to a key stored in NSS, and
then put a TODO here

Powered by Google App Engine
This is Rietveld 408576698