Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a text editor which supports openssl encryption as a plugin. So, instead of manually:

  • decrypt a file in shell
  • edit it in the text editor
  • encrypt the file in shell

Hopefully, the plugin can take care of the above human steps and only ask for password when opening and closing the file.

share|improve this question
    
OpenSSL is a network protocol layer... how does this relate to a text editor? –  Flimzy May 2 '12 at 3:35
    
@Flimzy: The OpenSSL CLI tool can also encrypt and decrypt binary data. See the enc predicate. –  Ignacio Vazquez-Abrams May 2 '12 at 3:37

4 Answers 4

up vote 2 down vote accepted

It looks like the openssl.vim plugin for Vim can do this, although I've never used it myself. I do use the gnupg.vim plugin however. I'm not sure why you specifically want to use OpenSSL for encryption, but unless you know what you're doing I would suggest GnuPG instead (OpenSSL is a more low level tool and one can still do the wrong thing with ciphers if they aren't used properly). GnuPG can do symmetric encryption (i.e. a passphrase) as well as public/private key encryption.

share|improve this answer
    
One reason to choice openssl: it's pre-installed on a mac. –  ohho May 2 '12 at 7:27
    
OpenSSL supports a number of different ciphers including 3DES and AES. I think "using OpenSSL encryption" would read better as "using OpenSSL for encryption". –  emgee May 3 '12 at 5:57

Although it doesn't use OpenSSL, Vim can encrypt a file using Blowfish. See :h encryption for details.

share|improve this answer

Textmate includes the ability to encrypt and decrypt using AES. If you look into the bundle that does this, you can see it is using openssl to do the encryption/decryption. You could easily modify the bundle if needed for different parameters, ciphers, etc.

share|improve this answer

Sublime also has an OpenSSL encryption package OpenSSL, and a GPG plugin too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.