I just copied our staging server database into my development, and now I receive this error whenever I load any data
OpenSSL::Cipher::CipherError
Which occurs at the following piece of code
credentials = encrypted_credentials.inject({}) do |hash, (key, value)|
hash[key] = AESCrypt.decrypt(value, password) <-----------
hash
end
Anybody have a clue why this is?
Turned out I was using the wrong encryption password, because it was stored in a environment variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With