]> granicus.if.org Git - neomutt/commitdiff
Merge smime and pgp -encrypt-self as encrypt-self
authorGuillaume Brogi <gui-gui@netcourrier.com>
Thu, 1 Sep 2016 17:26:15 +0000 (19:26 +0200)
committerRichard Russon <rich@flatcap.org>
Thu, 1 Sep 2016 19:00:23 +0000 (20:00 +0100)
PATCHES
doc/manual.xml.head
doc/muttrc.encrypt-to-self [moved from doc/muttrc.smime-encrypt-self with 67% similarity]
doc/vimrc.encrypt-to-self [new file with mode: 0644]
doc/vimrc.smime-encrypt-self [deleted file]

diff --git a/PATCHES b/PATCHES
index 675387e2dcd34a9879da7e5a4a6783b95e921e60..6bd55e51c31cb12ba8ff1582652e1c5b0c44129e 100644 (file)
--- a/PATCHES
+++ b/PATCHES
@@ -1,5 +1,6 @@
 patch-compress-neomutt
 patch-cond-date-neomutt
+patch-encrypt-to-self-neomutt
 patch-fmemopen-neomutt
 patch-ifdef-neomutt
 patch-index-color-neomutt
@@ -16,7 +17,6 @@ patch-progress-neomutt
 patch-quasi-delete-neomutt
 patch-sidebar-neomutt
 patch-skip-quoted-neomutt
-patch-smime-encrypt-self-neomutt
 patch-status-color-neomutt
 patch-timeout-neomutt
 patch-tls-sni-neomutt
index 9807cbd58250871dd5e2e11739cb2e0dc1fb440b..242e640bb410fd37a0537793f7886b0b3f865a79 100644 (file)
@@ -9693,6 +9693,133 @@ set index_format='%4C %Z %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;
   </sect2>
 </sect1>
 
+<sect1 id="encrypt-to-self">
+  <title>Encrypt-to-Self Patch</title>
+  <subtitle>Save an self-encrypted copy of emails</subtitle>
+
+  <sect2 id="encrypt-to-self-patch">
+    <title>Patch</title>
+
+    <para>
+      To check if Mutt supports <quote>encrypt-self</quote>, look for
+      <quote>patch-encrypt-self</quote> in the mutt version.
+      See: <xref linkend="mutt-patches"/>.
+    </para>
+
+    <itemizedlist>
+      <title>Dependencies:</title>
+      <listitem><para>mutt-1.7.0</para></listitem>
+    </itemizedlist>
+
+    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+  </sect2>
+
+  <sect2 id="encrypt-to-self-intro">
+    <title>Introduction</title>
+
+    <para>
+      Once you encrypt an email to someone you cannot read it.  This is good
+      for security, but bad for record-keeping.  If you wanted to keep a copy
+      of an encrypted email you could set <link linkend="fcc-clear">$fcc_clear</link>.
+    </para>
+
+    <para>
+      A better option is to enable
+      <link linkend="smime-encrypt-self">$smime_encrypt_self</link>, then set
+      <link linkend="smime-default-key">$smime_default_key</link> to your
+      personal S/MIME key id.
+    </para>
+
+<screen>
+set smime_encrypt_self = yes
+set smime_default_key  = bb345e23.0
+</screen>
+
+    <para>
+      Or, if you use PGP, 
+      <link linkend="pgp-encrypt-self">$pgp_encrypt_self</link>, then set
+      <link linkend="pgp-sign-as">$pgp_sign_as</link> to your
+      personal PGP key id.
+    </para>
+
+<screen>
+set pgp_encrypt_self = yes
+set pgp_sign_as      = A4AF18C5582473BD35A1E9CE78BB3D480042198E
+</screen>
+
+  </sect2>
+
+  <sect2 id="encrypt-to-self-variables">
+    <title>Variables</title>
+
+    <table id="table-encrypt-self-variables">
+      <title>encrypt-self Variables</title>
+      <tgroup cols="3">
+        <thead>
+          <row>
+            <entry>Name</entry>
+            <entry>Type</entry>
+            <entry>Default</entry>
+          </row>
+        </thead>
+        <tbody>
+          <row>
+            <entry><literal>smime_encrypt_self</literal></entry>
+            <entry>quad</entry>
+            <entry>No</entry>
+          </row>
+          <row>
+            <entry><literal>pgp_encrypt_self</literal></entry>
+            <entry>quad</entry>
+            <entry>No</entry>
+          </row>
+        </tbody>
+      </tgroup>
+    </table>
+  </sect2>
+
+  <sect2 id="encrypt-to-self-muttrc">
+    <title>Muttrc</title>
+<screen>
+<emphasis role="comment"># This is a complete list of encrypt-self-related configuration.
+# --------------------------------------------------------------------------
+# VARIABLES - shown with their default values
+# --------------------------------------------------------------------------
+# Save a copy of outgoing email, encrypted to yourself using SMIME</emphasis>
+set smime_encrypt_self = "no"
+<emphasis role="comment"># Save a copy of outgoing email, encrypted to yourself using PGP</emphasis>
+set pgp_encrypt_self = "no"
+<emphasis role="comment"># vim: syntax=muttrc</emphasis>
+</screen>
+  </sect2>
+
+  <sect2 id="encrypt-to-self-see-also">
+    <title>See Also</title>
+
+    <itemizedlist>
+      <listitem><para><ulink url="http://www.neomutt.org/">NeoMutt Project</ulink></para></listitem>
+    </itemizedlist>
+  </sect2>
+
+  <sect2 id="encrypt-to-self-known-bugs">
+    <title>Known Bugs</title>
+    <para>None</para>
+  </sect2>
+
+  <sect2 id="encrypt-to-self-credits">
+    <title>Credits</title>
+    <itemizedlist>
+    <listitem><para>Omen Wild <email>omen@mandarb.com</email></para></listitem>
+    <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
+    <listitem><para>Guillaume Brogi <email>gui-gui@netcourrier.com</email></para></listitem>
+    </itemizedlist>
+  </sect2>
+</sect1>
+
 <sect1 id="fmemopen">
   <title>Fmemopen Patch</title>
   <subtitle>Replace some temporary files with memory buffers</subtitle>
