QtPass
QtPass copied to clipboard
git options should not be global options but maintainable per profile
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
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)..
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.
:+1: on these . .
A complete redesign/reimagination of the Config interface is required though . .
This is still present in qtpass 1.2.3.