GPG guide: mention -a & fix typo & fix group line.

This commit is contained in:
Mikaela Suomalainen 2012-08-09 20:52:35 +03:00
parent 9dfd3797ea
commit ba439b387a
2 changed files with 11 additions and 17 deletions

View File

@ -120,6 +120,10 @@ encrypt-to KEYID</code></pre>
<p>charset UTF-8</p>
</blockquote>
<p>So UTF-8 is used as default character set and most of characters can be used.</p>
<blockquote>
<p>armor</p>
</blockquote>
<p>So you don't need to specify -a to get ASCII armoured text.</p>
<pre><code>keyserver hkp://pool.sks-keyservers.net
keyserver-options auto-key-retrieve no-include-revoked verbose import-clean</code></pre>
<p>So default keyserver is specified and unknown keys are always received when something what requires missing key is procressses and revoked keys aren't included in search results and verbose output is used and signatures by unknown keys are automatically removed.</p>
@ -127,20 +131,9 @@ keyserver-options auto-key-retrieve no-include-revoked verbose import-clean</cod
<h4 id="group-lines">Group lines</h4>
<p>Group lines are a way to write email to one recepient and have it encrypted to multiple keys automatically.</p>
<p>Example group line:</p>
<p>group <script type="text/javascript">
<!--
h='&#x67;&#x6f;&#x6f;&#x67;&#108;&#x65;&#x67;&#114;&#x6f;&#x75;&#112;&#x73;&#46;&#x63;&#x6f;&#x6d;';a='&#64;';n='&#116;&#x6f;&#x75;&#x63;&#104;&#108;&#x61;&#x79;&#x2d;&#x73;&#x65;&#114;&#118;&#x65;&#114;';e=n+a+h;
document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
// -->
</script><noscript>&#116;&#x6f;&#x75;&#x63;&#104;&#108;&#x61;&#x79;&#x2d;&#x73;&#x65;&#114;&#118;&#x65;&#114;&#32;&#x61;&#116;&#32;&#x67;&#x6f;&#x6f;&#x67;&#108;&#x65;&#x67;&#114;&#x6f;&#x75;&#112;&#x73;&#32;&#100;&#x6f;&#116;&#32;&#x63;&#x6f;&#x6d;</noscript>=0x4DB53CFE82A46728 0x0BD622288449A12B 0x729DF464666CC0DD 0xCACC5B094EC00206</p>
<p>group touchlay-server@googlegroups.com=0x4DB53CFE82A46728 0x0BD622288449A12B 0x729DF464666CC0DD 0xCACC5B094EC00206</p>
<p>With that line, when recepient is touchlay-server@googlegroups.com, then emails are encrypted to those 4 keys.</p>
<p>NOTE: I think that group lines require email addresses to be in format</p>
<p>NOTE: KEYIDs in group line should be in format 0xLONG. If you don't use that format by default, use &quot;gpg2 --keyid-format 0xLONG --list-keys&quot;. &gt; <script type="text/javascript">
<!--
h='&#116;&#104;&#x69;&#46;&#110;&#x67;';a='&#64;';n='&#x73;&#x6f;&#x6d;&#x65;';e=n+a+h;
document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
// -->
</script><noscript>&#x73;&#x6f;&#x6d;&#x65;&#32;&#x61;&#116;&#32;&#116;&#104;&#x69;&#32;&#100;&#x6f;&#116;&#32;&#110;&#x67;</noscript></p>
<p>NOTE: KEYIDs in group line should be in format 0xLONG. If you don't use that format by default, use &quot;gpg2 --keyid-format 0xLONG --list-keys&quot;.</p>
<p>See also my <a href="Enigmail.html">Enigmail</a> instructions about group lines.</p>
<h3 id="comments">Comments</h3>
<p>GPG can automatically add comments to signed and encrypted content. They are usually hidden by email clients, which support GPG.</p>

View File

@ -184,6 +184,10 @@ After you set 0xLONG as keyid-format, keys appear like 0x4DB53CFE82A46728 instea
So UTF-8 is used as default character set and most of characters can be used.
> armor
So you don't need to specify -a to get ASCII armoured text.
```
keyserver hkp://pool.sks-keyservers.net
keyserver-options auto-key-retrieve no-include-revoked verbose import-clean
@ -201,14 +205,11 @@ Group lines are a way to write email to one recepient and have it encrypted to m
Example group line:
group <touchlay-server@googlegroups.com>=0x4DB53CFE82A46728 0x0BD622288449A12B 0x729DF464666CC0DD 0xCACC5B094EC00206
group touchlay-server@googlegroups.com=0x4DB53CFE82A46728 0x0BD622288449A12B 0x729DF464666CC0DD 0xCACC5B094EC00206
With that line, when recepient is touchlay-server@googlegroups.com, then emails are encrypted to those 4 keys.
NOTE: I think that group lines require email addresses to be in format
NOTE: KEYIDs in group line should be in format 0xLONG. If you don't use that format by default, use "gpg2 --keyid-format 0xLONG --list-keys".
> <some@thi.ng>
See also my [Enigmail] instructions about group lines.