SublimeText-Crypto icon indicating copy to clipboard operation
SublimeText-Crypto copied to clipboard

Warning from openssl about deprecated key derivation prevents encrypt/decrypt

Open ghost opened this issue 7 years ago • 1 comments

With the latest openssl, a warning is output that is detected as an error by the plugin, preventing normal operation.

I had put in a PR to simply add the -pbkdf2 flag which is a "dirty fix" for this but would break decryption for current files. See here.

I'm creating this issue for visibility, but plan to submit a better PR soon, per comments there.

ghost avatar Feb 09 '19 20:02 ghost

Thanks for this! One way we could make this more user friendly is to try the decryption first using pbkdf2 and if it fails remove the flag and try again. That way existing users wouldn't have to update their settings (setting pbkdf2 to False)

If I have time i'll implement this I think

mediaupstream avatar Aug 20 '19 21:08 mediaupstream