First of all don't change the default. The second method of looking for the gpg-id would accomplish this but then you can't have an symmetric subdirectory.
I haven't looked at the code too much. If you open a PR I would be glad to to a review (note I'm not a committer so my reviews aren't deciding) On Jan 26, 2016 2:19 AM, "Dashamir Hoxha" <[email protected]> wrote: > Hi, > > This works, as a proof of concept: > > https://github.com/dashohoxha/password-store/commit/e8f6ab50150a156f8736467bcce7a164d4253886 > > If the variable $PASSWORD_STORE_GPG_ENCRYPTION > is set to 'asymmetric', it will work as usual. > Otherwise it will use the symmetric encryption. > > However I am not satisfied with this. Having to set the variable > PASSWORD_STORE_GPG_ENCRYPTION is a bit awkward. > There must be a better way. For example, we can check for the > presence of the file '.gpg-id'. If it is there, assume asymmetric > encryption, otherwise, assume symmetric encryption. > > What do you think? > > Dashamir > > _______________________________________________ > Password-Store mailing list > [email protected] > http://lists.zx2c4.com/mailman/listinfo/password-store > >
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
