kjk / edna

Note taking for developers and power users
https://edna.arslexis.io
Other
391 stars 18 forks source link

Bug: 'Enter password to decrypt files' not working #15

Closed kikkoi closed 4 months ago

kikkoi commented 4 months ago

Describe the bug

I tried using the password to encrypt the files, and it worked well. However, when I tried to decrypt the files with the same password, it gave an error saying, 'Password must be at least 8 characters long.' In the console, it shows 'Error: invalid tag.'

Expected behavior I expected to decrypt the files

Screenshots

image

Desktop (please complete the following information): Windows 10, Chrome 126.0.6478.127

kjk commented 4 months ago

The wording here is confusing but here's what happened:

I should re-word this dialog to be more clear about the fact you entered invalid password and have to enter a new one.

Also, how did you get in that state? Did you delete the local storage key that stored the password?

kjk commented 4 months ago

I tweaked the message and re-testes decryption logic and it works for me.