Encrypt on save and decrypt on open


#1

in Emacs, I used crypt++ with openssl to encrypt and decrypt file in emacs.

Is there such plugin can do the same? or if anyone could point me to a plugin that on open, pipe the file to some command before present in atom. likewise, before save, pipe the atom buffer to shell command then save?’

these are the commands that I used in emacs to open / save file with a certain extension:

openssl aes-256-cbc -salt -e -base64 -k SECRETKEY
openssl aes-256-cbc -salt -d -base64 -k SECRETKEY

Thanks!


#2

It doesn’t look like any of the packages do precisely what you want. The ones I found are all manual. It wouldn’t be too hard to engineer what you’re looking for, though.


#3

I found a package Bombe did pretty much what I was looking for. I only needed to make it open / save openssl formatted files.

Thanks!