Skip to content
Edit Encrypted Files
Branch: master
Clone or download
Latest commit 2b7e227 Oct 13, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Oct 14, 2014
LICENSE Initial commit Oct 14, 2014
MANIFEST.in Initial commit Oct 14, 2014
README.md Initial commit Oct 14, 2014
eef Initial commit Oct 14, 2014
setup.py Initial commit Oct 14, 2014

README.md

Edit Encrypted Files

Edit Encrypted Files (eef) is a command-line tool to edit encrypted files with GPG using symmetric-key encryption.

Quick start

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

FAQ

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?

With less:

$ less notes.gpg
Enter passphrase:
...

Note: less only asks the passphrase for files ending with .gpg.

How does eef work?

eef:

  • decrypts the file and stores it under the /dev/shm directory;
  • starts the text editor;
  • encrypts the file back;
  • shreds and removes the decrypted file.

Why does eef not use the $EDITOR environment variable?

Because $EDITOR might create backup files of the decrypted file. That is why eef uses nano --ignorercfiles by default.

Author

Mathieu Larose mathieu@mathieularose.com

License

eef is released under the GPLv3. See the LICENSE file for details.

Website

http://github.com/larose/eef

You can’t perform that action at this time.