QtPass icon indicating copy to clipboard operation
QtPass copied to clipboard

git options should not be global options but maintainable per profile

Open RebelCodeBase opened this issue 9 years ago • 4 comments

At the moment it is only possible to set the options "Use git", "Automatically push" and "Automatically pull" globally but not per profile. If you have one profile with a local password store and one profile with a remote password store managed by git and you have "Use git" and one of "Automatically push" or "Automatically pull" enabled then qtpass will show an error message because the local profile does not have a remote repository configured by default.

A workaround is to add a local remote repository for the local password store(s):

$ mkdir ~/.password-store-backup $ git init --bare ~/.password-store-backup $ pass git remote add origin ~/.password-store-backup $ pass git push --set-upstream origin master

RebelCodeBase avatar Nov 09 '15 13:11 RebelCodeBase

I completely agree. . Can you think of more things that should be per-profile?

I'll pick this up when I start refactoring the config stuff (currently a bit messy https://github.com/IJHack/qtpass/issues/107 and previous attempts didn't work out well)..

annejan avatar Nov 10 '15 09:11 annejan

The template should be per-profile as different repos might have different fields. And the pwgen options, too, as different repos might have different password policies.

RebelCodeBase avatar Nov 10 '15 21:11 RebelCodeBase

:+1: on these . .

A complete redesign/reimagination of the Config interface is required though . .

annejan avatar Nov 10 '15 21:11 annejan

This is still present in qtpass 1.2.3.

waldner avatar May 02 '19 12:05 waldner