<?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: My GnuPG Locality Problem</title>
	<atom:link href="http://pthree.org/2007/02/19/my-gnupg-locality-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/</link>
	<description>Linux.  GNU.  Freedom.</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:59:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha</generator>
	<item>
		<title>By: Elliot Murphy 28:1 &#187; Blog Archive &#187; links for 2007-03-09</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-37251</link>
		<dc:creator>Elliot Murphy 28:1 &#187; Blog Archive &#187; links for 2007-03-09</dc:creator>
		<pubDate>Fri, 09 Mar 2007 23:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-37251</guid>
		<description>[...] Aaron Toponce » Blog Archive » My GnuPG Locality Problem interesting discussion on how to handle GPG keys from multiple locations while maintaining security [...]</description>
		<content:encoded><![CDATA[<p>[...] Aaron Toponce » Blog Archive » My GnuPG Locality Problem interesting discussion on how to handle GPG keys from multiple locations while maintaining security [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ubuntu &#124; Aaron Toponce: My GnuPG Locality Solution</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33458</link>
		<dc:creator>Ubuntu &#124; Aaron Toponce: My GnuPG Locality Solution</dc:creator>
		<pubDate>Tue, 20 Feb 2007 23:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33458</guid>
		<description>[...] I provided a problem about how to use my GnuPG key regardless of my location. In reality, there are only 3 computers [...]</description>
		<content:encoded><![CDATA[<p>[...] I provided a problem about how to use my GnuPG key regardless of my location. In reality, there are only 3 computers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Toponce &#187; Blog Archive &#187; My GnuPG Locality Solution</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33447</link>
		<dc:creator>Aaron Toponce &#187; Blog Archive &#187; My GnuPG Locality Solution</dc:creator>
		<pubDate>Tue, 20 Feb 2007 22:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33447</guid>
		<description>[...] you&#039;re new here, you may want to subscribe to my RSS feed. Thanks for visiting!Yesterday, I provided a problem about how to use my GnuPG key regardless of my location. In reality, there are only 3 computers [...]</description>
		<content:encoded><![CDATA[<p>[...] you&#8217;re new here, you may want to subscribe to my RSS feed. Thanks for visiting!Yesterday, I provided a problem about how to use my GnuPG key regardless of my location. In reality, there are only 3 computers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33418</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 20 Feb 2007 16:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33418</guid>
		<description>I have to admit that libgfshare is superior to the solution that I came up with.  Splitting up the key, and having the ability to recreate it is nice, no doubt.

However, I&#039;m still proud of what I thought of, so I&#039;ll be interested in what others think come here in about 6 hours.</description>
		<content:encoded><![CDATA[<p>I have to admit that libgfshare is superior to the solution that I came up with.  Splitting up the key, and having the ability to recreate it is nice, no doubt.</p>
<p>However, I&#8217;m still proud of what I thought of, so I&#8217;ll be interested in what others think come here in about 6 hours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soren Hansen</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33414</link>
		<dc:creator>Soren Hansen</dc:creator>
		<pubDate>Tue, 20 Feb 2007 16:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33414</guid>
		<description>Typical. I started writing my comment, went to a lecture, came back and finished it, sent it and in the meanwhile, Daniel Silverstone has told you about libgfshare himself. Oh well.. :-)</description>
		<content:encoded><![CDATA[<p>Typical. I started writing my comment, went to a lecture, came back and finished it, sent it and in the meanwhile, Daniel Silverstone has told you about libgfshare himself. Oh well.. <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soren Hansen</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33410</link>
		<dc:creator>Soren Hansen</dc:creator>
		<pubDate>Tue, 20 Feb 2007 15:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33410</guid>
		<description>You&#039;re looking for libgfshare. It&#039;s based on Adi Shamir&#039;s Secret Sharing algorithm (Shamir put the S in RSA). It allows you take a confidential piece of data and generate n pieces of data where any m of these n pieces are required to reassemble the original data.

Say you have a USB key, a laptop machine and a desktop machine.

You can then split up your GPG key into three parts, requiring two parts to reassemble. You put a part on each of the USB, laptop and desktop.

Whenever you need your GPG key, you plug in the USB stick and have your GPG key assembled. When you remove the USB stick, the assembled key could be deleted.

If your USB stick is stolen, the thief will have a useless piece of data and you will still have two pieces left (one on your laptop and one on your desktop) and will be able to reassemble the GPG key and create a new share set.

libgfshare was developed by Daniel Silverstone, is free software (an MIT-like license) and can be found here: http://www.digital-scurf.org/software/libgfshare 
and in the libgfshare{1,-bin} packages in Ubuntu.

I&#039;ve created a desktop daemon thing that listens for plugin events from hal waiting for a USB stick to be inserted and when that happens it searches for pieces that can be used to reconstruct certain files. It also takes care of deleting assembled file again when the USB stick is removed. It was my first python project so it&#039;s probably ugly as ****, so I&#039;ll have to clean it up a bit before I release it, but until then you can just use libgfshare as it is (there are binaries included).

Have fun!</description>
		<content:encoded><![CDATA[<p>You&#8217;re looking for libgfshare. It&#8217;s based on Adi Shamir&#8217;s Secret Sharing algorithm (Shamir put the S in RSA). It allows you take a confidential piece of data and generate n pieces of data where any m of these n pieces are required to reassemble the original data.</p>
<p>Say you have a USB key, a laptop machine and a desktop machine.</p>
<p>You can then split up your GPG key into three parts, requiring two parts to reassemble. You put a part on each of the USB, laptop and desktop.</p>
<p>Whenever you need your GPG key, you plug in the USB stick and have your GPG key assembled. When you remove the USB stick, the assembled key could be deleted.</p>
<p>If your USB stick is stolen, the thief will have a useless piece of data and you will still have two pieces left (one on your laptop and one on your desktop) and will be able to reassemble the GPG key and create a new share set.</p>
<p>libgfshare was developed by Daniel Silverstone, is free software (an MIT-like license) and can be found here: <a href="http://www.digital-scurf.org/software/libgfshare" rel="nofollow">http://www.digital-scurf.org/software/libgfshare</a><br />
and in the libgfshare{1,-bin} packages in Ubuntu.</p>
<p>I&#8217;ve created a desktop daemon thing that listens for plugin events from hal waiting for a USB stick to be inserted and when that happens it searches for pieces that can be used to reconstruct certain files. It also takes care of deleting assembled file again when the USB stick is removed. It was my first python project so it&#8217;s probably ugly as ****, so I&#8217;ll have to clean it up a bit before I release it, but until then you can just use libgfshare as it is (there are binaries included).</p>
<p>Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias Rapp</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33409</link>
		<dc:creator>Tobias Rapp</dc:creator>
		<pubDate>Tue, 20 Feb 2007 15:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33409</guid>
		<description>@Aaron:

You should not need to generate a new key (although generating sub-keys of your main key on the smartcard is preferred in the HowTos). To move the existing key to the card one might call:

&lt;code&gt;$ gpg --edit-key 0x12345678&lt;/code&gt;

and then do a

&lt;code&gt;command&gt; keytocard&lt;/code&gt;

But I must admit that I have not tested that procedure personally.

You can buy a smartcard at &lt;a href=&quot;http://www.kernelconcepts.de/products/security-en.shtml&quot; rel=&quot;nofollow&quot;&gt;Kernel Concepts&lt;/a&gt;. They also sell card readers. But if you have a lot of computers and do not want to take a USB reader with you all the time this solution can get expensive, I agree. I use my smartcard on just two computers (home, work) so that was no big problem...</description>
		<content:encoded><![CDATA[<p>@Aaron:</p>
<p>You should not need to generate a new key (although generating sub-keys of your main key on the smartcard is preferred in the HowTos). To move the existing key to the card one might call:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ gpg --edit-key 0x12345678</div></td></tr></tbody></table></div>
<p>and then do a</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">command&amp;gt; keytocard</div></td></tr></tbody></table></div>
<p>But I must admit that I have not tested that procedure personally.</p>
<p>You can buy a smartcard at <a href="http://www.kernelconcepts.de/products/security-en.shtml" rel="nofollow">Kernel Concepts</a>. They also sell card readers. But if you have a lot of computers and do not want to take a USB reader with you all the time this solution can get expensive, I agree. I use my smartcard on just two computers (home, work) so that was no big problem&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Silverstone</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33405</link>
		<dc:creator>Daniel Silverstone</dc:creator>
		<pubDate>Tue, 20 Feb 2007 14:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33405</guid>
		<description>I sat down, thought about the problem, and then researched crypto which would help.

Clearly the concerns about losing your USB key with your GPG keys on it are valid. So here&#039;s my solution

1. Using a little python and tmpfs magic, make it so that when you plug your thumbdrive into your machine it runs a script to prepare your gpg key and put it in the tmpfs.

2. Using GFShare (a library and toolset I wrote) split your key into &#039;secret shares&#039; which are then distributed around your computer, laptop and usb key.

3. Profit (or be secure, or something)

As a reference, I keep my GPG keys as a three-of-five split. One share on my desktop, one on my laptop, one on my home server, two on the usb drive.

That way, the usb drive plus any of m y machines lets me at my key, but if I lose the thumbdrive, the thief gets nothing and I can reconstruct my key with my three computers and then make a fresh set of shares, deleting the old ones to ensure the compromise cannot occur with the lost shares.

My website carries the GFShare software along with a lot of the maths explained. The codebase carries a lovely paper written in LaTeX which explains the maths behind it and goes on to prove that it&#039;s all right.

I hope your solution is as effective as this, otherwise, perhaps you should consider something like this :-) Naturally, if your idea is more clever then I&#039;d love to know it so I&#039;ll be looking again tomorrow.</description>
		<content:encoded><![CDATA[<p>I sat down, thought about the problem, and then researched crypto which would help.</p>
<p>Clearly the concerns about losing your USB key with your GPG keys on it are valid. So here&#8217;s my solution</p>
<p>1. Using a little python and tmpfs magic, make it so that when you plug your thumbdrive into your machine it runs a script to prepare your gpg key and put it in the tmpfs.</p>
<p>2. Using GFShare (a library and toolset I wrote) split your key into &#8216;secret shares&#8217; which are then distributed around your computer, laptop and usb key.</p>
<p>3. Profit (or be secure, or something)</p>
<p>As a reference, I keep my GPG keys as a three-of-five split. One share on my desktop, one on my laptop, one on my home server, two on the usb drive.</p>
<p>That way, the usb drive plus any of m y machines lets me at my key, but if I lose the thumbdrive, the thief gets nothing and I can reconstruct my key with my three computers and then make a fresh set of shares, deleting the old ones to ensure the compromise cannot occur with the lost shares.</p>
<p>My website carries the GFShare software along with a lot of the maths explained. The codebase carries a lovely paper written in LaTeX which explains the maths behind it and goes on to prove that it&#8217;s all right.</p>
<p>I hope your solution is as effective as this, otherwise, perhaps you should consider something like this <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Naturally, if your idea is more clever then I&#8217;d love to know it so I&#8217;ll be looking again tomorrow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33402</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 20 Feb 2007 14:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33402</guid>
		<description>Tobias:

A smart card is a perfect solution.  However, I don&#039;t want to use another key, but rather, just use my own.  I don&#039;t know if this is possible with the smart card or not.  Also, can I get a smart card without joining an organization?</description>
		<content:encoded><![CDATA[<p>Tobias:</p>
<p>A smart card is a perfect solution.  However, I don&#8217;t want to use another key, but rather, just use my own.  I don&#8217;t know if this is possible with the smart card or not.  Also, can I get a smart card without joining an organization?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew East</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33388</link>
		<dc:creator>Matthew East</dc:creator>
		<pubDate>Tue, 20 Feb 2007 13:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33388</guid>
		<description>Webmail over https?</description>
		<content:encoded><![CDATA[<p>Webmail over https?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33371</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Tue, 20 Feb 2007 11:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33371</guid>
		<description>Tobias:

How many computers include a smart card reader though?</description>
		<content:encoded><![CDATA[<p>Tobias:</p>
<p>How many computers include a smart card reader though?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias Rapp</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33369</link>
		<dc:creator>Tobias Rapp</dc:creator>
		<pubDate>Tue, 20 Feb 2007 11:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33369</guid>
		<description>A cite from the &lt;a href=&quot;http://www.gnupg.org/howtos/card-howto/en/smartcard-howto.html&quot; rel=&quot;nofollow&quot;&gt;GnuPG Card HowTo&lt;/a&gt;:

&lt;blockquote&gt;To work with GnuPG on different machines (private PC, at work, with laptop etc.) the secret key has to be present on every machine. Distributing the secret key to a lot of different machines does not support its secrecy. Especially at work where other people have root access on your machine it is not save to store your secret key. Starting with version 1.3.3 GnuPG supports smart cards to save your keys.&lt;/blockquote&gt;

When using a smartcard your private key will not leave the card. Thus it is perfectly suited for your needs.

So if you live in Europe just become a member of the &lt;a href=&quot;http://www.fsfe.org/&quot; rel=&quot;nofollow&quot;&gt;FSF Europe Fellowship&lt;/a&gt; and you will get such a nice smartcard to protect your privacy :-)

Else you might fetch an OpenPGP compatible card from some online store.</description>
		<content:encoded><![CDATA[<p>A cite from the <a href="http://www.gnupg.org/howtos/card-howto/en/smartcard-howto.html" rel="nofollow">GnuPG Card HowTo</a>:</p>
<blockquote><p>To work with GnuPG on different machines (private PC, at work, with laptop etc.) the secret key has to be present on every machine. Distributing the secret key to a lot of different machines does not support its secrecy. Especially at work where other people have root access on your machine it is not save to store your secret key. Starting with version 1.3.3 GnuPG supports smart cards to save your keys.</p></blockquote>
<p>When using a smartcard your private key will not leave the card. Thus it is perfectly suited for your needs.</p>
<p>So if you live in Europe just become a member of the <a href="http://www.fsfe.org/" rel="nofollow">FSF Europe Fellowship</a> and you will get such a nice smartcard to protect your privacy <img src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Else you might fetch an OpenPGP compatible card from some online store.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33365</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Tue, 20 Feb 2007 10:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33365</guid>
		<description>I wonder if you can write a gpg wrapper that actually sshs into your server and runs gpg there.  Might be tricky when there are extra file descriptors used for passphrase input from GUI apps, but ought to be doable somehow.

I use ssh + mutt personally.</description>
		<content:encoded><![CDATA[<p>I wonder if you can write a gpg wrapper that actually sshs into your server and runs gpg there.  Might be tricky when there are extra file descriptors used for passphrase input from GUI apps, but ought to be doable somehow.</p>
<p>I use ssh + mutt personally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Olsson</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33346</link>
		<dc:creator>Andreas Olsson</dc:creator>
		<pubDate>Tue, 20 Feb 2007 08:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33346</guid>
		<description>Myself I mount my homeserver:~./gnupg using sshfs. Well, it is not something I I&#039;d do from any computer, but from some which I at least kind of trust.</description>
		<content:encoded><![CDATA[<p>Myself I mount my homeserver:~./gnupg using sshfs. Well, it is not something I I&#8217;d do from any computer, but from some which I at least kind of trust.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33322</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Tue, 20 Feb 2007 05:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pthree.org/2007/02/19/my-gnupg-locality-problem/#comment-33322</guid>
		<description>I agree with Hans.  Mutt/screen/ssh</description>
		<content:encoded><![CDATA[<p>I agree with Hans.  Mutt/screen/ssh</p>
]]></content:encoded>
	</item>
</channel>
</rss>

