obsidian-gpgCrypt icon indicating copy to clipboard operation
obsidian-gpgCrypt copied to clipboard

Lock status in bottom right of Obsidian doesn't show properly on first load

Open robigan opened this issue 1 year ago • 3 comments

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.

robigan avatar Jun 12 '24 20:06 robigan

See this

https://github.com/tejado/obsidian-gpgCrypt/assets/35210888/1b419cb4-e2b5-4951-b74e-55ac3cc63b5a

robigan avatar Jun 12 '24 20:06 robigan

Ok I should really clone a copy of this plugin and PR things myself

robigan avatar Jun 12 '24 20:06 robigan

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.

tejado avatar Jun 13 '24 06:06 tejado