<div dir="ltr"><div>Hi,</div><div><br></div>This works, as a proof of concept:<div><a href="https://github.com/dashohoxha/password-store/commit/e8f6ab50150a156f8736467bcce7a164d4253886">https://github.com/dashohoxha/password-store/commit/e8f6ab50150a156f8736467bcce7a164d4253886</a><br></div><div><br></div><div>If the variable $PASSWORD_STORE_GPG_ENCRYPTION</div><div>is set to 'asymmetric', it will work as usual.</div><div>Otherwise it will use the symmetric encryption.</div><div><br></div><div>However I am not satisfied with this. Having to set the variable</div><div>PASSWORD_STORE_GPG_ENCRYPTION is a bit awkward.<br></div><div>There must be a better way. For example, we can check for the</div><div>presence of the file '.gpg-id'. If it is there, assume asymmetric</div><div>encryption, otherwise, assume symmetric encryption.</div><div><br></div><div>What do you think?</div><div><br></div><div>Dashamir</div></div>