GithubHelp home page GithubHelp logo

sublimegpg's Introduction

GPG

This GPG plugin for Sublime Text 3 adds commands to decrypt, encrypt, sign, and authenticate documents. It requires a working copy of GPG with a key already generated. (If you haven't generated a key yet, see this mini-HOWTO.) If the gpg binary is not in $PATH, you will have to set its location in Preferences → Package Settings → GPG.

On OS X, I recommend installing GPG using the Homebrew package manager: after installing Homebrew, run brew install gpg.

This plugin is now able to decrypt and verify binary encrypted documents if Sublime Text's encoding is set to 'Hexadecimal'. To set it, run the menu command File → Reopen with Encoding → Hexadecimal. Similarly, you can encrypt or sign a binary file so long as it is opened with the Hexadecimal encoding, though the output will still be ASCII armored. Currently, you must manually change the encoding away from Hexadecimal after running a GPG command.

Menu items added

  • Preferences → Package Settings → GPG
  • Tools → GPG → Decrypt
  • Tools → GPG → Encrypt
  • Tools → GPG → Sign
  • Tools → GPG → Sign and encrypt
  • Tools → GPG → Verify signature

Settings

  • gpg_command: You may need to specify the full path if gpg is not in $PATH.

    Default: "gpg"

  • homedir: Sets the GPG home directory to something other than ~/.gnupg. If empty, uses the default home directory.

    Default: ""

  • verbosity: Valid values: 0–2.

    Default: 1

Flaws and limitations

  • On Windows, the passphrase prompt does not hide the text entered: do not use this while someone is looking over your shoulder! Linux will also use an insecure passphrase prompt if zenity is not installed.

  • Signatures can only be created with the default key (the first key in the secret key ring, or else the default specified in gpg.conf).

sublimegpg's People

Contributors

crowsonkb avatar bbbsnowball avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.