@@ -12706,112 +12833,6 @@ set skip_quoted_offset = 3
   </sect2>
 </sect1>
 
-<sect1 id="smime-encrypt-self-patch">
-  <title>smime-encrypt-self Patch</title>
-  <subtitle>Save an self-encrypted copy of emails</subtitle>
-
-  <sect2 id="smime-encrypt-self-patch2">
-    <title>Patch</title>
-
-    <para>
-      To check if Mutt supports <quote>smime-encrypt-self</quote>, look for
-      <quote>patch-smime-encrypt-self</quote> in the mutt version.
-      See: <xref linkend="mutt-patches"/>.
-    </para>
-
-    <itemizedlist>
-      <title>Dependencies:</title>
-      <listitem><para>mutt-1.7.0</para></listitem>
-    </itemizedlist>
-
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-intro">
-    <title>Introduction</title>
-
-    <para>
-      Once you encrypt an email to someone you cannot read it.  This is good
-      for security, but bad for record-keeping.  If you wanted to keep a copy
-      of an encrypted email you could set <link linkend="fcc-clear">$fcc_clear</link>.
-    </para>
-
-    <para>
-      A better option is to enable
-      <link linkend="smime-encrypt-self">$smime_encrypt_self</link>, then set
-      <link linkend="smime-default-key">$smime_default_key</link> to your
-      personal S/MIME key id.
-    </para>
-
-<screen>
-set smime_encrypt_self = yes
-set smime_default_key  = bb345e23.0
-</screen>
-
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-variables">
-    <title>Variables</title>
-
-    <table id="table-smime-encrypt-self-variables">
-      <title>smime-encrypt-self Variables</title>
-      <tgroup cols="3">
-        <thead>
-          <row>
-            <entry>Name</entry>
-            <entry>Type</entry>
-            <entry>Default</entry>
-          </row>
-        </thead>
-        <tbody>
-          <row>
-            <entry><literal>smime_encrypt_self</literal></entry>
-            <entry>quad</entry>
-            <entry>No</entry>
-          </row>
-        </tbody>
-      </tgroup>
-    </table>
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-muttrc">
-    <title>Muttrc</title>
-<screen>
-<emphasis role="comment"># This is a complete list of smime-encrypt-self-related configuration.
-# --------------------------------------------------------------------------
-# VARIABLES - shown with their default values
-# --------------------------------------------------------------------------
-# Save a copy of outgoing email, encrypted to yourself</emphasis>
-set smime_encrypt_self = "no"
-<emphasis role="comment"># vim: syntax=muttrc</emphasis>
-</screen>
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-see-also">
-    <title>See Also</title>
-
-    <itemizedlist>
-      <listitem><para><ulink url="http://www.neomutt.org/">NeoMutt Project</ulink></para></listitem>
-    </itemizedlist>
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-known-bugs">
-    <title>Known Bugs</title>
-    <para>None</para>
-  </sect2>
-
-  <sect2 id="smime-encrypt-self-credits">
-    <title>Credits</title>
-    <itemizedlist>
-    <listitem><para>Omen Wild <email>omen@mandarb.com</email></para></listitem>
-    <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
-    </itemizedlist>
-  </sect2>
-</sect1>
-
 <sect1 id="status-color">
   <title>Status Color Patch</title>
   <subtitle>Custom rules for theming the status bar</subtitle>
similarity index 67%
rename from doc/muttrc.smime-encrypt-self
rename to doc/muttrc.encrypt-to-self
index 0ef7c481fe7746c101db5845b7c7afc98e920c85..9e469a182725b1843e7d73a678b483b1808238d4 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of smime-encrypt-self-related configuration.
+# This is a complete list of encrypt-to-self-related configuration.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
@@ -7,4 +7,7 @@
 # Save a copy of outgoing email, encrypted to yourself
 set smime_encrypt_self = "no"
 
+# Save a copy of outgoing email, encrypted to yourself
+set pgp_encrypt_self = "no"
+
 # vim: syntax=muttrc
diff --git a/doc/vimrc.encrypt-to-self b/doc/vimrc.encrypt-to-self
new file mode 100644 (file)
index 0000000..ce9de58
--- /dev/null
@@ -0,0 +1,6 @@
+" Vim syntax file for the mutt encrypt-to-self patch
+
+syntax keyword muttrcVarQuad    smime_encrypt_self
+syntax keyword muttrcVarQuad    pgp_encrypt_self
+
+" vim: syntax=vim
diff --git a/doc/vimrc.smime-encrypt-self b/doc/vimrc.smime-encrypt-self
deleted file mode 100644 (file)
index 7fe9357..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-" Vim syntax file for the mutt smime-encrypt-self patch
-
-syntax keyword muttrcVarQuad    contained skipwhite muttrcVarQuad
-
-" vim: syntax=vim