Skip to content

An "off-the-rails" implementation for decrypting and encrypting credentials.yml.enc files

Notifications You must be signed in to change notification settings

caseybecking/Credentials.yml.enc_Decryptor

 
 

Repository files navigation

Credentials.yml.enc Decryptor

An "off-the-rails" (python) implementation for decrypting and encrypting credentials.yml.enc files.

Background

"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.

Usage

Decryption

$ python decryptor.py credentials.yml.enc master.key

Encryption

$ python encryptor.py credentials.yml master.key

Requires

To Do

  • Working on python 3 compatibility

About

An "off-the-rails" implementation for decrypting and encrypting credentials.yml.enc files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%