Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Encrypt and Decrypt a document or selection using OpenSSL in Sublime Text 2 & 3
branch: master

Merge pull request #12 from eddiejessup/master

Send data to openssl pipe via communicate instead of stdin.write
latest commit 5df3d9c5e0
Derek Anderson authored
Failed to load latest commit information.
screenshots Added an animated GIF example
.gitignore Created the repo
Context.sublime-menu Updated Docs, added screenshots and Changed the context-menu text to …
Crypto.py Merge branch 'master' of github.com:mediaupstream/SublimeText-Crypto
Crypto.sublime-settings - Tested on Windows, now working
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap Created the repo
Default (Windows).sublime-keymap
Default.sublime-commands Updated Docs, added screenshots and Changed the context-menu text to …
Main.sublime-menu Updated Docs, added screenshots and Changed the context-menu text to …
Readme.md Fixes #8 issue with not being available.

Readme.md

Crypto Sublime Text 2 and 3 Package

Encrypt/ Decrypt a document or selection(s) using OpenSSL

This Package depends on openssl

Preview

Install

Installation via the Package Control (Search for Crypto)

To install manually clone this project into your Sublime Text 2\Packages folder:

OSX

git clone git://github.com/mediaupstream/SublimeText-Crypto.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Crypto

Windows

git clone git://github.com/mediaupstream/SublimeText-Crypto.git "%APPDATA%\Sublime Text 2\Packages\Crypto"

Usage

After installation you will have:

  • Right-click menu item Crypto and Tools > Crypto with two options:
    • Encrypt
    • Decrypt
  • Default keyboard shortcuts:
    • ⌘+K,e on OSX or ctrl+K,e on Linux/Windows (Encrypt)
    • ⌘+K,d on OSX or ctrl+K,d on Linux/Windows (Decrypt)
  • Package Settings: Preferences > Package Settings > Crypto
    • Set the path to your openssl executable - default: openssl
    • Set the Encryption Cipher - default: -aes128

The commands work on a selection, multiple selections or if nothing is selected the whole document. Once you trigger the command you will be prompted to enter a password.

Todo

  • Test on Linux and Windows
  • Add other functionality:
    • encryption on save
    • encrypt/decrypt multiple files, or all open files
    • encrypt/decrypt using a keyfile
    • etc...

Author & Contributors

Derek Anderson
Isaac Muse
Elliot Marsden

License

MIT License

Something went wrong with that request. Please try again.