tejado / obsidian-gpgCrypt

Seamlessly encrypts your notes using GPG. Supports smartcards for enhanced security! 🔒📝📎
MIT License
35 stars 6 forks source link

Permanently asks for "Please enter the password for decryption" #20

Open knarxy opened 3 months ago

knarxy commented 3 months ago

Permanently asks for "decryption password", on opening every single file, even after entering the private key master password prior.

Had it set to GnuPG CLI Wrapper and use a local key. Set password timeout to 86400 seconds (equals one day). - Still permanent popups from qt-pinentry "Enter your decryption password".

Maybe someone is able to reproduce the error, so we can help pin it down?

Thanks y'all, due to this bug I sadly have to stop using the plugin for now. It even show the popup when opening files, that aren't encrypted at all...

Image of error message is attached, even though it is in german. Translated to english the text means something like "Please enter the password for decryption"

Screenshot 2024-07-17 063530

tejado commented 3 months ago

Hi @knarxy Thanks a lot for raising this issue. Obisidan made some changes of how they are reading files which leads to multipe asynchronous executions of the same (file read) functions. Unfortunately, this causes some issues in gpgCrypt and I'm still looking for a solution to fix this.

But I never saw the popup for unencrypted files. Can you double check this and maybe provide a way to reproduce this on my end? That would be very helpful.