On Thu, Feb 27 2025, David Masterson <dsmaster...@icloud.com> wrote:

> Leo Butler <leo.but...@umanitoba.ca> writes:
>
>> On Tue, Feb 25 2025, David Masterson <dsmaster...@icloud.com> wrote:
>>
>>> 1.   If you enter a bad password (even a blank password) to
>>>      org-decrypt-ent*, how do you tell Emacs to forget the password so
>>>      that you can enter the right one?
>>
>> Does
>>
>> M-x auth-source-forget-all-cached RET
>>
>> work for you?
>
> Hmm.
>
> This would work for me, but what about people who might encrypt
> different entries in Org with different passwords (or, for that matter,
> people using gpg elsewhere as well)?  It seems to hit a little nail with
> a big sledgehammer.
>
> I'll have to look at org-crypt.el some more.

Is the issue in org-crypt.el?

auth-source.el defines only that one command to remove cached data,
although there are functions to remove specific cached data.

Leo

Reply via email to