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

Issue 877033005: Use a stable device-user identifier for CryptAuth enrollments. (Closed)

Created:
5 years, 10 months ago by Tim Song
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a stable device-user identifier for CryptAuth enrollments. This id should not change if the same user is removed and added to the same device. BUG=455515 TEST=removed account, added account back and id is still the same Committed: https://crrev.com/7df5c5cf5459cf393fe775a6bf508b801ef19fe1 Cr-Commit-Position: refs/heads/master@{#318001}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Use SHA1 for combined id #

Patch Set 3 : rebase #

Patch Set 4 : accidently removed files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -8 lines) Patch
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M chrome/common/extensions/api/easy_unlock_private.idl View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 chunks +11 lines, -6 lines 0 comments Download
M components/proximity_auth.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/proximity_auth/cryptauth/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/proximity_auth/cryptauth/cryptauth_enrollment_utils.h View 3 1 chunk +18 lines, -0 lines 0 comments Download
A components/proximity_auth/cryptauth/cryptauth_enrollment_utils.cc View 1 3 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Tim Song
5 years, 10 months ago (2015-02-09 18:47:05 UTC) #2
xiyuan
lgtm
5 years, 10 months ago (2015-02-09 19:25:40 UTC) #3
Ilya Sherman
Should there also be a TODO somewhere to remove the old way of computing the ...
5 years, 10 months ago (2015-02-10 01:31:05 UTC) #4
Tim Song
The old way of computing the device id was done in the app. I'll make ...
5 years, 10 months ago (2015-02-10 22:20:33 UTC) #6
Ilya Sherman
LGMT % a final comment: https://codereview.chromium.org/877033005/diff/1/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.cc File components/proximity_auth/cryptauth/cryptauth_enrollment_utils.cc (right): https://codereview.chromium.org/877033005/diff/1/components/proximity_auth/cryptauth/cryptauth_enrollment_utils.cc#newcode19 components/proximity_auth/cryptauth/cryptauth_enrollment_utils.cc:19: return base::MD5DigestToBase16(digest); On 2015/02/10 ...
5 years, 10 months ago (2015-02-10 23:20:14 UTC) #7
Tim Song
I don't really want to add a dependency to crypto just to use SHA256 instead.
5 years, 10 months ago (2015-02-11 01:33:59 UTC) #8
Tim Song
+asargent@ for .idl file
5 years, 10 months ago (2015-02-11 01:34:38 UTC) #10
asargent_no_longer_on_chrome
chrome/common/extensions/api/easy_unlock_private.idl lgtm
5 years, 10 months ago (2015-02-12 20:43:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877033005/60001
5 years, 10 months ago (2015-02-25 07:04:00 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-25 07:21:43 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 07:22:35 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7df5c5cf5459cf393fe775a6bf508b801ef19fe1
Cr-Commit-Position: refs/heads/master@{#318001}

Powered by Google App Engine
This is Rietveld 408576698