meld-cp / obsidian-encrypt

Hide secrets in your Obsidian.md vault
MIT License
607 stars 36 forks source link

decryption failed #45

Closed sgab31 closed 1 year ago

sgab31 commented 2 years ago

impossible to decrypt a very important note. Obsidian responds "decryption failed" even though I am sure of the password.

On PC and Android. The .md are synchronized via nextcloud, can it have a link?

How can I recover my file?

Thank you for your help

meld-cp commented 2 years ago

Hi @sgab31, Sorry, not much I can do. Could the encoding between the markers (%%🔐 and 🔐%%) have changed at all? If nextcloud (or some other backup) has versioning, you could try checking an earlier version and seeing if something between the markers have changed. Just out of interest, have you changed devices at all since the note was encrypted?

artstisen commented 1 year ago

@sgab31, Clicking and placing the caret in the encrypted string when opening the command palette is a bit risky as I can accidentally change the string. Instead I place the caret in the password hint section as this is just plain text.

I also copy just the encrypted string to another file for safekeeping in a "cipher index" which I link to from the original document.

encrypt-decrypt1

sgab31 commented 1 year ago

it doesn't matter. I found a saved note and lost only few things.

For information, I didn't change device.