Until recently I was able to encrypt/decrypt files using the following commands:
Encrypt:
openssl enc -aes-256-cbc -pbkdf2 -in un_encrypted.yml -out encrypted.data
Decrypt:
openssl enc -d -aes-256-cbc -pbkdf2 -in encrypted.data -out un_encrypted.yml
I recently updated my Homebrew packages and it seems the -pbkdf2 option is no longer supported? I cannot get it to work and I keep getting a help prompt on how to use the openssl command (I’ve been using the above commands for several years now). Simply removing the -pbkdf2 option results in a corrupt output file.
Does anyone know how I can decrypt files again?
- MacOS Catalina 10.15.4
- OpenSSL 1.1.1g
Thanks in advance