Sign and Encrypt (GPG) from edit menu

Asked by AlexGenaud

Is it possible directly, through a plugin, or a simple external application to sign and/or encrypt an entire document, the selected text, or the clipboard?

Question information

English Edit question
Ubuntu gedit Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :

There are no plugins that do this. Writing one is doable, though probably unnecessary. You can configure gedit to sign/encrypt documents using the External Tools plugin and adding an action for gpg. For example. I just setup a Clear sign action that appears in the Tools menu:

* Enable External Tools via Menu > Preferences > Plugins External Tools
* Choose Menu > Tools > Manage External Tools
* Add a new action named "Clear sign"
* Set the script to
gpg --clearsign --no-tty -
* Input: Current document
* Output: Replace current document
* Close the manager window
* Type any text into a new document
* Choose Menu > Tools > External Tools > Clear sign (may need a restart to see this)

Revision history for this message
Sam_ (and-sam) said :

With Natty 11.04, seahorse-plugins can still be used. It's then available in gedit plugins en-decryption.
The plugin isn't available in Oneiric.
Bug #832888
Bug #796752

Alternatively Nautilus scripts e.g.

Revision history for this message
Pietro Battiston (toobaz) said :

Some autopromotion/request for feedback:

It still does not sign, but it's very easy to add. I just want to understand if the interface is appreciated (I never used the old version of the plugin).

Can you help with this problem?

Provide an answer of your own, or ask AlexGenaud for more information if necessary.

To post a message you must log in.