Encrypted files in Emacs

01 March 2005   0 comments   Linux

Mind That Age!

This blog post is 13 years old! Most likely, its content is outdated. Especially if it's technical.

With the ccrypt program for Linux and some Emacs settings you can achieve the following:

You create or open a file called passwords.cpt. Then Emacs asks you for a password. Once you've entered the password you can word with the file like any other file to for example write down all your passwords to various websites or bank accounts.

When you close Emacs and try to read the file with any other program you get the binary encrypted output which is useless. What's important to Emacs is that the filename ends in .cpt which is a bit clunky. In vi you can get the same effect simply by passing the -x option when opening a file. But I don't like vi.


Your email will never ever be published

Related posts

File attachment widget with Javascript 25 February 2005
Suspend and resume output in terminal 03 March 2005
Related by Keyword:
Best Atom packages of 2015 22 January 2016
Wing IDE versus Jed 11 December 2008
EditArea vs. CodePress 03 January 2008
Carbon XEmacs installed 14 March 2006
Emacs on the Palm OS 15 December 2005
Related by Text:
Be very careful with your add_header in Nginx! You might make your site insecure 11 February 2018
jQuery and Highslide JS 08 January 2008
I'm back! Peterbe.com has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
I'm Prolog 01 May 2007