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

Issue 2525593002: PasswordReuseDetector implementation (Closed)

Created:
4 years, 1 month ago by dvadym
Modified:
4 years ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PasswordReuseDetector implementation. PasswordReuseDetector is class for detecting password reuse. It consumes passwords from PassworStore, builds password index and then it can be used for detecting of password reuse by calling method CheckReuse(). This class is not created anywhere in production code yet. It will be done in next CLs. BUG=657041 Committed: https://crrev.com/696bedaf20944503cf73fc7a5d5cda65dc30e61f Cr-Commit-Position: refs/heads/master@{#434975}

Patch Set 1 #

Patch Set 2 : Comments #

Total comments: 19

Patch Set 3 : comments #

Total comments: 3

Patch Set 4 : Addressed comments #

Total comments: 2

Patch Set 5 : Addressed comments #

Total comments: 6

Patch Set 6 : Addressed comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -0 lines) Patch
M components/password_manager/core/browser/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detector.h View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detector.cc View 1 2 3 4 5 1 chunk +62 lines, -0 lines 1 comment Download
A components/password_manager/core/browser/password_reuse_detector_unittest.cc View 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
dvadym
Hi Vaclav, Could you please review this CL? Regards, Vadym
4 years, 1 month ago (2016-11-22 11:05:36 UTC) #4
vabr (Chromium)
Thanks, Vadym. I have one bigger concern (keeping the passwords in memory, see my very ...
4 years, 1 month ago (2016-11-22 12:02:02 UTC) #5
dvadym
Thanks Vaclav for comments. I've addressed them. PTAL https://codereview.chromium.org/2525593002/diff/20001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/20001/components/password_manager/core/browser/password_reuse_detector.cc#newcode13 components/password_manager/core/browser/password_reuse_detector.cc:13: int ...
4 years, 1 month ago (2016-11-23 10:15:55 UTC) #6
vabr (Chromium)
Thank, Vadym. Let's drill down a little bit more into the suffix searching algorithm, otherwise ...
4 years, 1 month ago (2016-11-23 10:47:30 UTC) #7
vabr (Chromium)
Vadym clarified the open concerns with me offline. The CL LGTM, with one more small ...
4 years ago (2016-11-23 11:50:48 UTC) #8
dvadym
Thanks Vaclav for review! https://codereview.chromium.org/2525593002/diff/60001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/60001/components/password_manager/core/browser/password_reuse_detector.cc#newcode27 components/password_manager/core/browser/password_reuse_detector.cc:27: const base::string16& password = form->password_value; ...
4 years ago (2016-11-23 15:13:42 UTC) #9
vabr (Chromium)
Thanks! Two more comments, still LGTM. Cheers, Vaclav https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc#newcode40 components/password_manager/core/browser/password_reuse_detector.cc:40: // ...
4 years ago (2016-11-23 17:41:45 UTC) #10
vabr (Chromium)
https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc#newcode16 components/password_manager/core/browser/password_reuse_detector.cc:16: size_t constexpr kMinPasswordLengthToCheck = 8; tiny nit: Please swap ...
4 years ago (2016-11-23 17:52:01 UTC) #11
dvadym
https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/80001/components/password_manager/core/browser/password_reuse_detector.cc#newcode16 components/password_manager/core/browser/password_reuse_detector.cc:16: size_t constexpr kMinPasswordLengthToCheck = 8; On 2016/11/23 17:52:01, vabr ...
4 years ago (2016-11-24 09:40:55 UTC) #12
vabr (Chromium)
LGTM! Thanks for your patience. :)
4 years ago (2016-11-24 10:30:33 UTC) #13
dvadym
Hi Justin, could you please have a look at this CL from security point of ...
4 years ago (2016-11-28 18:12:42 UTC) #15
jschuh
Sorry, I forsee having time to look at this. I'm comfortable with what was proposed ...
4 years ago (2016-11-29 00:54:31 UTC) #17
Nathan Parker
lgtm https://codereview.chromium.org/2525593002/diff/100001/components/password_manager/core/browser/password_reuse_detector.cc File components/password_manager/core/browser/password_reuse_detector.cc (right): https://codereview.chromium.org/2525593002/diff/100001/components/password_manager/core/browser/password_reuse_detector.cc#newcode40 components/password_manager/core/browser/password_reuse_detector.cc:40: // TODO(crbug.com/668155): Optimize password look-up. Ah, nice. I ...
4 years ago (2016-11-29 02:02:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525593002/100001
4 years ago (2016-11-29 10:50:14 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/340148)
4 years ago (2016-11-29 12:10:52 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525593002/100001
4 years ago (2016-11-29 13:08:49 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-29 13:50:04 UTC) #31
commit-bot: I haz the power
4 years ago (2016-11-29 13:52:03 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/696bedaf20944503cf73fc7a5d5cda65dc30e61f
Cr-Commit-Position: refs/heads/master@{#434975}

Powered by Google App Engine
This is Rietveld 408576698