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

Issue 2816033002: Fix retrieving federated credentials for the password store for localhost. (Closed)

Created:
3 years, 8 months ago by vasilii
Modified:
3 years, 8 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix retrieving federated credentials for the password store for localhost. Before we used to ignore port for the federated matches which is a security problem. We also disregarded localhost federated credentials because they are HTTP. BUG=710838 Review-Url: https://codereview.chromium.org/2816033002 Cr-Commit-Position: refs/heads/master@{#464474} Committed: https://chromium.googlesource.com/chromium/src/+/66e4895ec848860ed812821d2fd48b5caf23981a

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -153 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 1 chunk +31 lines, -0 lines 4 comments Download
M components/password_manager/core/browser/psl_matching_helper.h View 1 2 chunks +13 lines, -8 lines 2 comments Download
M components/password_manager/core/browser/psl_matching_helper.cc View 1 3 chunks +21 lines, -37 lines 0 comments Download
M components/password_manager/core/browser/psl_matching_helper_unittest.cc View 1 3 chunks +220 lines, -104 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.cc View 1 1 chunk +13 lines, -4 lines 1 comment Download

Messages

Total messages: 16 (9 generated)
vasilii
Hi Vaclav, please review.
3 years, 8 months ago (2017-04-13 15:23:21 UTC) #3
vabr (Chromium)
Thanks, Vasilii! This LGTM, although I suggested slight changes to the code structure. Cheers, Vaclav ...
3 years, 8 months ago (2017-04-13 15:43:25 UTC) #5
vasilii
I fixed comments and added some tests. I didn't like the idea to expose IsFederatedRealm ...
3 years, 8 months ago (2017-04-13 17:18:34 UTC) #8
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/2816033002/20001
3 years, 8 months ago (2017-04-13 17:23:28 UTC) #11
vabr (Chromium)
Thanks, Vasilii. LGTM with some questions and nits below. Cheers, Vaclav https://codereview.chromium.org/2816033002/diff/20001/components/password_manager/core/browser/login_database_unittest.cc File components/password_manager/core/browser/login_database_unittest.cc (right): ...
3 years, 8 months ago (2017-04-13 18:12:09 UTC) #12
vasilii
https://codereview.chromium.org/2816033002/diff/20001/components/password_manager/core/browser/login_database_unittest.cc File components/password_manager/core/browser/login_database_unittest.cc (right): https://codereview.chromium.org/2816033002/diff/20001/components/password_manager/core/browser/login_database_unittest.cc#newcode450 components/password_manager/core/browser/login_database_unittest.cc:450: // Match twice. On 2017/04/13 18:12:09, vabr (Chromium) wrote: ...
3 years, 8 months ago (2017-04-13 18:17:00 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 18:22:32 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/66e4895ec848860ed812821d2fd4...

Powered by Google App Engine
This is Rietveld 408576698