On Tue, Feb 25 2025, David Masterson <dsmaster...@icloud.com> wrote: > I have org-crypt mostly working, but a couple of things annoy me and I > may look into fixing them after checking here to see if they are already > fixed: > > 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? > 1.1. This should be documented in org-crypt-ent* docstrings. > 1.2. I wound up killing gpg-agent to clear the password, but this can't > be right. (info "(gnupg) Agent Signals") You can flush passwords from the agent by kill -s SIGHUP <pid of gpg-agent> e.g. for bash kill -s SIGHUP $(ps -C gpg-agent -o user,pid | awk '/USERNAME/{print $2}') > 2. Org Crypt only encrypts things automatically after an entry has > been encrypted. Decrypting the entry is done with org-decrypt > which should be mention in the Org Manual section on Org Crypt. > 3. What all the (user visible) Org Crypt functions and variables are > should be in the Indexes of the Org Manual.