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

Issue 2150543002: OSCrypt supports encryption with KWallet (Closed)

Created:
4 years, 5 months ago by cfroussios
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

OSCrypt supports encryption with KWallet Implemented KeyStorageLinux for KWallet. BUG=602624 Committed: https://crrev.com/2e6729a44f5a07c939209bce99f803dc90c5966f Cr-Commit-Position: refs/heads/master@{#407746}

Patch Set 1 #

Patch Set 2 : Give me an overview #

Patch Set 3 : forward localised product name #

Patch Set 4 : nits #

Patch Set 5 : fixed build #

Total comments: 44

Patch Set 6 : feedback #

Total comments: 4

Patch Set 7 : feedback #

Patch Set 8 : feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+945 lines, -81 lines) Patch
M chrome/browser/chrome_browser_main_linux.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/os_crypt.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/os_crypt/BUILD.gn View 1 2 3 chunks +13 lines, -3 lines 0 comments Download
A components/os_crypt/key_storage_kwallet.h View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A components/os_crypt/key_storage_kwallet.cc View 1 2 3 4 5 6 7 1 chunk +131 lines, -0 lines 0 comments Download
A components/os_crypt/key_storage_kwallet_unittest.cc View 1 2 3 4 5 6 1 chunk +319 lines, -0 lines 0 comments Download
M components/os_crypt/key_storage_libsecret.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/os_crypt/key_storage_libsecret.cc View 1 2 3 4 5 3 chunks +4 lines, -10 lines 0 comments Download
M components/os_crypt/key_storage_linux.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M components/os_crypt/key_storage_linux.cc View 1 2 3 4 5 6 3 chunks +35 lines, -8 lines 2 comments Download
M components/os_crypt/kwallet_dbus.h View 1 2 3 4 5 2 chunks +69 lines, -45 lines 0 comments Download
M components/os_crypt/kwallet_dbus.cc View 1 2 3 4 5 12 chunks +94 lines, -12 lines 0 comments Download
M components/os_crypt/kwallet_dbus_unittest.cc View 1 2 3 4 5 2 chunks +196 lines, -0 lines 0 comments Download
M components/os_crypt/os_crypt.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/os_crypt/os_crypt_linux.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (38 generated)
cfroussios
Hi! This is the implementation with kwallet for os_crypt. Can you review? Thanks!
4 years, 5 months ago (2016-07-19 11:20:31 UTC) #10
Lei Zhang
No serious concerns, 1000 nits below: https://codereview.chromium.org/2150543002/diff/80001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/2150543002/diff/80001/components/components_tests.gyp#newcode1592 components/components_tests.gyp:1592: 'os_crypt/key_storage_kwallet_unittest.cc', alphabetical order ...
4 years, 5 months ago (2016-07-20 01:08:26 UTC) #13
cfroussios
https://codereview.chromium.org/2150543002/diff/80001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/2150543002/diff/80001/components/components_tests.gyp#newcode1592 components/components_tests.gyp:1592: 'os_crypt/key_storage_kwallet_unittest.cc', On 2016/07/20 01:08:26, Lei Zhang wrote: > alphabetical ...
4 years, 5 months ago (2016-07-20 15:22:47 UTC) #21
Lei Zhang
lgtm, with a few more nitty bits. https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc File components/os_crypt/key_storage_kwallet.cc (right): https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc#newcode58 components/os_crypt/key_storage_kwallet.cc:58: if (result ...
4 years, 5 months ago (2016-07-20 19:15:07 UTC) #24
cfroussios
https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc File components/os_crypt/key_storage_kwallet.cc (right): https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc#newcode58 components/os_crypt/key_storage_kwallet.cc:58: if (result == InitResult::TEMPORARY_FAIL) On 2016/07/20 19:15:07, Lei Zhang ...
4 years, 5 months ago (2016-07-21 11:49:46 UTC) #27
Lei Zhang
https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc File components/os_crypt/key_storage_kwallet.cc (right): https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.cc#newcode58 components/os_crypt/key_storage_kwallet.cc:58: if (result == InitResult::TEMPORARY_FAIL) On 2016/07/21 11:49:45, cfroussios wrote: ...
4 years, 5 months ago (2016-07-21 21:07:39 UTC) #35
Lei Zhang
https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.h File components/os_crypt/key_storage_kwallet.h (right): https://codereview.chromium.org/2150543002/diff/80001/components/os_crypt/key_storage_kwallet.h#newcode18 components/os_crypt/key_storage_kwallet.h:18: std::string app_name); On 2016/07/21 11:49:46, cfroussios wrote: > On ...
4 years, 5 months ago (2016-07-21 21:25:31 UTC) #37
cfroussios
Hi. I think we've settled most things. I'm going to give a bit of time ...
4 years, 5 months ago (2016-07-22 11:25:25 UTC) #42
Lei Zhang
On 2016/07/22 11:25:25, cfroussios wrote: > The easiest example is the code that this came ...
4 years, 5 months ago (2016-07-23 00:23:24 UTC) #43
Lei Zhang
On 2016/07/22 11:25:25, cfroussios wrote: > Hi. I think we've settled most things. I'm going ...
4 years, 5 months ago (2016-07-25 23:58:31 UTC) #44
cfroussios
Cool! Thanks!
4 years, 4 months ago (2016-07-26 08:13:53 UTC) #45
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/2150543002/180001
4 years, 4 months ago (2016-07-26 08:23:24 UTC) #48
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 4 months ago (2016-07-26 09:18:29 UTC) #50
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/2e6729a44f5a07c939209bce99f803dc90c5966f Cr-Commit-Position: refs/heads/master@{#407746}
4 years, 4 months ago (2016-07-26 09:20:28 UTC) #52
pdknsk
https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc File components/os_crypt/key_storage_linux.cc (right): https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc#newcode20 components/os_crypt/key_storage_linux.cc:20: #if defined(OFFICIAL_BUILD) There is a minor bug here in ...
4 years, 4 months ago (2016-08-21 07:36:53 UTC) #53
pdknsk
I mean is_official_build. https://cs.chromium.org/chromium/src/build/config/BUILD.gn?l=249
4 years, 4 months ago (2016-08-21 07:43:22 UTC) #54
Lei Zhang
https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc File components/os_crypt/key_storage_linux.cc (right): https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc#newcode20 components/os_crypt/key_storage_linux.cc:20: #if defined(OFFICIAL_BUILD) On 2016/08/21 07:36:53, pdknsk wrote: > There ...
4 years, 4 months ago (2016-08-22 17:09:50 UTC) #55
cfroussios
On 2016/08/22 17:09:50, Lei Zhang wrote: > https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc > File components/os_crypt/key_storage_linux.cc (right): > > https://codereview.chromium.org/2150543002/diff/180001/components/os_crypt/key_storage_linux.cc#newcode20 ...
4 years, 4 months ago (2016-08-22 17:13:33 UTC) #56
Lei Zhang
On 2016/08/22 17:09:50, Lei Zhang wrote: > Thanks for noticing. Will fix. https://codereview.chromium.org/2264163002
4 years, 4 months ago (2016-08-22 17:13:42 UTC) #57
Lei Zhang
On 2016/08/22 17:13:33, cfroussios wrote: > Could we elaborate a little on which distribution is ...
4 years, 4 months ago (2016-08-22 17:37:33 UTC) #58
cfroussios
4 years, 4 months ago (2016-08-22 17:51:53 UTC) #59
Message was sent while issue was closed.
On 2016/08/22 17:37:33, Lei Zhang wrote:
> On 2016/08/22 17:13:33, cfroussios wrote:
> > Could we elaborate a little on which distribution is both "official" and
> > "chromium"? My information is that Google doesn't distribute Chromium
builds,
> > and nobody else can make official builds.
> 
> There may be Chromium packagers who turn on OFFICIAL_BUILD? In any case, we
> shouldn't confuse OFFICIAL_BUILD and GOOGLE_CHROME_BUILD.

I have no objection to correcting this. Thanks both for addressing the issue!

Powered by Google App Engine
This is Rietveld 408576698