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?