|
| 1 | +<page xmlns="http://projectmallard.org/1.0/" |
| 2 | + xmlns:its="http://www.w3.org/2005/11/its" |
| 3 | + type="topic" style="task" |
| 4 | + id="plugin-gpg-encryption"> |
| 5 | + |
| 6 | + <info> |
| 7 | + <link type="guide" xref="index#pluma-additional-plugins"/> |
| 8 | + <revision version="1.29" date="2026-03-25" status="review"/> |
| 9 | + |
| 10 | + <credit type="author"> |
| 11 | + <name>MATE Developers</name> |
| 12 | + <email its:translate="no">vkareh@redhat.com</email> |
| 13 | + </credit> |
| 14 | + |
| 15 | + <desc>Open and save GPG-encrypted files.</desc> |
| 16 | + </info> |
| 17 | + |
| 18 | + <title>GPG Encryption</title> |
| 19 | + |
| 20 | + <p>The <app>GPG Encryption</app> plugin allows you to open and save |
| 21 | + GPG-encrypted files (<file>.gpg</file> and <file>.pgp</file>) |
| 22 | + transparently. When you open an encrypted file, the plugin decrypts it |
| 23 | + and displays the plaintext. When you save, the file is re-encrypted |
| 24 | + using the same method it was originally encrypted with.</p> |
| 25 | + |
| 26 | + <p>To enable the GPG Encryption plugin, select |
| 27 | + <guiseq><gui style="menu">Edit</gui><gui style="menuitem">Preferences</gui> |
| 28 | + <gui>Plugins</gui><gui>GPG Encryption</gui></guiseq>.</p> |
| 29 | + |
| 30 | + <note style="important"> |
| 31 | + <p>This plugin requires the <cmd>gpg</cmd> command to be installed on |
| 32 | + your system. It delegates all authentication to <cmd>gpg-agent</cmd>, |
| 33 | + so smartcards (such as YubiKey) and pinentry dialogs are fully |
| 34 | + supported.</p> |
| 35 | + </note> |
| 36 | + |
| 37 | + <section id="opening-files"> |
| 38 | + <title>Opening encrypted files</title> |
| 39 | + <p>Simply open a <file>.gpg</file> or <file>.pgp</file> file as you |
| 40 | + would any other file. The plugin will invoke <cmd>gpg</cmd> to decrypt |
| 41 | + it. You may be prompted for a passphrase or smartcard PIN through your |
| 42 | + configured pinentry program.</p> |
| 43 | + </section> |
| 44 | + |
| 45 | + <section id="saving-files"> |
| 46 | + <title>Saving encrypted files</title> |
| 47 | + <p>When you save a file that was decrypted by the plugin, it is |
| 48 | + automatically re-encrypted using the original method:</p> |
| 49 | + <list> |
| 50 | + <item><p><em>Symmetric encryption</em> (passphrase-based): the file |
| 51 | + is re-encrypted with a passphrase.</p></item> |
| 52 | + <item><p><em>Asymmetric encryption</em> (public-key): the file is |
| 53 | + re-encrypted to the same recipients as before.</p></item> |
| 54 | + </list> |
| 55 | + </section> |
| 56 | + |
| 57 | + <section id="new-encrypted-files"> |
| 58 | + <title>Creating new encrypted files</title> |
| 59 | + <p>To create a new encrypted file, use <guiseq><gui style="menu">File</gui> |
| 60 | + <gui>Save As</gui></guiseq> and choose a filename ending in |
| 61 | + <file>.gpg</file> or <file>.pgp</file>. The file will be encrypted |
| 62 | + using symmetric (passphrase) encryption by default.</p> |
| 63 | + </section> |
| 64 | + |
| 65 | +</page> |
0 commit comments