sydro / atom-ansible-vault

Atom package to create and modify ansible-vault file
MIT License
32 stars 10 forks source link

automatic de- and encrypt on open and save #6

Closed telepath closed 7 years ago

telepath commented 7 years ago

We would like to ensure that no decrypted vault files are committed to repositories. It would be great if the vault files content was automatically decrypted on file open, and encrypted on file save.

Would this be possible to implement in this plugin?

sydro commented 7 years ago

Sure! I think it's a good idea.

I will develop the feature on open and close buffer file (not save). You'll be able to activate it with a flag in the settings tab.

sydro commented 7 years ago

Hi, i added a new flag in settings tab to enable and disable automatic de- and encryption of ansible vault files. it works with a global vault password file and with manual password too.

Thanks for the issue ;)