Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Import passwords from Chrome #9434

Closed
darkdh opened this issue Jun 13, 2017 · 9 comments · Fixed by brave/muon#227
Closed

Import passwords from Chrome #9434

darkdh opened this issue Jun 13, 2017 · 9 comments · Fixed by brave/muon#227

Comments

@darkdh
Copy link
Member

darkdh commented Jun 13, 2017

Test plan:

  1. Make sure you have password and never save password list on Chrome/Canary/Chromium
  2. Import password from the browsers list in step1 on Mac/Windows/Gnome Linux

KDE linux has a bug tracking brave/muon#238


based on #9292
including passwords list and never saved list

@darkdh darkdh self-assigned this Jun 13, 2017
@darkdh darkdh added this to the 0.19.x (Nightly Channel) milestone Jun 14, 2017
darkdh added a commit to brave/muon that referenced this issue Jun 30, 2017
fixes brave/browser-laptop#9434

Auditors: @bridiver, @bbondy, @diracdeltas, @bsclifton

Mac:
master password will store in Chrome/Chromium Safe Storage
so we will ask users to access it

Windows:
Using `CryptProtectData` and `CryptUnprotectData`
`Usually, the only user who can decrypt the data is a user with the same logon
credentials as the user who encrypted the data`

Linux:
Using NativeBackEnd.
gnome-keyring which will be removed soon is deprecated by libsecret
KDE has a bug traking it #238
darkdh added a commit to brave/muon that referenced this issue Jul 13, 2017
fixes brave/browser-laptop#9434

Auditors: @bridiver, @bbondy, @diracdeltas, @bsclifton

Mac:
master password will store in Chrome/Chromium Safe Storage
so we will ask users to access it

Windows:
Using `CryptProtectData` and `CryptUnprotectData`
`Usually, the only user who can decrypt the data is a user with the same logon
credentials as the user who encrypted the data`

Linux:
Using NativeBackEnd.
gnome-keyring which will be removed soon is deprecated by libsecret
KDE has a bug traking it #238
bridiver pushed a commit to brave/muon that referenced this issue Jul 13, 2017
fixes brave/browser-laptop#9434

Auditors: @bridiver, @bbondy, @diracdeltas, @bsclifton

Mac:
master password will store in Chrome/Chromium Safe Storage
so we will ask users to access it

Windows:
Using `CryptProtectData` and `CryptUnprotectData`
`Usually, the only user who can decrypt the data is a user with the same logon
credentials as the user who encrypted the data`

Linux:
Using NativeBackEnd.
gnome-keyring which will be removed soon is deprecated by libsecret
KDE has a bug traking it #238
@srirambv
Copy link
Collaborator

Doesnt store imported password in about:passwords on Windows

@darkdh
Copy link
Member Author

darkdh commented Sep 21, 2017

Remember to close Chrome before importing

@kjozwiak
Copy link
Member

kjozwiak commented Oct 3, 2017

Importing passwords into Brave from either Chrome/Chromium doesn't work under Linux, specifically Ubuntu in this case. I haven't tried other linux distro's. When you attempt to import the passwords, usually two things happen:

You'll either get the message that everything has been imported, but when you look into about:passwords, nothing is being listed.

Or you'll get the following error messages when you attempt to import via Brave:

screen_shot_2017-10-03_at_1 12 44_am_720

screen_shot_2017-10-03_at_1 12 53_am_720

Example of the issue:

ubuntupassword

STR:

  • install "Chromium" using "Ubuntu Software"
  • install "Chrome" using the .deb package downloaded from Google's site via sudo dpkg -i
  • launch either Chrome/Chromium, login into several websites and save the passwords via the permission prompt
  • once you've saved the passwords, close Chrome/Chromium
  • check Passwords & Keys under Ubuntu and ensure that all the passwords are being listed
  • download the latest Brave .deb package and install via sudo dpkg -i
  • launch Brave from the terminal via brave
  • visit about:preferences and attempt to import the passwords into Brave

Platforms tested against:

  • Ubuntu 17.04 x64 VM - FAILED (couldn't import passwords)
  • Ubuntu 16.04 x64 VM - FAILED (couldn't import passwords)
  • Ubuntu 16.04 x64 Lenovo X1 - FAILED (couldn't import passwords)

I've also tried both packaged and dev (from source) builds and received the same results.

Builds used:

  • v0.19.27 rev: e7f3a69 - Reproduced
  • v0.19.25 rev: d4fd17a - Reproduced

@darkdh, I ended up installing Ubuntu 16.04 on a old Lenovo X1 and I could still reproduce the issue so it's definitely not related to VM's.

@kjozwiak
Copy link
Member

kjozwiak commented Oct 4, 2017

@luixxiul, @srirambv, @LaurenWags can one of you please try this and see if importing from Chrome/Chromium works under Ubuntu?

@luixxiul
Copy link
Contributor

luixxiul commented Oct 4, 2017

On Debian, 0.19.27, password saved on trac.torproject.org can be successfully imported from Chromium to Brave.

@bbondy
Copy link
Member

bbondy commented Oct 4, 2017

seems at least partial, I'm fine with pushing this out of this milestone or if you post a smaller sub-task if it's easier.

@srirambv
Copy link
Collaborator

srirambv commented Oct 4, 2017

On Ubuntu, 0.19.28, password saved on overleaf.com wasnt imported. But showed error when data was imported data from Chrome
image

@kjozwiak
Copy link
Member

kjozwiak commented Oct 4, 2017

Looks like importing the "Cookies" from Chrome/Chromium causes the crash which @darkdh confirmed as well. I went through the following verification process:

Ubuntu 17.04 x64: PASSED

  • importing passwords from Chrome 61.0.3163.100 into v0.19.28 rev: 08781a5 - PASSED
  • importing passwords from Chromium 61.0.3163.79 into v0.19.28 rev: 08781a5 - PASSED

Ubuntu 16.04.3 x64: PASSED

  • importing passwords from Chrome 61.0.3163.100 into v0.19.28 rev: 08781a5 - PASSED
  • importing passwords from Chromium 61.0.3163.79 into v0.19.28 rev: 08781a5 - PASSED

Once passwords were imported, ensured that the username and passwords fields were correctly being filled within Brave when visiting each website.

@tomasdev
Copy link

tomasdev commented Jan 17, 2018

Not sure why this is closed, but I still cannot import my passwords from Chrome using a Google Account (different than Chrome Person 1, default)

Perhaps add a new import method to import from an exported CSV file (like Chrome does generate, columns are name,url,username,password)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.