triumphantomato / cryptsidian

Encrypt all files in your Obsidian.md Vault with a password.
BSD 3-Clause "New" or "Revised" License
74 stars 5 forks source link

Accidentally corrupted files by opening them outside of obsidian. #6

Closed psython123 closed 2 years ago

psython123 commented 2 years ago

Is there any way to recover the corrupted files?

triumphantomato commented 2 years ago

Hi i'm sorry to hear this.

Do you have a backup of these files before you encrypted them? That would be the best way to recover them.

Your other option is if you have a backup of the files immediately after you encrypted them, but before you opened them in another application. In that case, you may still be able to recover them by decrypting with Cryptsidian.

Wishing you the best

On Fri, Mar 18, 2022 at 10:07 AM psython123 @.***> wrote:

Is there any way to recover the corrupted files?

— Reply to this email directly, view it on GitHub https://github.com/triumphantomato/cryptsidian/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV5GY6EWAO6GPJ5LJPE5EOLVASZ37ANCNFSM5RCM6ZXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

psython123 commented 2 years ago

Hey, thanks for your fast reply.

Unfortunately, I didn't do a backup before. Thankfully though, the files weren't extremely important. I know better next time.

By the way, I have a question: What happens if you try to decrypt with a wrong password?

triumphantomato commented 2 years ago

From the readme:

"If you use different passwords for encryption and decryption, your files will become corrupted."