obsidian-gpgCrypt
obsidian-gpgCrypt copied to clipboard
Lock status in bottom right of Obsidian doesn't show properly on first load
Hi, what do you mean with "I open the note and see the entire text"? On the Obsidian status bar (bottom right) should be a lock icon which indicates when a note is encrypted. You can also verify with another text editor if the file is encrypted.
Originally posted by @tejado in https://github.com/tejado/obsidian-gpgCrypt/discussions/7#discussioncomment-7802667
While testing this out, Obsidian wouldn't show the lock icon the first time I opened a "new file" despite GPG Agent caching the key, I suspect this has got to do with the internal cache of encrypted and unencrypted files.
See this
https://github.com/tejado/obsidian-gpgCrypt/assets/35210888/1b419cb4-e2b5-4951-b74e-55ac3cc63b5a
Ok I should really clone a copy of this plugin and PR things myself
Hmm, this was working. Maybe Obsidian changed something and this needs to be fixed (again). Feel free to do a PR :) I will also have a look how to improve this.