<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using GnuPG</title>
	<atom:link href="http://www.karkomaonline.com/index.php/2003/05/using-gnupg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karkomaonline.com/index.php/2003/05/using-gnupg/</link>
	<description>a Blog for SysAdmins and Unix stuff in general</description>
	<lastBuildDate>Tue, 13 Sep 2011 05:10:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.karkomaonline.com/index.php/2003/05/using-gnupg/comment-page-1/#comment-4</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 25 Dec 2003 00:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2003/05/10/using-gnupg/#comment-4</guid>
		<description>Ummm... very nice!</description>
		<content:encoded><![CDATA[<p>Ummm&#8230; very nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.karkomaonline.com/index.php/2003/05/using-gnupg/comment-page-1/#comment-3</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 23 Dec 2003 22:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2003/05/10/using-gnupg/#comment-3</guid>
		<description>There is also support for other Linux/Unix email clients that are freely available and work well.

For kmail() and mutt(), you will need to install the packages gnupg, libgpgme, and cryptoplug. Add the following statement to ~/.xinitrc



&lt;blockquote&gt;&quot;$(gpg-agent --daemon)&quot;&lt;/blockquote&gt;



The gpg-agent() holds your private key in non-swapable memory, very similar to ssh-agent() and makes it available to the kmail plugin.


Now, add the following to ~/.gnupg/gpg-agent.conf



&lt;blockquote&gt;pinentry-program /usr/bin/pinentry-qt
no-grab
default-cache-ttl 1800&lt;/blockquote&gt;



These statements define the popup window to be used by gpg-agent.


Finally, within kmail:/Settings/Configure Kmail&#124;&#124;Security/Cryptoplugins: select /usr/bin/crytoplug/gpgme-openpgp.so. Activate the plugin.

Send yourself a signed email to see if kmail colors it in pale green.



Mozilla and Mozilla Thunderbird are considerably easier to enable in PGP. Simply install the Enigmail plugin from within Tbird: /Tools/Options/Extensions&#124;Get New Extensions.

Restart Tbird and configure under the &quot;Enigmail&quot; menu.

Again, send yourself a signed email and see if the Enigmail plugin will color the header bar correctly.



If in either case, the client shows your test message as anything other than green, it&#039;s probably due to your &quot;trust&quot; settings in gpg() . Try:



&lt;blockquote&gt;gpg --update-trustdb&lt;/blockquote&gt;



Tell it that you &quot;ultimately&quot; trust your own key.</description>
		<content:encoded><![CDATA[<p>There is also support for other Linux/Unix email clients that are freely available and work well.</p>
<p>For kmail() and mutt(), you will need to install the packages gnupg, libgpgme, and cryptoplug. Add the following statement to ~/.xinitrc</p>
<blockquote><p>&#8220;$(gpg-agent &#8211;daemon)&#8221;</p></blockquote>
<p>The gpg-agent() holds your private key in non-swapable memory, very similar to ssh-agent() and makes it available to the kmail plugin.</p>
<p>Now, add the following to ~/.gnupg/gpg-agent.conf</p>
<blockquote><p>pinentry-program /usr/bin/pinentry-qt<br />
no-grab<br />
default-cache-ttl 1800</p></blockquote>
<p>These statements define the popup window to be used by gpg-agent.</p>
<p>Finally, within kmail:/Settings/Configure Kmail||Security/Cryptoplugins: select /usr/bin/crytoplug/gpgme-openpgp.so. Activate the plugin.</p>
<p>Send yourself a signed email to see if kmail colors it in pale green.</p>
<p>Mozilla and Mozilla Thunderbird are considerably easier to enable in PGP. Simply install the Enigmail plugin from within Tbird: /Tools/Options/Extensions|Get New Extensions.</p>
<p>Restart Tbird and configure under the &#8220;Enigmail&#8221; menu.</p>
<p>Again, send yourself a signed email and see if the Enigmail plugin will color the header bar correctly.</p>
<p>If in either case, the client shows your test message as anything other than green, it&#8217;s probably due to your &#8220;trust&#8221; settings in gpg() . Try:</p>
<blockquote><p>gpg &#8211;update-trustdb</p></blockquote>
<p>Tell it that you &#8220;ultimately&#8221; trust your own key.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karkoma</title>
		<link>http://www.karkomaonline.com/index.php/2003/05/using-gnupg/comment-page-1/#comment-2</link>
		<dc:creator>karkoma</dc:creator>
		<pubDate>Sun, 22 Jun 2003 21:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.karkomaonline.com/index.php/2003/05/10/using-gnupg/#comment-2</guid>
		<description>This an enhancement taken from gentoo.org...

Using GnuPG to digitally sign emails.

GNU Privacy Guard (GnuPG) is an open source version of the commercial Pretty Good Privacy (PGP) software for creating digital signatures. Next paragraphs will cover the creation of a key, exporting your key to a public keyserver, and finally adding your digital signature to email.

a) Installing GnuPG and creating your directory



&lt;blockquote&gt;     emerge gnupg
     mkdir $HOME/.gnupg&lt;/blockquote&gt;



b) Creating a new key



&lt;blockquote&gt;     gpg --gen-key&lt;/blockquote&gt;



you should select &#039;DSA and ElGamal&#039;, &#039;1024&#039; as keysize, no expiration date for your key (be careful with this) and your personal data (name, email) and finally your passphrase.

Now that your key has been made, it needs to be exported to a public keyserver. While this is not required, it&#039;s the easiest way for others to get your public key information and verify your information. To send your key, you&#039;ll first need to know your Key ID.

c) Find your key ID



&lt;blockquote&gt;     gpg --list-keys

     /home/johndoe/.gnupg/pubring.gpg
     -------------------------------
     pub  1024D/XXXXXXXX 2003-12-12 John Doe john.doe@example.com
     sub  1024g/ZZZZZZZZ 2003-12-12
&lt;/blockquote&gt;


Note that XXXXXXXX and ZZZZZZZZ and the rest of data are fictitious.

d) Now you can export your key to a public server



