[pass] Adding support for symmetric encryption

Kevin Cox kevincox at kevincox.ca
Tue Jan 26 13:14:21 CET 2016


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" <dashohoxha at gmail.com> 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
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160126/07c751fb/attachment.html>


More information about the Password-Store mailing list