JunoLab / atom-bombe

MIT License
8 stars 3 forks source link

Stopped working on Atom 1.41.0 #5

Open hykilpikonna opened 4 years ago

hykilpikonna commented 4 years ago

I've always been using this plugin since a year ago, but after a recent Atom update, it stopped working. When I'm trying to open any encrypted file, it prompts password error all the time, and it's not that I'm just inputting the password incorrectly. I'm sure that the password is correct, and I tried copying and pasting the password, but nothing worked. After that, I also tried creating a testing file to see if encryption works or not, but encryption failed too: when I tried to use cmd+S to save it, nothing happened, and when I tried to close the window and hit save, it prompted 'Error: undefined' (shown in image 2 below).

image image

acidicchip commented 3 years ago

To fix this, open Windows: %userprofile%\.atom\packages\bombe\encryption.coffee Linux/Mac: ~/.atom/packages/bombe/encryption.coffee and replace both instances of aes192 with aes-256-cbc

You may need to rollback to 1.40.1 to decrypt everything, then apply the fix and re-encrypt.