Decoding ActiveSupport :: MessageEncryptor values ​​in python

I have a rails project that has sensitive row type values ​​stored in a remote Postgresql database. I encrypted these lines using the functions ActiveSupport :: MessageEncryptor ( http://api.rubyonrails.org/classes/ActiveSupport/MessageEncryptor.html ). I have a key that I used to encrypt them and try to find a way to extract them from the database and decrypt them in a python script.

I am open to any suggestions on how to achieve this in any other way using rails and python. And really grateful for any advice on how to decrypt these values ​​in python.

Thank,

+4
source share

All Articles