An "off-the-rails" (python) implementation for decrypting and encrypting credentials.yml.enc files.
"credentials.yml.enc" files are the new norm for storing Ruby on Rails ( >= v5.2) secrets in a secure way.
The credential file is encrypted using AES-GCM, and the encryption key stored in the master.key file.
$ python decryptor.py credentials.yml.enc master.key
$ python encryptor.py credentials.yml master.key
- python
- pyca (https://github.com/pyca/cryptography)
- Working on python 3 compatibility