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

Option to specify password store directory #98

Closed
outergod opened this issue Jun 23, 2017 · 5 comments
Closed

Option to specify password store directory #98

outergod opened this issue Jun 23, 2017 · 5 comments

Comments

@outergod
Copy link

Currently, browserpass aligns with pass on the commandline by reading the environment variable PASSWORD_STORE_DIR to determine the directory to obtain passwords from.
However, at least Chromium and Chrome are designed to switch users and contexts within the same instance of the browser, which means these contexts can't use different password stores. On the commandline, the environment variable can simply be set and unset, but for the browser, that's not possible.

Presumably the most typical use case for this is to have a browser window for work and one for private matters, each using a different Chromium "user".

Please add a feature to specify the password store directory as an add-on option, so different browser contexts can use different password stores.

@rafi
Copy link

rafi commented Jul 21, 2017

I also set my $PASSWORD_STORE_DIR to somewhere else, had to create a symlink to ~/.password-store.. It would be awesome if there was an option for this.

@maximbaz
Copy link
Member

As a workaround, you could try creating different desktop shortcuts for different Chrome user profiles, and then editing them and changing their executable from let's say chrome to PASSWORD_STORE_DIR=/home/user/.password-store chrome - not sure if it will work, but worth a try.

#77 might also be related depending on how it gets implemented.

@zsau
Copy link
Contributor

zsau commented Nov 15, 2017

Any thoughts on this? It would be awesome if we could set different store dirs per container, though I'm not sure what the official status of containers is right now.

@maximbaz
Copy link
Member

I'm kind of hoping to see #77 implemented one day in a way that is not really dependent on gopass, but instead just a configurable list in the options window allowing users to define different password store dirs. That way it would solve this request, #77 and #34 in one go.

@maximbaz
Copy link
Member

Implemented in PR #237, will release after a few days of testing myself. Early feedback is welcome.

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

No branches or pull requests

4 participants