Browser-laptop: Add support for LessPass (stateless open source password manager)

Created on 22 Mar 2017  路  15Comments  路  Source: brave/browser-laptop

LessPass focus on privacy and manage your passwords directly from your browser, they never leave your device and passwords are never stored. We use a site, a login and amaster password to generate a unique password. So no need to sync your password vault across every device. Learn more.

All our supported platform are build around a core NPM module with a clean api used to create passwords that should be easy to port to Brave (as we already support Android, Chrome and Firefox, Cozy Cloud, Linux distros, Terminal).

Screenshot

In current supported browser, we integrate as a pop-up extension.
demo-2 3 x

Related issues

  • brave/browser-laptop#253 - Is there any plans for enabling easy addons like Chrome or Firefox? Does this functionality already exist? #253
  • lesspass/lesspass#176: Add extension support to Brave browser #176
featurextensions featurpassword-manager fixed-with-brave-core suggestion wontfix

Most helpful comment

@edouard-lopez This is great to hear. I'll speak with some of the team about adding support for LessPass! The Chrome format (CRX) is all we need.

All 15 comments

I managed to run the extension in brave following Developer-Notes-on-Installing-or-Updating-Extensions.

Not sure what's the next step. Could give us some pointers to better integrate with Brave?

Install

sudo apt-get install libgnome-keyring-dev
git clone --depth 1 [email protected]:brave/browser-laptop.git
cd browser-laptop
yarn install

Add extension

Copy it from Chromium extensions' directory:

$HOME/.config/chromium/Profile 1/Extensions/lcmbpoclaodbgkbjafnkbbinogcbnjih

to Brave extensions' directory:

browser-laptop/app/extensions/

Load the extension

Edit _browser-laptop/app/extension.js_ to add the following lines:

// lesspass
config.myExtensionId = 'lcmbpoclaodbgkbjafnkbbinogcbnjih';
config.myExtensionPathToManifest = 'lcmbpoclaodbgkbjafnkbbinogcbnjih/2.3.5_0';
extensionInfo.setState(config.myExtensionId, extensionStates.REGISTERED)
loadExtension(config.myExtensionId, getExtensionsPath(config.myExtensionPathToManifest))

Run

On one terminal

yarn watch

On a second terminal

yarn install

Demo time :tada:

brave lesspass-extension

Known issue

  • shortcut Ctrl+Shift+L is not working.

cc: @jonathansampson

Should I submit a pull with my modification of _extensions.js_? It seems a bit rough as the extension will always be shown in the toolbar.
Where is the doc if I want to integrate in the same way as 1Password/Dashlane/LastPass?

@edouard-lopez there isn't a doc showing how to integrate like 1Password/Dashlane/LastPass... yet

I created a stub here which I'll be updating here over the next few minutes 馃槃
https://github.com/brave/browser-laptop/wiki/Password-manager-support

@edouard-lopez I just finished updating the doc above; please let me know if the information is useful 馃槃 There should be enough info there for you to generate PRs against the 3 repos we have

Thanks @bsclifton, after some discussion we are limiting our project's scope to focus on some feature.
I'm closing this, as the extension is functional, we will wait for Brave to enable web extension.

Extension preferences has landed, hopefully it will be possible to install LessPass extension soon.

Related:

@edouard-lopez Thank you for the update! We're making great progress towards broader/more-rapid adoption. Stay tuned.

@edouard-lopez When you tested this, were all primary user-scenarios covered, or did you run into issues (other than the broken keyboard command) that weren't working entirely?

I'd love to see LessPass move forward :)

@jonathansampson
Yep, everything was working fine. Do we need to package the app in some ways our will you support the chrome format?

@edouard-lopez This is great to hear. I'll speak with some of the team about adding support for LessPass! The Chrome format (CRX) is all we need.

Thanks @jonathansampson this will help speed up process and streamline update of the extension.

If you need information feel free to ping me or guillaume on twitter or submit issue.

Can I be of some help to push this forward?

This is something we won't be able to get to- closing as wontfix

However, with brave-core, potentially anything in the Chrome Web Store would be available (so this is resolved with brave-core)

Was this page helpful?
0 / 5 - 0 ratings