&lt;blockquote&gt;     gpg --send-keys --keyserver wwwkeys.pgp.net XXXXXXXX&lt;/blockquote&gt;



Now that your key has been created and published, you can start using it to sign emails. You&#039;ll need to remember your Key ID for this step. If you don&#039;t remember it, see the above code listing, step c).

Use the following steps to set up encryption in Evolution:

   1. Click on Tools-&gt;Settings.
   2. Select &quot;Mail Accounts&quot; button and the account that will be using the key.
   3. Click Edit and then the Security tab. Enter your Key ID in the field entitled PGP/GPG Key ID.
   4. Click OK.

Now when you compose a message, select Security-&gt;PGP Sign to add your digital signature to your email.</description>
		<content:encoded><![CDATA[<p>This an enhancement taken from gentoo.org&#8230;</p>
<p>Using GnuPG to digitally sign emails.</p>
<p>GNU Privacy Guard (GnuPG) is an open source version of the commercial Pretty Good Privacy (PGP) software for creating digital signatures. Next paragraphs will cover the creation of a key, exporting your key to a public keyserver, and finally adding your digital signature to email.</p>
<p>a) Installing GnuPG and creating your directory</p>
<blockquote><p>     emerge gnupg<br />
     mkdir $HOME/.gnupg</p></blockquote>
<p>b) Creating a new key</p>
<blockquote><p>     gpg &#8211;gen-key</p></blockquote>
<p>you should select &#8216;DSA and ElGamal&#8217;, &#8217;1024&#8242; as keysize, no expiration date for your key (be careful with this) and your personal data (name, email) and finally your passphrase.</p>
<p>Now that your key has been made, it needs to be exported to a public keyserver. While this is not required, it&#8217;s the easiest way for others to get your public key information and verify your information. To send your key, you&#8217;ll first need to know your Key ID.</p>
<p>c) Find your key ID</p>
<blockquote><p>     gpg &#8211;list-keys</p>
<p>     /home/johndoe/.gnupg/pubring.gpg<br />
     &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
     pub  1024D/XXXXXXXX 2003-12-12 John Doe <a href="mailto:john.doe@example.com">john.doe@example.com</a><br />
     sub  1024g/ZZZZZZZZ 2003-12-12
</p></blockquote>
<p>Note that XXXXXXXX and ZZZZZZZZ and the rest of data are fictitious.</p>
<p>d) Now you can export your key to a public server</p>
<blockquote><p>     gpg &#8211;send-keys &#8211;keyserver wwwkeys.pgp.net XXXXXXXX</p></blockquote>
<p>Now that your key has been created and published, you can start using it to sign emails. You&#8217;ll need to remember your Key ID for this step. If you don&#8217;t remember it, see the above code listing, step c).</p>
<p>Use the following steps to set up encryption in Evolution:</p>
<p>   1. Click on Tools->Settings.<br />
   2. Select &#8220;Mail Accounts&#8221; button and the account that will be using the key.<br />
   3. Click Edit and then the Security tab. Enter your Key ID in the field entitled PGP/GPG Key ID.<br />
   4. Click OK.</p>
<p>Now when you compose a message, select Security->PGP Sign to add your digital signature to your email.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

