Edit Encrypted Files
Edit Encrypted Files (eef) is a command-line tool to edit encrypted files with GPG using symmetric-key encryption.
Install eef from PyPI:
$ pip install eef
Edit an encrypted file with nano:
$ eef notes.gpg
Edit an encrypted file with another text editor:
$ eef -e vi notes.gpg
How do I create a new encrypted file?
$ eef newfile.gpg
eef will detect that the file doesn't exist, ask the passphrase twice and make sure they match.
How do I show the decrypted file without eef?
$ less notes.gpg Enter passphrase: ...
less only asks the passphrase for files ending with
How does eef work?
- decrypts the file and stores it under the
- starts the text editor;
- encrypts the file back;
- shreds and removes the decrypted file.
Why does eef not use the
$EDITOR environment variable?
$EDITOR might create backup files of the decrypted
file. That is why eef uses
nano --ignorercfiles by default.
Mathieu Larose firstname.lastname@example.org
eef is released under the GPLv3. See the LICENSE file for details.